Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/KevinZai/commandernpx agentmods add skills/kevinzai/commander/ccc-settingsWrote 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/kevinzai/commander/ccc-settings)<a href="https://agentmods.dev/skills/kevinzai/commander/ccc-settings"><img src="https://agentmods.dev/badge/skills/kevinzai/commander/ccc-settings/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/kevinzai/commander/ccc-settings"><img src="https://agentmods.dev/badge/skills/kevinzai/commander/ccc-settings.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.00066 | $0.04166 |
| Opus 5.5 | $0.00026 | $0.01666 |
| Sonnet 5.5 | $0.00013 | $0.00833 |
| Haiku 4.5 | $0.00007 | $0.00417 |
Grade D, and why
ccc-settings scanned grade D with 2 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 11d 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.
- Use to change Commander preferences in `<config dir>/commander/config.json` (`~/.claude/commander/config.json` by default; the config dir is `CCC_CONFIG_DIR`, then `CLAUDE_CONFIG_DIR`, then `~/.claude`; until the lane Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
2. "Delete permanently": run `rm -rf "$base/sessions/" "$base/knowledge/"` (with `base` set as in the archive block) (a missing folder is not an error). How it starts
The opening of the file, as written. The whole thing — 268 lines — stays where its author put it; the contents beside it link to each section on GitHub.
$ccc-settings — Commander and Claude Code settings
CC Commander · $ccc-settings · see current values → pick one → confirm → write with backup → read back
Placeholders like ~~project tracker refer to connected tools. See CONNECTORS.md.
When to use / when not to
- Use to change Commander preferences in
<config dir>/commander/config.json(~/.claude/commander/config.jsonby default; the config dir isCCC_CONFIG_DIR, thenCLAUDE_CONFIG_DIR, then~/.claude; until the lane has its own copy, read the~/.claude/commander/config.jsoncopy and write to the lane), or the Claude Code settings this skill covers in user (~/.claude/settings.json) or project (.claude/settings.json) settings: permission mode, effort, model restrictions, workflow size. - Not for switching the current model: that is
/modelin the session, and the user's selected model is preserved. - Not for cleanup or missing structural keys:
$ccc-tuneup. Not for unattended permission setups:$ccc-yolo-setup. $ARGUMENTSjumps straight to one setting (theme,effort,mode, …);linearruns only the Linear flow;--power(orall) opens the full menu.- In Codex, ask each picker as a plain-text question with the same options. The Claude Code settings in Step 4 do not apply to Codex; say so and point to
~/.codex/config.tomlkeysmodel_reasoning_effort,approval_policyandsandbox_modeinstead.
What happens
1. Read current values
CCC_STATE="${CCC_CONFIG_DIR:-${CLAUDE_CONFIG_DIR:-$HOME/.claude}}/commander"
CFG="$CCC_STATE/config.json"; [ -e "$CFG" ] || CFG="$HOME/.claude/commander/config.json"
cat "$CFG" 2>/dev/null || echo '{}'
node -e '
const fs=require("fs"),p=require("path");
const files={user:p.join(process.env.HOME,".claude/settings.json"),project:".claude/settings.json"};
for(const [layer,f] of Object.entries(files)){let j={};try{j=JSON.parse(fs.readFileSync(f,"utf8"))}catch(e){}
const pick={defaultMode:(j.permissions||{}).defaultMode,effortLevel:j.effortLevel,availableModels:j.availableModels,availableModelsMatch:j.availableModelsMatch,deniedModels:j.deniedModels,workflowSizeGuideline:j.workflowSizeGuideline,workflowSubagentModel:(j.env||{}).CLAUDE_CODE_WORKFLOW_SUBAGENT_MODEL};
console.log(layer+": "+JSON.stringify(pick));}'
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.
- 11d ago Changed 8b3a63baa599
- 1mo ago Changed · +2 lines · +1 tokens per session 791ebc969ac3
- 1mo ago Changed · +3 lines b547ac80f90d
- 1mo ago Changed · +149 lines · +27 tokens per session 6769b899aedd
- 2mo ago First seen · 114 lines · 38 tokens per session scan D 8e794f6d2beb
ccc-settings is a skill published in the GitHub repository KevinZai/commander (6 stars, last pushed yesterday), licensed MIT. It adds 66 tokens to every session and 4,166 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it D with 2 findings (reads agent configuration directories, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
ccc-settings compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ccc-settingsKevinZai/commander | Skill | 6 | yesterday | MIT | D | 66 | Claude Code, Codex |
| memstack-automation-n8n-workflow-buildercwinvestments/memstack | Skill | 433 | 18d ago | MIT | A | 68 | Claude Code |
| memstack-automation-cron-schedulercwinvestments/memstack | Skill | 433 | 18d ago | MIT | B | 67 | Claude Code |
| search-firstLeeYudok/agents-scaffold | Skill | 40 | today | MIT | A | 99 | Claude Code |
| debt-ops-initbcanfield/agentic-tech-debt | Skill | 9 | yesterday | MIT | A | 76 | Claude Code, Codex |
| knowledgebaseandisab/swe-marketplace | Skill | 23 | 2d ago | MIT | A | 210 | Claude Code |
| scout-respondRaven-Scout/Scout | Skill | 20 | today | MIT | A | 24 | Claude Code |