Skip to content
Monitoring
Hook

Hooks

What claude-carbon runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.

From plugin
claude-carbon
1553 skills2 hooks
Install
> /plugin marketplace add gwittebolle/claude-carbon
> /plugin install claude-carbon@claude-carbon

Ships with claude-carbon. Installing the plugin gets these hooks.

What fires, and when

Stop

  • ${CLAUDE_PLUGIN_ROOT}/scripts/persist-session.sh

SessionStart

Fires once when a session begins, and again after a context compaction. It is where a plugin sets up its environment, or restores state the compaction dropped.

  • ${CLAUDE_PLUGIN_ROOT}/scripts/safety-rescan.sh
Read hooks/hooks.json
Ships withclaude-carbon

Track the carbon footprint of your Claude Code sessions. 1. Install (or update): Or, if you have Node.js: Same command to install and to update to the latest version (both run the same installer). 2. Restart Claude Code.

Get the whole plugin
Stats
161
Stars
16
Forks
Active
Maintenance
Shell
Language
MIT
License
1d ago
Last commit
4mo ago
Created

Repo: gwittebolle/claude-carbon