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.
npx skills add reopt-ai/reopt-skills --skill reopt-cligit clone --depth 1 https://github.com/reopt-ai/reopt-skillsWrote 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.
[](https://agentmods.dev/skills/reopt-ai/reopt-skills/reopt-cli)<a href="https://agentmods.dev/skills/reopt-ai/reopt-skills/reopt-cli"><img src="https://agentmods.dev/badge/skills/reopt-ai/reopt-skills/reopt-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.
<a href="https://agentmods.dev/skills/reopt-ai/reopt-skills/reopt-cli"><img src="https://agentmods.dev/badge/skills/reopt-ai/reopt-skills/reopt-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00060 | $0.03301 |
| Opus 5.5 | $0.00024 | $0.01320 |
| Sonnet 5.5 | $0.00012 | $0.00660 |
| Haiku 4.5 | $0.00006 | $0.00330 |
Grade A, and why
reopt-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 28d 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.
How it starts
The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
reopt CLI
This is NOT the reopt CLI you know. Run
reopt --help/reopt <cmd> --helpfor the live command tree. The CLI ships nodist/docs/; when narrative context is needed, locate theREADME.mdfrom the actual CLI package installation or source checkout instead of assuming a localnode_modulespath.
When to apply
- Any
reoptCLI command. - Confirming login state, writing CI/CD steps around
reopt, scripting Brandapp OAuth credentials. - Load before
reopt-brandappandreopt-eav.
Step 1 — Pin agent rules into AGENTS.md / CLAUDE.md
Source: the CLI's own agent-rules file once it ships one (@reopt-ai/cli does not, as of 0.8.1 — its skills/ bundle is a different thing, see Step 4). Fallback: agent-rules.md bundled with this skill. Wrap content between:
<!-- BEGIN:reopt/cli-agent-rules -->
…content from source…
<!-- END:reopt/cli-agent-rules -->
Idempotent: replace only between markers. This same block is shared by reopt-brandapp and reopt-eav — those skills will skip the step if the block is already present.
Step 2 — Auth (consumer-side credentials; CLI docs cover usage)
The CLI has three credential systems:
- User session —
reopt login/reopt status/reopt logout. Tokens live in~/.reopt/auth.json. Session auto-refreshes inside the Better Auth extension window; do not over-engineer retry loops in CI. - Brandapp OAuth credentials —
BRANDAPP_CLIENT_ID/BRANDAPP_CLIENT_SECRETenv vars, orreopt brandapp linkinteractively. Stored in~/.reopt/credentials.json+.reopt.json(project root). - Service token (CI/CD) —
reopt token mint --ttl 15m --scope eav:migrate,eav:readprints a short-lived, scoped JWT for headless pipelines; capture withexport BRANDAPP_CLIENT_TOKEN=$(reopt token mint --quiet). Pass to the SDK as a Bearertoken— never ship aclientSecretwhere a scoped token works.
Run reopt status (or reopt status --ping) before any mutating operation. If auth: not logged in, run reopt login first.
What ships with it
3 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.
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.
- 28d ago Changed · +5 lines 99ca6c4d964c
- 2mo ago Changed · +11 lines · +4 tokens per session 35af43b9bfc0
- 3mo ago Changed 3a2c2f1ef861
- 3mo ago First seen · 100 lines · 56 tokens per session scan A 56ec66f52e4d
reopt-cli is a skill published in the GitHub repository reopt-ai/reopt-skills (1 stars, last pushed 28d ago), licensed MIT. It adds 60 tokens to every session and 3,301 once invoked, about $0.0002 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-31.
reopt-cli compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| reopt-clireopt-ai/reopt-skills | Skill | 1 | 28d ago | MIT | A | 60 | Claude Code, Codex |
| idea-refineaddyosmani/agent-skills | Skill | 123k | 3d ago | MIT | A | 75 | Claude Code |
| chinese-git-workflowjnMetaCode/superpowers-zh | Skill | 8.7k | 5d ago | MIT | A | 69 | Claude Code |
| chinese-documentationjnMetaCode/superpowers-zh | Skill | 8.7k | 5d ago | MIT | A | 62 | Claude Code |
| subagent-driven-developmentjnMetaCode/superpowers-zh | Skill | 8.7k | 5d ago | MIT | A | 21 | Claude Code |
| create-slack-appslackapi/slack-skills-plugin | Skill | 177 | yesterday | MIT | A | 101 | Claude Code |
| skill-trigger-auditorAlexZio00/sovereign-skills | Skill | 160 | 5d ago | MIT | A | 38 | Claude Code, Codex |