Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions skills/agr-cli/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,11 @@ mkdir -p skills && mv my-skill skills/
agr add ./skills/my-skill # records {path = "./skills/my-skill", type = "skill"} in agr.toml
```

Iterate: edit `skills/my-skill/SKILL.md`, then
`agr add ./skills/my-skill --overwrite` to reinstall into each configured tool.
Iterate: edit `skills/my-skill/SKILL.md`, then `agr upgrade my-skill` to
reinstall the fresh on-disk copy into each configured tool and refresh
`agr.lock`. (`agr add ./skills/my-skill --overwrite` also works, but reach for
it when you've changed the dependency's path or are re-adding it — for plain
edits to an already-registered skill, `agr upgrade` is shorter and lock-aware.)

Teammates pick it up with `agr sync` after pulling. The local `path` dependency
travels with the repo, so contributors don't need network access to use it.
Expand Down
14 changes: 11 additions & 3 deletions skills/agr-cli/references/in-repo-skills.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,19 @@ for every tool in `tools`.
Edit `skills/my-skill/SKILL.md`, then reinstall:

```bash
agr add ./skills/my-skill --overwrite
agr upgrade my-skill
```

Or just `agr sync` — but `--overwrite` is more explicit when you've made local
edits.
`agr upgrade` reinstalls a fresh on-disk copy of the local skill into every
configured tool and refreshes `agr.lock` — the canonical re-sync after editing
an already-registered in-repo skill.

Alternatives:

- `agr add ./skills/my-skill --overwrite` — path-based; reach for it when the
skill's path changed or you're re-adding it, not for plain edits.
- `agr sync` — only installs what's missing, so it won't pick up edits to an
already-installed skill. Use `agr upgrade` to force the refresh.

To test ephemerally (no permanent install) on a path:

Expand Down
Loading