skills: load: auto|always|manual frontmatter (on-demand vs inlined vs command-only)
This commit is contained in:
1 parent
fe40594deb
commit
8712e5f9ca
2 files changed
+76
-4
No files matched your search
@@ -69,6 +69,10 @@ description go into the system prompt; the model reads the file when a task matc
|
||||
`~/.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.
|
||||
|
||||
A `load:` frontmatter key sets when a skill reaches the model: `auto` (default, listed by description; the
|
||||
model reads it when the task matches, so write the description as "use when ..."), `always` (body inlined in
|
||||
the system prompt every turn) or `manual` (only via `/<name>`, never mentioned to the model).
|
||||
|
||||
Each skill is also a command: `/<name> [args]` sends the skill file plus `args` as the prompt. Builtin
|
||||
commands win when names collide.
|
||||
|
||||
|
||||
Reference in new issue
Block a user