Repository navigation
Commit 8e33a63
committed
feat(agents): share pi-skills across every coding agent
The pi-skills repo was reachable only through a hand-made symlink into
pi's skills directory, pointing at a local checkout, so the other agents
saw none of it and nothing was reproducible on another machine.
Skills are discovered as any top-level directory holding a SKILL.md, so
adding one to the repo reaches every agent after `nix flake update
pi-skills` without touching this module. Each skill is linked on its own
because Claude Code and Codex only look one level deep; linking the repo
root would bury every skill one directory too far for them.
Claude Code and Codex are kept out of the zed skill, which only pays for
itself in the agents driven from Zed.
opencode also scans the Claude Code and Codex directories, which would
find every shared skill three times. It keys skills by name and resolves
the collision by whichever file parses last, so the reported location
flips between sessions and busts the prompt cache (anomalyco/opencode#29950).
OPENCODE_DISABLE_EXTERNAL_SKILLS confines it to its own directory.1 parent 8288b10 commit 8e33a63
3 files changed
Lines changed: 69 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
59 | 66 | | |
60 | 67 | | |
61 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
0 commit comments