josheche/tokengolf

⛳️ Gamified Claude Code token efficiency.

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

SessionStart

01

josheche/tokengolf

Hook

Runs when a session starts, executing session-start.js via node. From josheche/tokengolf.

2 5mo ago A tokens not measured copy · 100% MIT

SessionEnd

02

josheche/tokengolf

Hook

Runs when a session ends, executing session-end.js via node. From josheche/tokengolf.

2 5mo ago A tokens not measured copy · 48% MIT

PostToolUse

03

josheche/tokengolf

Hook

Runs after a tool call finishes, executing post-tool-use.js via node. From josheche/tokengolf.

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

PostToolUseFailure

04

josheche/tokengolf

Hook

Runs when a tool call fails, executing post-tool-use-failure.js via node. From josheche/tokengolf.

2 5mo ago A tokens not measured original MIT

UserPromptSubmit

05

josheche/tokengolf

Hook

Runs when you submit a prompt, before the agent sees it, executing user-prompt-submit.js via node. From josheche/tokengolf.

2 5mo ago A tokens not measured copy · 58% MIT

PreCompact

06

josheche/tokengolf

Hook

Runs before the context is compacted, executing pre-compact.js via node. From josheche/tokengolf.

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

SubagentStart

07

josheche/tokengolf

Hook

Runs when a subagent starts, executing subagent-start.js via node. From josheche/tokengolf.

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

Stop

08

josheche/tokengolf

Hook

Runs when the agent finishes a response, executing stop.js via node. From josheche/tokengolf.

2 5mo ago A tokens not measured copy · 48% MIT