All shelves / Mods / Usage
claude-carbon
By gwittebolle
claude-carbon is a Claude Code usage mod by gwittebolle.
Draws the CO2 of each answer and a pane with a pixel molecule colored against your past sessions, plus this session's total under the prompt.
Draws
Install
The marketplace name is claude-carbon.
/plugin install claude-carbon --marketplace gwittebolle/claude-carbonIt runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 1.16.0
- License
- MIT
- Repo stars
- 214
- Last change
- 2026-10-16
What it can reach
- Draws in the session
- Reads usage or context figures
Mods need Claude Code 2.1.287 or later (2.1.286 in the desktop app). The author says this plugin command gives the mod and the slash commands, but no status line and no database, and that the mod writes no database, starts no process, and makes no network call. /carbon-panel opens the pane. The fuller installer is curl -fsSL https://raw.githubusercontent.com/gwittebolle/claude-carbon/main/install.sh | bash, which also sets up the status line and the database. That status line reads the 5-hour quota from Anthropic's /api/oauth/usage. /carbon-card uses Chrome or Edge.
The plugin install and the curl installer are two copies. The author says to pick one, or the hooks run twice.
Demo

What it hooks into
session.startWhen a session startsagent.spawnWhen a subagent startstool.callAround a tool call, where it can hold oneAgentturn.startWhen Claude starts a turnturn.stepAt each step of a turnturn.completeWhen a turn endssession.endWhen a session endscommand.runWhen you run its slash commandui.closeWhen its pane closesui.renderDraws into the sessionAbovePromptPaneTurnDuration
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Hooks 4
Stop"${CLAUDE_PLUGIN_ROOT}/scripts/persist-session.sh"SessionEnd"${CLAUDE_PLUGIN_ROOT}/scripts/persist-on-exit.sh"SubagentStop · .+"${CLAUDE_PLUGIN_ROOT}/scripts/agent-stop.sh"SessionStart"${CLAUDE_PLUGIN_ROOT}/scripts/safety-rescan.sh"
Files
The author's README and source, 4 files. They load when you open them.
Facts
- Author
- gwittebolle
- Category
- Usage
- Marketplace
- claude-carbon
- Version
- 1.16.0
- License
- MIT
- Repo stars
- 214
- Last change
- 2026-10-16
- Language
- Shell
- Files
- 111