skills: drop ~/.agent/skills; add project .agents/skills
This commit is contained in:
1 parent
5b056984bf
commit
1a41e71adc
3 files changed
+17
-9
No files matched your search
@@ -47,7 +47,7 @@ tests = "turn_end" # affected tests: turn_end | agent_end | off
|
||||
|
||||
Skills are `<dir>/<name>/SKILL.md` files with `name:` / `description:` frontmatter. Only the name and
|
||||
description go into the system prompt; the model reads the file when a task matches. Looked up in
|
||||
`~/.agent/skills` and `~/.agents/skills` (shared with other agents), `~/.hx/skills`, then `.hx/skills` in
|
||||
`~/.agents/skills` (shared with other agents), `~/.hx/skills`, then `.agents/skills` and `.hx/skills` in
|
||||
the project; a later directory wins when names collide. `/skills` lists what loaded and the searched dirs.
|
||||
|
||||
Each skill is also a command: `/<name> [args]` sends the skill file plus `args` as the prompt. Builtin
|
||||
|
||||
Reference in new issue
Block a user