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 CNaught-Inc/claude-code-plugins/plugin install carbonlogWrote 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/cnaught-inc/claude-code-plugins/uninstall)<a href="https://agentmods.dev/commands/cnaught-inc/claude-code-plugins/uninstall"><img src="https://agentmods.dev/badge/commands/cnaught-inc/claude-code-plugins/uninstall/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/cnaught-inc/claude-code-plugins/uninstall"><img src="https://agentmods.dev/badge/commands/cnaught-inc/claude-code-plugins/uninstall.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.00000 | $0.00458 |
| Opus 5.5 | $0.00000 | $0.00183 |
| Sonnet 5.5 | $0.00000 | $0.00092 |
| Haiku 4.5 | $0.00000 | $0.00046 |
Grade B, and why
uninstall 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 2mo 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. In `<projectPath>/.claude/settings.local.json`: What it actually says
/carbonlog:uninstall
Uninstall the CNaught Carbonlog plugin.
Instructions
Step 1: Confirm with the user
Use the AskUserQuestion tool to confirm: "This will remove all carbon tracking data and the plugin configuration. Continue?"
- If no: Stop here.
- If yes: Continue.
Step 2: Run the uninstall script
npx -y bun ${CLAUDE_PLUGIN_ROOT}/src/scripts/carbonlog-uninstall.ts
This removes all sessions and deletes the database.
Step 3: Clean up settings
Read ~/.claude/plugins/installed_plugins.json to find all carbonlog@cnaught-plugins entries and their projectPath values.
For each entry that has a projectPath:
- In
<projectPath>/.claude/settings.local.json:- If there is a
_carbonlogOriginalStatusLinekey, restore it as thestatusLinevalue and remove the_carbonlogOriginalStatusLinekey. - Otherwise, if the
statusLineconfig'scommandcontainscarbonlog-statuslineorstatusline-wrapper, remove thestatusLinekey. - Remove
"carbonlog@cnaught-plugins"from theenabledPluginsobject. IfenabledPluginsis empty after removal, remove the key entirely.
- If there is a
Then clean up global settings:
- In
~/.claude/settings.json: apply the same statusLine cleanup logic (restore original or remove carbonlog statusline). Remove"carbonlog@cnaught-plugins"fromenabledPlugins. - In
~/.claude/settings.local.json: remove"carbonlog@cnaught-plugins"fromenabledPluginsif present. - Remove all
carbonlog@cnaught-pluginsentries from~/.claude/plugins/installed_plugins.json.
Step 4: Confirm completion
Let the user know the uninstall is complete and that they can re-install at any time by installing the plugin and running /carbonlog:setup.
Notes
- Always use the
AskUserQuestiontool when asking the user a question with multiple choices.
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.
- 2mo ago First seen · 44 lines · 0 tokens per session scan B 2f715748728b
uninstall is a command published in the GitHub repository CNaught-Inc/claude-code-plugins (6 stars, last pushed 7mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 458 tokens. 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.
uninstall compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| uninstallCNaught-Inc/claude-code-plugins | Command | 6 | 7mo ago | Apache-2.0 | B | 0 | Claude Code |
| checklistgithub/spec-kit | Command | 148k | today | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 148k | today | MIT | A | 27 | Claude Code |
| specifygithub/spec-kit | Command | 148k | today | MIT | A | 13 | Claude Code |
| analyzegithub/spec-kit | Command | 148k | today | MIT | A | 26 | Claude Code |
| convergegithub/spec-kit | Command | 148k | today | MIT | A | 35 | Claude Code |
| implementgithub/spec-kit | Command | 148k | today | MIT | A | 14 | Claude Code |