File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,8 +125,11 @@ mkdir -p skills && mv my-skill skills/
125125agr add ./skills/my-skill # records {path = "./skills/my-skill", type = "skill"} in agr.toml
126126```
127127
128- Iterate: edit ` skills/my-skill/SKILL.md ` , then
129- ` agr add ./skills/my-skill --overwrite ` to reinstall into each configured tool.
128+ Iterate: edit ` skills/my-skill/SKILL.md ` , then ` agr upgrade my-skill ` to
129+ reinstall the fresh on-disk copy into each configured tool and refresh
130+ ` agr.lock ` . (` agr add ./skills/my-skill --overwrite ` also works, but reach for
131+ it when you've changed the dependency's path or are re-adding it — for plain
132+ edits to an already-registered skill, ` agr upgrade ` is shorter and lock-aware.)
130133
131134Teammates pick it up with ` agr sync ` after pulling. The local ` path ` dependency
132135travels with the repo, so contributors don't need network access to use it.
Original file line number Diff line number Diff line change @@ -84,11 +84,19 @@ for every tool in `tools`.
8484Edit ` skills/my-skill/SKILL.md ` , then reinstall:
8585
8686``` bash
87- agr add ./skills/ my-skill --overwrite
87+ agr upgrade my-skill
8888```
8989
90- Or just ` agr sync ` — but ` --overwrite ` is more explicit when you've made local
91- edits.
90+ ` agr upgrade ` reinstalls a fresh on-disk copy of the local skill into every
91+ configured tool and refreshes ` agr.lock ` — the canonical re-sync after editing
92+ an already-registered in-repo skill.
93+
94+ Alternatives:
95+
96+ - ` agr add ./skills/my-skill --overwrite ` — path-based; reach for it when the
97+ skill's path changed or you're re-adding it, not for plain edits.
98+ - ` agr sync ` — only installs what's missing, so it won't pick up edits to an
99+ already-installed skill. Use ` agr upgrade ` to force the refresh.
92100
93101To test ephemerally (no permanent install) on a path:
94102
You can’t perform that action at this time.
0 commit comments