agr-cli

agr-cli is a skill for Claude Code, Codex from computerlovetech/agr. It costs 147 tokens per session (3,060 once invoked), scanned A, original, MIT.

A package manager for AI-agent skills: reusable instruction folders that teach coding tools how to handle specific tasks. It works with Claude Code, Cursor, Codex, OpenCode, GitHub Copilot, and Pi.

In plain words
What is it for?
Use it to install, remove, update, run, share, and synchronize skills, set up a repository for them, or create a new skill folder.
Why use it?
It avoids manually installing and keeping the same agent skills in sync across different coding tools. It also records dependencies and versions in agr.toml and agr.lock files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Good fit Use it to install, remove, update, run, share, and synchronize skills, set up a repository for them, or create a new skill folder.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/computerlovetech/agr/agr-cli
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add computerlovetech/agr --skill agr-cli
Clone the repo
git clone --depth 1 https://github.com/computerlovetech/agr

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agr-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/computerlovetech/agr/agr-cli/github.svg)](https://agentmods.dev/skills/computerlovetech/agr/agr-cli)
Your own site
<a href="https://agentmods.dev/skills/computerlovetech/agr/agr-cli"><img src="https://agentmods.dev/badge/skills/computerlovetech/agr/agr-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agr-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/computerlovetech/agr/agr-cli"><img src="https://agentmods.dev/badge/skills/computerlovetech/agr/agr-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 147 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,060 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 5 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 4
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Excessive Agency · line 56
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 237
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Agent Snooping · line 62
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 128
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00147 $0.03060
Opus 5.5 $0.00059 $0.01224
Sonnet 5.5 $0.00029 $0.00612
Haiku 4.5 $0.00015 $0.00306

Measured 1mo ago against content hash fcf1b053b4fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agr-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/agr-cli/SKILL.md · 277 lines

How it starts

The opening of the file, as written. The whole thing — 277 lines — stays where its author put it; the contents beside it link to each section on GitHub.

agr CLI

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/.

When to use

Use this skill when the user wants to:

  • Install or remove a remote skill (agr add anthropics/skills/pdf).
  • Sync agr.toml after pulling teammates' changes (agr sync).
  • Upgrade an installed skill past its pinned commit (agr upgrade).
  • Run a skill once without persisting it (agrx ...) or invoke an installed one (agr run).
  • Scaffold a new skill (agr init my-skill) — especially as in-repo skills under skills/.
  • Set up a repo from scratch to use agr (multi-tool config, instruction syncing, sources).
  • Add a local in-repo skill to the project's dependency list.
  • Inspect, edit, or troubleshoot agr.toml / agr.lock / agr config.
  • Or whenever agr.toml is present and the user is doing resource-management work.

Do NOT use this skill for:

  • Authoring the body of a SKILL.md. This skill scaffolds and registers; for writing effective skill instructions, defer to the user or to a dedicated authoring skill such as anthropics/skills/skill-creator.
  • Iterating on an existing skill based on session feedback or a retrospective. 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.

Prerequisites

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.

Mental model — read first

  • A skill is a folder containing a SKILL.md. agr copies the whole folder into each configured AI tool's skills directory (.claude/skills/, .cursor/skills/, .opencode/skills/, .agents/skills/, etc.).
  • A handle identifies a remote skill: user/skill (assumes a repo named skills), user/repo/skill (any repo), or ./local/path (on disk).
  • agr.toml is the manifest (hand-edited or written by agr add). agr.lock is the lockfile (auto-generated, pins commit SHAs and content hashes — never edit by hand).
  • Project-local vs global scope: every command takes -g to operate on ~/.agr/agr.toml and global tool dirs.
  • agr sync only installs missing deps. To move past a pinned commit, use agr upgrade.
  • Resource types: skill (consumed by AI tools), ralph (autonomous agent loop), package (a folder with its own agr.toml, expanded transitively). agr add auto-detects the type.

Read the full file on GitHub · 277 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 277 lines · 147 tokens per session scan A fcf1b053b4fa

Subscribe to this mod's changes

agr-cli is a skill published in the GitHub repository computerlovetech/agr (452 stars, last pushed 2mo ago), licensed MIT. It adds 147 tokens to every session and 3,060 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.