claude-carbon
by Gaetan Wittebolle · ★ 216 · updated today
0
Track the carbon footprint of your Claude Code sessions, in the terminal and the Claude desktop app
Install
git clone https://github.com/gwittebolle/claude-carbonclaude --plugin-dir ./claude-carbonThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startagent.spawntool.callturn.startturn.stepturn.completesession.endcommand.runui.closeui.render- API calls
$.clock.after$.clock.now$.command.register$.env.get$.fs.read$.prompt.fill$.prompt.read$.session.id$.session.surfaces$.session.usage$.settings.read$.state.get$.state.set$.store.get$.store.set$.ui.blit$.ui.close$.ui.invalidate$.ui.open$.ui.panes$.ui.resolve$.ui.status$.ui.toast- Draws
AbovePromptPaneTurnDuration- Can see
subagent spawnsAgent calls- Reach
- level 1 of 3 writes the prompt boxreads filesreads env varsreads settingsreads the prompt boxreads mod statepersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/gwittebolle/claude-carbon
- Path in repo
- repository root
- Source commit
797e021the exact code the scan read- Author
- Gaetan Wittebolle @gwittebolle
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.