agr-release
Release process for the agr package. Handles version bumping (major/minor/patch/beta), changelog updates, pre-release quality checks, git tagging, and…
Install, share, sync, and create AI agent skills across coding tools (Claude Code, Cursor, Codex, OpenCode, Copilot, Pi) using the agr CLI. Use whenever the user mentions agr, agr.toml, agr.lock, agrx, or asks to: add a skill ("install the pdf skill", "agr add ..."), sync agent
$ npx -y skills add computerlovetech/agr --skill agr-cli --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/agr-cliContext preview
The summary Claude sees to decide when to auto-load this skill.
Install, share, sync, and create AI agent skills across coding tools (Claude Code, Cursor, Codex, OpenCode, Copilot, Pi) using the agr CLI. Use whenever the user mentions agr, agr.toml, agr.lock, agrx, or asks to: add a skill ("install the pdf skill", "agr add ..."), sync agent
name: agr-cli
description: >
Install, share, sync, and create AI agent skills across coding tools (Claude
Code, Cursor, Codex, OpenCode, Copilot, Pi) using the agr CLI. Use
whenever the user mentions agr, agr.toml, agr.lock, agrx, or asks to: add a
skill ("install the pdf skill", "agr add ..."), sync agent resources across
tools, share skills with their team, scaffold a new SKILL.md, run a skill
ephemerally (agrx), set up a repo to manage AI agent dependencies, or
configure tools/sources/instruction-syncing. Also use whenever an agr.toml
or agr.lock is present in the project and the user is doing
resource-management work.agr is the package manager for AI agent skills. It installs, shares, and syncs SKILL.md folders across Claude Code, Cursor, Codex, OpenCode, GitHub Copilot, and Pi. This skill helps you operate the `agr` CLI on the user's behalf — set up new repos, install and sync skills, manage `agr.toml` / `agr.lock`, and scaffold in-repo skills under `skills/`.
Use this skill when the user wants to:
Do NOT use this skill for:
writing effective skill instructions, defer to the user or to a dedicated authoring skill such as `anthropics/skills/skill-creator`.
That's a separate workflow — listen, propose, edit, commit, re-install. If the user has a dedicated debrief / improvement skill installed (e.g. `skill-debrief`), use it; otherwise just do the workflow directly.
Before running anything, verify agr is installed:
agr --version
If missing, the standard install is `uv tool install agr`. **Do not install agr without checking with the user first** — they may prefer pipx, brew, or a pinned version in CI.
into each configured AI tool's skills directory (`.claude/skills/`, `.cursor/skills/`, `.opencode/skills/`, `.agents/skills/`, etc.).
`skills`), `user/repo/skill` (any repo), or `./local/path` (on disk).
`agr.lock` is the **lockfile** (auto-generated, pins commit SHAs and content hashes — never edit by hand).
`~/.agr/agr.toml` and global tool dirs.
`agr upgrade`.
agent loop), **package** (a folder with its own `agr.toml`, expanded transitively). `agr add` auto-detects the type.
For the full conceptual model: [references/handles.md](references/handles.md).
When the user wants to start using agr in a project that has none configured:
1. Run `agr init`. agr auto-detects which AI tools the repo uses (`.claude/`, `CLAUDE.md`, `.cursor/`, `.cursorrules`, `.codex/`, `.opencode/`, `.github/copilot-instructions.md`, `.pi/`, `.agents/`) and writes `agr.toml`. 2. Confirm or adjust the detected tools. For multi-tool: `agr config set tools claude codex opencode`. 3. If the user maintains a canonical instruction file (e.g. `CLAUDE.md`) and wants it mirrored to others (`AGENTS.md`), enable instruction syncing: `agr config set sync_instructions true` then `agr config set canonical_instructions CLAUDE.md`. 4. Commit `agr.toml`. (`agr.lock` will appear after the first `agr add` or `agr sync` — commit it too.)
Full details: [references/setup.md](references/setup.md).
agr add anthropics/skills/pdf
Notes:
batched into one download).
For handle formats and private repos: [references/handles.md](references/handles.md) and [references/installing-skills.md](references/installing-skills.md).
Place project-specific skills under `skills/` at the repo root (or at the root of a relevant submodule). This keeps the skill in version control, reviewable in PRs, and sharable across the team via `agr.toml`.
agr init my-skill # scaffolds my-skill/SKILL.md in CWD
mkdir -p skills && mv my-skill skills/
agr add ./skills/my-skill # records {path = "./skills/my-skill", type = "skill"} in agr.tomlIterate: 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 package manager for AI agents. For teams who want to manage agent skills like software packages — the way npm, PyPI, and uv manage code.
Release process for the agr package. Handles version bumping (major/minor/patch/beta), changelog updates, pre-release quality checks, git tagging, and…
Debrief an AI agent skill (SKILL.md) after using it — capture session feedback or a retrospective and fold it back into the skill. Use whenever the user says:…