wangshunnn/claude-telemetry

Agent Telemetry for Claude Code & Codex 🎯

5Stars on the repository
17Mods indexed here, across every type
3mo agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

SessionStart

01

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

UserPromptSubmit

02

wangshunnn/claude-telemetry

Hook

Runs when you submit a prompt, before the agent sees it, executing append-event.mjs via node. From wangshunnn/claude-telemetry.

5 3mo ago A tokens not measured copy · 88% MIT

UserPromptExpansion

03

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

Notification

04

wangshunnn/claude-telemetry

Hook

Runs when the agent sends a notification for idle_prompt tool calls, executing append-event.mjs via node. From wangshunnn/claude-telemetry.

5 3mo ago A tokens not measured original MIT

PermissionRequest

05

wangshunnn/claude-telemetry

Hook

Runs when the agent asks permission for an action, executing append-event.mjs via node. From wangshunnn/claude-telemetry.

5 3mo ago A tokens not measured original MIT

InstructionsLoaded

06

wangshunnn/claude-telemetry

Hook

Runs after instructions files are loaded, executing append-event.mjs via node. From wangshunnn/claude-telemetry.

5 3mo ago A tokens not measured copy · 53% MIT

PreToolUse

07

wangshunnn/claude-telemetry

Hook

Runs before the agent uses a tool for Task and Agent tool calls, executing append-event.mjs via node. From wangshunnn/claude-telemetry.

5 3mo ago A tokens not measured original MIT

PostToolUse

08

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

SubagentStart

10

wangshunnn/claude-telemetry

Hook

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

5 3mo ago A tokens not measured original MIT

SubagentStop

11

wangshunnn/claude-telemetry

Hook

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

5 3mo ago A tokens not measured copy · 50% MIT

Stop

12

wangshunnn/claude-telemetry

Hook

Runs when the agent finishes a response, executing on-stop.mjs via node. From wangshunnn/claude-telemetry.

5 3mo ago A tokens not measured original MIT

StopFailure

13

wangshunnn/claude-telemetry

Hook

Runs on the StopFailure event, executing on-stop.mjs via node. From wangshunnn/claude-telemetry.

5 3mo ago A tokens not measured copy · 86% MIT