Getting it into your agent
There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.
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.
[](https://agentmods.dev/commands/kevinzai/commander/ccc-setup-pm)<a href="https://agentmods.dev/commands/kevinzai/commander/ccc-setup-pm"><img src="https://agentmods.dev/badge/commands/kevinzai/commander/ccc-setup-pm/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/kevinzai/commander/ccc-setup-pm"><img src="https://agentmods.dev/badge/commands/kevinzai/commander/ccc-setup-pm.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.00043 | $0.00790 |
| Opus 5.5 | $0.00017 | $0.00316 |
| Sonnet 5.5 | $0.00009 | $0.00158 |
| Haiku 4.5 | $0.00004 | $0.00079 |
Grade A, and why
ccc-setup-pm 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.
This is a copy
100% identical to setup-pm — 106 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/ccc-setup-pm — pick the package manager
CC Commander · /ccc-setup-pm · one saved package-manager preference, project or global, confirmed by detection.
The setup script ships with the Everything Claude Code toolkit (scripts/setup-package-manager.js), an opt-in install that is absent by default.
Detection order
The first match wins:
- Environment variable
CLAUDE_PACKAGE_MANAGER - Project config
.claude/package-manager.json - The
packageManagerfield inpackage.json(for example"[email protected]") - Lock file:
package-lock.json,yarn.lock,pnpm-lock.yamlorbun.lockb - Global config
~/.claude/package-manager.json - Fallback: the first installed of pnpm, bun, yarn, npm
Both config files hold {"packageManager": "<name>"}.
What happens
-
Locate the script:
for d in "${CLAUDE_PLUGIN_ROOT:-}" "$HOME/.claude" "$HOME"/.claude/plugins/cache/everything-claude-code/*/*; do [ -n "$d" ] && [ -f "$d/scripts/setup-package-manager.js" ] && { echo "$d"; break; } doneUse the printed directory as
ECC_ROOTin later calls (shell state does not persist). If nothing prints, say the script is not installed, show the config-file format above so the user can write it by hand, and stop. -
Show the current result and what is installed:
node "<ECC_ROOT>/scripts/setup-package-manager.js" --detect node "<ECC_ROOT>/scripts/setup-package-manager.js" --list -
If
$ARGUMENTSalready names a manager and a scope (--project bun,--global pnpm), go to step 5. Otherwise ask with AskUserQuestion (Codex: a plain-text question) which manager to use, offering the installed ones from--list, the detected one first and marked 🟢. -
Ask for the scope:
- 🟢 This project — writes
.claude/package-manager.json - Global — writes
~/.claude/package-manager.jsonfor every project without its own setting - Environment only — print the export line and write nothing
- 🟢 This project — writes
-
Apply it:
node "<ECC_ROOT>/scripts/setup-package-manager.js" --project <name> node "<ECC_ROOT>/scripts/setup-package-manager.js" --global <name>
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.
- 1mo ago Changed · -6 lines · +29 tokens per session 5afcd33f58d4
- 2mo ago First seen · 81 lines · 14 tokens per session scan A 8dbfeb084c40
ccc-setup-pm is a command published in the GitHub repository KevinZai/commander (6 stars, last pushed yesterday), licensed MIT. It adds 43 tokens to every session and 790 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to setup-pm, differing in 106 lines, and is treated as a copy.
ccc-setup-pm compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ccc-setup-pmKevinZai/commander | Command | 6 | yesterday | MIT | A | 43 | Claude Code |
| loopskullninja/coco-workflow | Command | 7 | 1mo ago | MIT | A | 28 | Claude Code |
| phaseskullninja/coco-workflow | Command | 7 | 1mo ago | MIT | A | 21 | Claude Code |
| statusskullninja/coco-workflow | Command | 7 | 1mo ago | MIT | A | 17 | Claude Code |
| justone-publishGodsB1025/justone | Command | 2 | 6mo ago | MIT | A | 22 | Claude Code |
| checklistgithub/spec-kit | Command | 153k | 3d ago | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 153k | 3d ago | MIT | A | 27 | Claude Code |