zed/crates/agent/src
MartinYe1234 7103c8c8e6
Allow agent tools to edit global skills (#57678)
Summary

- Allow write_file and edit_file to create or modify files under
~/.agents/skills.
- Keep the global skills exception constrained to that directory and
preserve existing project-path behavior.
- Document global skill file editing support in the built-in
create-skill instructions.

Tests

- cargo fmt -p agent
- cargo test -p agent global_skill_file
- cargo test -p agent
test_create_directory_allows_global_skill_directory

Release Notes:

- Fixed agent file editing for global skills

---------

Co-authored-by: Richard Feldman <oss@rtfeldman.com>
2026-05-26 20:16:43 +00:00
..
templates agent: Add experimental update title tool (#57395) 2026-05-21 12:25:34 +00:00
tests agent: Make messages vec cheap to clone (#57712) 2026-05-26 10:00:34 +00:00
tools Allow agent tools to edit global skills (#57678) 2026-05-26 20:16:43 +00:00
agent.rs agent: Make messages vec cheap to clone (#57712) 2026-05-26 10:00:34 +00:00
db.rs agent: Make messages vec cheap to clone (#57712) 2026-05-26 10:00:34 +00:00
legacy_thread.rs Remove Burn Mode code (#46950) 2026-01-15 21:28:33 +00:00
native_agent_server.rs Don't block thread creation when PromptStore fails to initialize (#52333) 2026-04-24 12:32:28 +00:00
outline.rs Prefix read_file tool output with line numbers (#56779) 2026-05-22 15:02:17 +00:00
pattern_extraction.rs agent: Stop over-escaping dashes in tool_permissions regex patterns (#51603) 2026-04-28 21:57:41 +00:00
templates.rs agent: Add experimental update title tool (#57395) 2026-05-21 12:25:34 +00:00
thread.rs agent: Make messages vec cheap to clone (#57712) 2026-05-26 10:00:34 +00:00
thread_store.rs Revert "Rename agent threads from the sidebar" (#57654) 2026-05-25 15:45:10 +00:00
tool_permissions.rs agent: Allow specifying which model is used for subagents (#56203) 2026-05-08 17:06:02 +00:00
tools.rs agent: Add experimental update title tool (#57395) 2026-05-21 12:25:34 +00:00
user_agents_md.rs Load global AGENTS.md into native agent system prompt (#56757) 2026-05-14 15:02:33 +00:00