SessionStart
01Hook
Runs when a session starts, executing probe.sh. From alexgreensh/token-optimizer.
16 tagged token usage, measured the same way as everything else here.
Browse within: agentskills 13claude-code-skill 13context-window 13token-optimization 13
Hook
Runs when a session starts, executing probe.sh. From alexgreensh/token-optimizer.
Hook
Runs when you submit a prompt, before the agent sees it, executing probe.sh. From alexgreensh/token-optimizer.
Hook
Runs before the agent uses a tool, executing probe.sh. From alexgreensh/token-optimizer.
Hook
Runs when you submit a prompt, before the agent sees it, executing intercept.py via python3. From peiris/token-cost.
Hook
Runs when the agent finishes a response, executing record.py via python3. From peiris/token-cost.
Hook
Runs when a session starts, executing record.py and install_shim.py via python3 with --sync (2 commands). From peiris/token-cost.