cost tracking hooks

46 tagged cost tracking, measured the same way as everything else here.

Browse within: token-tracking 24local-first 22claude-plugin 8dashboard 5

PostToolUse

01

mnfst/manifest

Hook Claude Code

Runs after a tool call finishes for Write and Edit tool calls, executing check-design-tokens.mjs. From mnfst/manifest.

7.5k 4d ago A tokens not measured original MIT

PreToolUse

02

mudrii/openclaw-dashboard

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From mudrii/openclaw-dashboard.

454 8d ago A tokens not measured original MIT

PreToolUse

03

VasiHemanth/tokentelemetry

Hook Claude Code

Runs before the agent uses a tool for Bash, Write, Edit, MultiEdit and NotebookEdit tool calls, executing enforce-update-json.py, prepush-claude-review.py and protect-sensitive-files.py (3 commands). From VasiHemanth/tokentelemetry.

340 +5 today A tokens not measured copy · 50% MIT

UserPromptSubmit

05

Beezi-AI/beezi-claude-plugin

Hook

Runs when you submit a prompt, before the agent sees it, running node (2 commands). From Beezi-AI/beezi-claude-plugin.

62 11d ago A tokens not measured

PostToolUse

06

Beezi-AI/beezi-claude-plugin

Hook

Runs after a tool call finishes for Bash tool calls, running node (2 commands). From Beezi-AI/beezi-claude-plugin.

62 11d ago A tokens not measured

ConfigChange

07

superbasedapp/observer

Hook

Runs on the ConfigChange event, running observer hook claude-code config-change. From superbasedapp/observer.

40 6d ago A tokens not measured

InstructionsLoaded

08

superbasedapp/observer

Hook

Runs after instructions files are loaded, running observer hook claude-code instructions-loaded. From superbasedapp/observer.

40 6d ago A tokens not measured

Notification

09

superbasedapp/observer

Hook

Runs when the agent sends a notification, running observer hook claude-code notification. From superbasedapp/observer.

40 6d ago A tokens not measured

UserPromptSubmit

10

ww-w-ai/super-token-saver

Hook

Runs when you submit a prompt, before the agent sees it, executing cache-expiry-check.sh. From ww-w-ai/super-token-saver.

31 2d ago A tokens not measured original Apache-2.0

SessionStart

11

ww-w-ai/super-token-saver

Hook

Runs when a session starts on compact, executing statusline-version-check.sh, git-context-lite.sh and s-continue-after-compact.sh (4 commands). From ww-w-ai/super-token-saver.

31 2d ago A tokens not measured original Apache-2.0

SessionStart

12

Narcooo/ccbar

Hook

Runs when a session starts on startup, resume, clear and compact, executing cli.js via sh (4 commands). From Narcooo/ccbar.

23 1mo ago B tokens not measured original MIT

SessionStart

13

labzink/cc-probeline

Hook

Runs when a session starts on startup, running an inline shell check. From labzink/cc-probeline.

11 20d ago A tokens not measured original MIT

PostToolUse

14

bhvbhushan/codeledger

Hook

Runs after a tool call finishes for Skill tool calls, executing on-skill-use.js via node. From bhvbhushan/codeledger.

9 5mo ago A tokens not measured original MIT

Stop

15

bhvbhushan/codeledger

Hook

Runs when the agent finishes a response, executing on-stop.js via node. From bhvbhushan/codeledger.

9 5mo ago A tokens not measured original MIT

SessionEnd

16

bhvbhushan/codeledger

Hook

Runs when a session ends, executing on-session-end.js via node. From bhvbhushan/codeledger.

9 5mo ago A tokens not measured original MIT

PostToolUse

17

forbiddenlink/mcp-token-tracker

Hook Claude Code

Runs after a tool call finishes for mcp__* tool calls, executing mcp-tool-logger.sh. From forbiddenlink/mcp-token-tracker.

2 3d ago A tokens not measured original MIT

PreToolUse

18

4242labs/tokentab

Hook Claude Code

Runs before the agent uses a tool for mcp__linear__save_issue, Bash, Edit, Write, MultiEdit and NotebookEdit tool calls, executing linear-card-lint.sh, dangerous-command-gate.sh, tron-clu-merge-guard.sh, telegram-send-check.sh, gate-ledger-gate.sh and tron-clu-worktree-guard.sh (6 commands). From 4242labs/tokentab.

2 3d ago A tokens not measured AGPL-3.0

SessionStart

19

4242labs/tokentab

Hook Claude Code

Runs when a session starts on compact, executing persona-anchor-inject.sh. From 4242labs/tokentab.

2 3d ago A tokens not measured AGPL-3.0

Stop

20

4242labs/tokentab

Hook Claude Code

Runs when the agent finishes a response, executing tron-clu-pulse-guard.sh. From 4242labs/tokentab.

2 3d ago A tokens not measured AGPL-3.0

UserPromptSubmit

21

Aptica-Solutions/a-mcp-runmeter

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing survey-gate.ps1 via pwsh. From Aptica-Solutions/a-mcp-runmeter.

0 28d ago A tokens not measured original MIT