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
2336 skills4 hooks

Claude Code

> /plugin marketplace add gwittebolle/claude-carbon
> /plugin install claude-carbon@claude-carbon

What fires, and when

Stop

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

SessionEnd

  • "${CLAUDE_PLUGIN_ROOT}/scripts/persist-on-exit.sh"

SubagentStop

  • Matches.+"${CLAUDE_PLUGIN_ROOT}/scripts/agent-stop.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
@gwittebolle
Ships withclaude-carbon

Track the carbon footprint of your Claude Code sessions, in the terminal and the Claude desktop app

Stars on GitHub

Momentum

stars in total
233
Star history of gwittebolle/claude-carbon on GitHub, a chart by star-history.com

More plugins that ship hooks.

callme

callme

Lets Claude Code call your phone when a task finishes, gets stuck, or needs a decision, so you can start a task and step away. Works with a phone or watch.

1 skill1 hook2.7k
@zeframlou@zeframlou
Install Plugin
claude-notifications-go

claude-notifications-g…

Sends desktop alerts with sounds and webhooks when Claude Code needs your attention or reaches a milestone during long-running work. Clicking a notification brings the matching window back into focus, on macOS, Linux, and Windows.

1 skill+2823
@777genius@777genius
Install Plugin
agents-observe

agents-observe

A real-time dashboard for watching Claude Code and Codex agent sessions, with filtering, search, session replay and token usage stats. Includes an observe skill for managing the dashboard and its server.

1 skill+2716
@simple10@simple10
Install Plugin
agent-office

agent-office

A pixel art virtual office that visualizes your AI agents working in real-time. Watch Claude Code agents spawn, sit at desks, take coffee breaks, and chat in a Slack-inspired office chat panel, all rendered in an isometric pixel art office.

19 hooks+1311
@w17ant@w17ant
Install Plugin

Questions about the hooks in claude-carbon.

Which coding agents can use the hooks in claude-carbon?
The hooks in claude-carbon install in Claude Code and Cursor: each runs Claude Code hooks from .claude/settings.json, so copy the hooks there.