Home / Claude Code mods / Interface / claude-carbon

claude-carbon

claude-carbon is a Claude Code mod by gwittebolle that track the carbon footprint of your Claude Code sessions, in the terminal and the Claude desktop app.

Updated 2026-11-30

What is claude-carbon?

claude-carbon is a Claude Code mod by gwittebolle that track the carbon footprint of your Claude Code sessions, in the terminal and the Claude desktop app. It is listed under Interface and has 259 GitHub stars.

TypeClaude code mod
Authorgwittebolle
Repositorygwittebolle/claude-carbon
Popularity259 GitHub stars
CategoryInterface
SecurityHigh risk (53/100)
Rank#157 of 9,397 Claude Code mods; #54 in Interface
LicenseMIT
Last commit2026-11-30
Stars this week+5
Hooks10 events
SeesAgent calls, subagent spawns
Draws onAbovePrompt, Pane, TurnDuration

Is claude-carbon safe to install?

claude-carbon scores 53/100 on the MCPMods security check: High risk. Things to review: reads environment variables; validator reported problems. It passed 6 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsFlag
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.after
$.clock.now
$.command.register
$.env.getreads env vars
$.fs.readreads files
$.prompt.fillwrites the prompt box
$.prompt.read
$.session.id
$.session.surfaces
$.session.usage
$.settings.readreads settings
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.blitdraws interface
$.ui.closedraws interface
$.ui.invalidatedraws interface
$.ui.opendraws interface
$.ui.panesdraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install claude-carbon?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/gwittebolle/claude-carbon
    claude plugin validate ./claude-carbon/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/gwittebolle/claude-carbon && claude --plugin-dir ./claude-carbon/.

Or ask Claude to set it up

Paste this into Claude Code and it installs claude-carbon for you:

Install the "claude-carbon" Claude Code mod from https://github.com/gwittebolle/claude-carbon. Run claude plugin validate on it first and show me what it can access before you enable it.