SessionStart
01Hook
Runs when a session starts, executing probe.sh. From alexgreensh/token-optimizer.
54 tagged context window, measured the same way as everything else here.
Browse within: agentskills 13claude-code-skill 13token-optimization 13token-usage 13context-compression 10hooks 7observability 7ai-agent-tools 6codex-plugin 6llm-context 6ast 5code-navigation 5
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 Claude Code
Runs before the agent uses a tool for Bash tool calls, executing pre-tool-use.sh. From mpecan/tokf.
Hook
Runs when a session starts, executing governor.py via python3. From 0xhimanshu/governor.
Hook
Runs when you submit a prompt, before the agent sees it, executing governor.py via python3. From 0xhimanshu/governor.
Hook
Runs after a tool call finishes, executing governor.py via python3. From 0xhimanshu/governor.
Hook
Runs when a session starts, executing autostart.sh. From linggen/linggen-memory.
Hook
Runs when you submit a prompt, before the agent sees it, executing recall.sh. From linggen/linggen-memory.
Hook
Runs before the agent uses a tool for mcp__.*__memory_(add and search) tool calls, executing stamp-cwd.sh. From linggen/linggen-memory.
Hook Claude Code
Runs when a session starts on startup, executing worktree-bootstrap.sh via bash. From gintasz/unigent.
Hook
Runs before the agent uses a tool for ^new_context$ tool calls, executing launch.py via python3. From hehee9/codex-compressor.
Hook
Runs before the context is compacted for ^(auto and manual)$ tool calls, executing launch.py via python3. From hehee9/codex-compressor.
Hook
Runs when a session starts on ^compact$, executing launch.py via python3. From hehee9/codex-compressor.
Hook
Runs when a session starts, running an inline shell check. From sakebomb/mcp-recall.
Hook
Runs after a tool call finishes for (mcp__(?!recall__).* and Bash) tool calls, running an inline shell check. From sakebomb/mcp-recall.
Hook
Runs before the agent uses a tool for Read, Edit, MultiEdit, Bash, Grep and Task tool calls, executing run.sh via sh (6 commands). From Digital-Threads/token-pilot.
Hook
Runs when a session starts, executing run.sh via sh (2 commands). From Digital-Threads/token-pilot.
Hook
Runs after a tool call finishes for Bash and Task tool calls, executing run.sh via sh (2 commands). From Digital-Threads/token-pilot.
Hook
Runs when a session starts on startup and clear, executing claude-code-sessionstart.sh. From yoeld-wix/quiet-bash.
Hook
Runs before the agent uses a tool for Bash tool calls, executing claude-code.sh. From yoeld-wix/quiet-bash.
Hook
Runs after a tool call finishes for mcp__.*, WebFetch, WebSearch and Read tool calls, executing claude-code-result.sh. From yoeld-wix/quiet-bash.
Hook
Runs after a tool call finishes, executing run.sh. From nikshepsvn/scrim.
Hook
Runs when you submit a prompt, before the agent sees it, executing run.sh. From nikshepsvn/scrim.