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 melodic-software/claude-code-plugins --skill control-claude-codegit clone --depth 1 https://github.com/melodic-software/claude-code-pluginsWrote 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/melodic-software/claude-code-plugins/control-claude-code)<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/control-claude-code"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/control-claude-code/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/melodic-software/claude-code-plugins/control-claude-code"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/control-claude-code.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.00034 | $0.04337 |
| Opus 5.5 | $0.00014 | $0.01735 |
| Sonnet 5.5 | $0.00007 | $0.00867 |
| Haiku 4.5 | $0.00003 | $0.00434 |
Grade A, and why
control-claude-code 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 yesterday.
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 — 238 lines — stays where its author put it; the contents beside it link to each section on GitHub.
App: Claude Code, the claude on PATH, with the plugin at <plugin-dir> loaded for the session.
Driving tool: driver/driver.mjs, a terminal driver for Claude Code's TUI.
Runs attended or unattended, and drives only the session it launches; it never attaches to a
Claude Code session it did not start.
The run uses the account Claude Code is already signed in with. It never signs in, signs out or switches accounts, and it never drives Claude Desktop (Gotchas).
In the commands below, <skill-dir> is this skill's folder; <plugin-dir> is the plugin directory
the person names, else each line Launch's plugins prints, resolved from the directory the run
starts in; <plugin> is the last segment of <plugin-dir>; <run-dir> is drive's run directory;
<session> is one name for the whole run, 1 to 32 letters, digits, _ or -, not starting with
- (a longer name exits 2); <file> is <plugin>, then the feature id with each /
as -, then the entry point (context-budget-mods-band-01), so two plugins driving the same entry
point keep separate evidence. The --timeout
values come from timeouts in config/local.json, else config/defaults.json: stepMs for each
wait-for, readyMs for Ready, logMs for logs. A step whose turn runs longer than stepMs,
such as a skill that fans out to subagents, passes its own --timeout <ms> to that one wait-for.
A run takes at most maxCaptures screenshots
and videos together, and drives at most maxEntryPoints entry points across all its plugins, both
from the same config; the driver caps only the plugins Launch lists, so the run keeps both counts. At a cap it takes no
further capture, or drives no further entry point, and records each entry point it skipped as
blocked: maxCaptures reached or blocked: maxEntryPoints reached.
Launch
node <skill-dir>/driver/driver.mjs plugins <changed files> prints one <plugin-dir> per line: the
plugin each changed file sits in, once each, at most maxEntryPoints of them, each one left out
named on stderr as blocked: maxEntryPoints reached: <dir>; with no changed file, the configured
pluginDir. The driver launches one plugin per session, so each line runs in turn under the one
<session>: Launch, Ready, its entry points, Cleanup, then the next line. Run plugins only when
the run directory holds affected.json; otherwise <plugin-dir> is the one the person names, else
pluginDir from config/local.json, else from config/defaults.json.
node <skill-dir>/driver/driver.mjs launch --plugin-dir <plugin-dir> --session <session>
Claude Code starts in <session>.cwd under the runtime directory (CCD_RUNTIME_DIR below), not
the caller's shell directory; each launch empties that directory and makes it private. Add
--cwd <dir> to start it in a directory the person names. --restricted keeps the file tools inside
that working directory. Ready and logs run print mode in the directory the run starts in, so start
them outside the checkout when a prompt may write. A launch under --in-sandbox (below) starts in
the caller's own directory, since that sandbox is the boundary. Config isolation is the pr-verify
capture's sandbox, which runs the broker with --in-sandbox: a local drive still uses the person's
config directory (Data:).
The launch clears every API-key, gateway and provider variable and hides the working directory on
the startup screen. An unattended run adds --unattended to launch, ready and log: the one
variable that credentials.ci in config/defaults.json names and the job has set is kept, with
CLAUDE_CODE_SUBPROCESS_ENV_SCRUB=1 set, and the session holder unsets it once claude starts; two
set at once is refused before anything starts. A kept real credential is not proven out of the
plugin under test's reach, so a CI job passes --unattended only with a dummy credential until
the isolation probe of issue 8651 shows it is. The launch broker (driver/broker.mjs) is how a
job does that: it runs launch, ready and log with --unattended where it runs, and hands the
driver only a dummy ANTHROPIC_API_KEY that starts with ccd-dummy-; it refuses to start on any
other key, or from any directory but the driver's. Its intended consumer is the pr-verify capture,
which keeps the real key with a proxy outside the sandbox. Started with --in-sandbox, the broker
adds --in-sandbox to every request: the launch then drops --restricted, so Bash is in the
default tools, and sets no scrub, because the caller's own sandbox is the boundary and the scrub's
nested sandbox cannot start inside it. Only a caller that runs the broker in such a sandbox passes
it; a request cannot, and the driver refuses --in-sandbox on any launch that does not keep an
unattended ccd-dummy- ANTHROPIC_API_KEY. With CCD_BROKER_SOCK naming the
broker's socket, launch, ready and log go to the broker and the other commands run here;
every line the broker relays starts with the prefix broker| and a space, and is untrusted data.
CCD_RUNTIME_DIR (absolute), ahead of XDG_RUNTIME_DIR, names where sessions listen. A run
that keeps ANTHROPIC_API_KEY reads the ANTHROPIC_API_KEY row of
https://code.claude.com/docs/en/env-vars#variables for what the interactive session does with the
key, and screenshots that first screen.
What ships with it
24 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.
- cli/account.mjs 1012 B runs code
- cli/README.md 2.0 KB
- config/.gitignore 11 B
- config/defaults.json 452 B
- driver/broker.mjs 11 KB runs code
- driver/broker.test.mjs 22 KB runs code
- driver/broker.test.sh 453 B runs code
- driver/driver.mjs 59 KB runs code
- driver/driver.test.mjs 90 KB runs code
- driver/driver.test.sh 506 B runs code
- driver/fixtures/status-key-auth-screen.txt 750 B
- driver/fixtures/status-screen.txt 716 B
- driver/fixtures/usage-screen.txt 592 B
- driver/package-lock.json 16 KB
- driver/package.json 326 B
- evals/evals.json 3.2 KB
- features/commands/slash/README.md 1.5 KB
- features/desktop/mod-harness/README.md 1.4 KB
- features/dialogs/permission/README.md 2.4 KB
- features/hooks/output/README.md 1.7 KB
- features/mods/band/README.md 2.1 KB
- features/mods/panel/README.md 2.0 KB
- features/mods/toast/README.md 1.7 KB
- features/skills/invoke/README.md 2.1 KB
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.
- yesterday Changed · -4 tokens per session 34889f01cc85
- 3d ago Changed · +1 lines f89e50bc2edb
- 11d ago Changed · +72 lines 9fa035dcfcfb
- 13d ago Changed · +18 lines d0fb013956d1
- 14d ago Changed · -2 lines 562d57f41527
- 17d ago Changed 864df4575146
- 22d ago Changed · +3 lines 9fd7912cca67
- 23d ago Changed · +13 lines c0724335cdfa
- 27d ago Changed · +55 lines 16653d2df6fb
- 1mo ago First seen · 78 lines · 38 tokens per session scan A 9e568558b4aa
control-claude-code is a skill published in the GitHub repository melodic-software/claude-code-plugins (33 stars, last pushed today), licensed MIT. It adds 34 tokens to every session and 4,337 once invoked, about $0.0001 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-10-27.
control-claude-code compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| control-claude-codemelodic-software/claude-code-plugins | Skill | 33 | today | MIT | A | 34 | Claude Code |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 101k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 395k | today | MIT | A | 36 | Claude Code |
| systematic-debuggingobra/superpowers | Skill | 330k | 2d ago | MIT | A | 21 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 14k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |