Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add PeterCha90/CAP/plugin install capWrote 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/commands/petercha90/cap/setup)<a href="https://agentmods.dev/commands/petercha90/cap/setup"><img src="https://agentmods.dev/badge/commands/petercha90/cap/setup/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/commands/petercha90/cap/setup"><img src="https://agentmods.dev/badge/commands/petercha90/cap/setup.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.00008 | $0.00192 |
| Opus 5.5 | $0.00003 | $0.00077 |
| Sonnet 5.5 | $0.00002 | $0.00038 |
| Haiku 4.5 | $0.00001 | $0.00019 |
Grade B, and why
setup scanned grade B with 1 finding 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 3mo 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
1. Read `~/.claude/settings.json` (or `$CLAUDE_CONFIG_DIR/settings.json`) What it actually says
Setup Usage HUD
Instructions
- Read
~/.claude/settings.json(or$CLAUDE_CONFIG_DIR/settings.json) - Check if
statusLine.commandcontainsusage-hud - If not configured:
- Back up existing
statusLineto_statusLine_backup - Set
statusLineto{ "type": "command", "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/usage-hud.mjs" } - Save settings.json
- Back up existing
- Verify OAuth token is accessible (macOS Keychain or credentials file)
- Report status and tell user to restart Claude Code if changes were made
Output
Report:
- ✅ or ❌ statusLine configuration
- ✅ or ❌ OAuth token found
- ✅ or ❌ usage-hud.mjs exists at plugin path
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.
- 3mo ago First seen · 24 lines · 8 tokens per session scan B f6f8cb85ca78
setup is a command published in the GitHub repository PeterCha90/CAP (11 stars, last pushed 6mo ago), licensed MIT. It adds 8 tokens to every session and 192 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
setup compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| setupPeterCha90/CAP | Command | 11 | 6mo ago | MIT | B | 8 | Claude Code |
| landgmickel/flow-next | Command | 735 | yesterday | MIT | A | 13 | Claude Code |
| syncgmickel/flow-next | Command | 735 | yesterday | MIT | A | 15 | Claude Code |
| analyze-contextRohiRIK/OpenLtm | Command | 31 | yesterday | MIT | A | 39 | Claude Code |
| uninstallgmickel/flow-next | Command | 735 | yesterday | MIT | C | 9 | Claude Code |
| me-figure-discussionhanhuark/mechanical-engineering-research-skill | Command | 27 | 5d ago | MIT | A | 21 | Claude Code |
| logindashpot4/grok-plugin-for-claude | Command | 4 | 1mo ago | Apache-2.0 | A | 12 | Claude Code |