skills: also load ~/.agent/skills
This commit is contained in:
1 parent
3cc2192af7
commit
d993292c99
2 files changed
+53
-3
No files matched your search
@@ -41,6 +41,13 @@ tests = "turn_end" # affected tests: turn_end | agent_end | off
|
||||
# install = ["brew", "install", "zls"] # offered by the lsp tool when `zls` is missing
|
||||
```
|
||||
|
||||
## Skills
|
||||
|
||||
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` (shared with other agents), `~/.hx/skills`, then `.hx/skills` in the project; a later
|
||||
directory wins when names collide.
|
||||
|
||||
## Lens
|
||||
|
||||
After every tool round, hx asks the language server about files the agent wrote or edited and appends
|
||||
|
||||
Reference in new issue
Block a user