Analytics and metrics hooks

140 tagged Analytics and metrics, measured the same way as everything else here.

Browse within: dashboard 40hooks 19telemetry 16cost-tracking 15agent-framework 13claude-plugin 11admin 7admin-dashboard 7admin-panel 7laravel 7laravelcrud 7reactjs 7agent-orchestration 6asset-pipeline 6

PostToolUse

25

Hedde/trigger_tree

Hook

Runs after a tool call finishes for Bash, Read, Glob, Grep, Skill, apply_patch, Edit, Write and mcp__.* tool calls, executing tt-codex-hook.py with --client. From Hedde/trigger_tree.

14 9d ago A tokens not measured copy · 84% MIT

Stop

26

Hedde/trigger_tree

Hook

Runs when the agent finishes a response, executing tt-codex-hook.py with --client. From Hedde/trigger_tree.

14 9d ago A tokens not measured copy · 95% MIT

UserPromptSubmit

27

Lancetnik/slop-writer

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, running codegraph prompt-hook. From Lancetnik/slop-writer.

9 10d ago A tokens not measured copy · 100% Apache-2.0

PostToolUse

28

sorensensig/ai-corner-store

Hook

Runs after a tool call finishes for mcp__.*designsystemet-twins.* tool calls, executing telemetry-log.py. From sorensensig/ai-corner-store.

9 5d ago A tokens not measured

PostToolUse

30

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

31

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

32

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

PreToolUse

33

StringNLPLAB/FlexSQL

Hook Claude Code

Runs before the agent uses a tool for mcp__snowflake-tools__(query_database, python_interpreter) and Write tool calls, executing require_writing.py and require_revision.py via python3 (2 commands). From StringNLPLAB/FlexSQL.

9 +1 11d ago A tokens not measured

PostToolUse

34

StringNLPLAB/FlexSQL

Hook Claude Code

Runs after a tool call finishes for Skill tool calls, executing mark_revision.py and mark_writing.py via python3 (2 commands). From StringNLPLAB/FlexSQL.

9 +1 11d ago A tokens not measured

Stop

35

richfrem/agent-plugins-skills

Hook

Runs when the agent finishes a response, executing post_run_metrics.py via python3. From richfrem/agent-plugins-skills.

6 4d ago A tokens not measured original MIT

PostToolUse

36

Avyayalaya/pm-skills-arsenal

Hook

Runs after a tool call finishes, executing track-telemetry.sh via bash. From Avyayalaya/pm-skills-arsenal.

6 3mo ago A tokens not measured copy · 64% MIT

UserPromptSubmit

37

josephfung/strategy-os

Hook

Runs when you submit a prompt, before the agent sees it, executing detect-keywords.sh. From josephfung/strategy-os.

6 3mo ago A tokens not measured copy · 56% MIT

SessionStart

38

josephfung/strategy-os

Hook

Runs when a session starts, executing check-coach-cadence.sh. From josephfung/strategy-os.

6 3mo ago A tokens not measured copy · 55% MIT

PreToolUse

39

adityawrk/analytics-with-claude-code

Hook Claude Code

Runs before the agent uses a tool for Bash and execute_sql tool calls, executing validate-sql.sh via bash (2 commands). From adityawrk/analytics-with-claude-code.

5 6mo ago A tokens not measured original MIT

PostToolUse

40

adityawrk/analytics-with-claude-code

Hook Claude Code

Runs after a tool call finishes for Bash, Edit and Write tool calls, executing audit-log.sh and auto-format-sql.sh via bash (3 commands). From adityawrk/analytics-with-claude-code.

5 6mo ago A tokens not measured copy · 44% MIT

PostToolUse

41

RD-DCS/venutian-antfarm

Hook Claude Code

Runs after a tool call finishes for Write, Edit and Bash tool calls, executing collab-sync-check.sh with --write and --fix (5 commands). From RD-DCS/venutian-antfarm.

5 5mo ago A tokens not measured

PreCompact

42

RD-DCS/venutian-antfarm

Hook Claude Code

Runs before the context is compacted for auto tool calls, running echo 'Key context: Agent fleet harness with 7 governance age. From RD-DCS/venutian-antfarm.

5 5mo ago A tokens not measured

SessionStart

43

RD-DCS/venutian-antfarm

Hook Claude Code

Runs when a session starts, executing compile-floor.sh and feedback-log.sh with --all (4 commands). From RD-DCS/venutian-antfarm.

5 5mo ago A tokens not measured

SessionStart

44

jeongph/claude-telemetry

Hook

Runs when a session starts, executing sync-binary.sh via bash. From jeongph/claude-telemetry.

5 1mo ago A tokens not measured copy · 52% MIT

SessionStart

45

wangshunnn/claude-telemetry

Hook

Runs when a session starts, executing append-event.mjs via node. From wangshunnn/claude-telemetry.

5 3mo ago A tokens not measured original MIT

UserPromptExpansion

46

wangshunnn/claude-telemetry

Hook

Runs to expand your prompt before the agent sees it, executing append-event.mjs via node. From wangshunnn/claude-telemetry.

5 3mo ago A tokens not measured original MIT

PostToolUse

47

wangshunnn/claude-telemetry

Hook

Runs after a tool call finishes for Task, Agent, Read, Grep, Glob, Bash, Edit, Write and Skill tool calls, executing append-event.mjs via node (6 commands). From wangshunnn/claude-telemetry.

5 3mo ago A tokens not measured original MIT

PreCompact

48

olgasafonova/mcp-otel-go

Hook Claude Code

Runs before the context is compacted, running bd prime. From olgasafonova/mcp-otel-go.

5 6d ago A tokens not measured copy · 100% MIT