Codecarbon
Codecarbon tracks emissions from compute resources and recommends ways to reduce their environmental impact
- •When developing AI models that require significant computational resources
- •When trying to reduce the carbon footprint of your data center or cloud infrastructure
- •When needing to estimate and report the environmental impact of your AI projects
from codecarbon import EmissionsTracker; tracker = EmissionsTracker(); tracker.start(); # your compute-intensive code; tracker.stop(); emissions = tracker.calculate(); print(emissions)
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Works after you add credentials — the setup agent will ask you for them.
mkdir -p ~/.claude/skills/codecarbon && curl -fsSL https://workflowstacks.com/api/skills/codecarbon/claude-skill -o ~/.claude/skills/codecarbon/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Codecarbon is a large Python project (~31k lines across 284 code files, plus 129 test files). Setup is light: installs like a normal app — add your API keys. Reading the code is optional. Last commit this month, MIT license, has a test suite.
- 1README.mdStart here — what it does and how to install it
- 2AGENTS.mdThe instructions the AI actually follows
- 3carbonserver/main.pyWhere the program starts running
- 4pyproject.tomlDependencies and the commands it exposes
- 5.env.exampleThe API keys and settings you must provide
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Works after you add credentials — the setup agent will ask you for them.
mkdir -p ~/.claude/skills/codecarbon && curl -fsSL https://workflowstacks.com/api/skills/codecarbon/claude-skill -o ~/.claude/skills/codecarbon/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Are you the creator of this tool? Claim your listing → and earn 85% of every sale.
Related skills
More ai-agent tools founders pair with this one.