session management hooks

14 tagged session management, measured the same way as everything else here.

Browse within: claude-code-hooks 6claude-code-plugins-marketplace 6

UserPromptSubmit

01

ww-w-ai/super-token-saver

Hook

Runs when you submit a prompt, before the agent sees it, executing cache-expiry-check.sh. From ww-w-ai/super-token-saver.

31 2d ago A tokens not measured original Apache-2.0

SessionStart

02

ww-w-ai/super-token-saver

Hook

Runs when a session starts on compact, executing statusline-version-check.sh, git-context-lite.sh and s-continue-after-compact.sh (4 commands). From ww-w-ai/super-token-saver.

31 2d ago A tokens not measured original Apache-2.0

SessionStart

03

hxt9805/cadence

Hook

Runs when a session starts on startup, clear and compact, executing run-hook.cmd. From hxt9805/cadence.

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

SessionStart

04

Sting25/claude-code-handoff

Hook

Runs when a session starts, executing handoff_session_start.sh via bash. From Sting25/claude-code-handoff.

4 2d ago A tokens not measured original MIT

SessionEnd

05

Sting25/claude-code-handoff

Hook

Runs when a session ends, executing write_handoff.sh via bash with --if-curated. From Sting25/claude-code-handoff.

4 2d ago A tokens not measured original MIT

PostCompact

06

Sting25/claude-code-handoff

Hook

Runs after the context is compacted, executing handoff_compact_reset.sh via bash. From Sting25/claude-code-handoff.

4 2d ago A tokens not measured original MIT

PreToolUse

07

gf-labs/claude-toolbox

Hook

Runs before the agent uses a tool for Bash tool calls, executing git-guard.py via python3. From gf-labs/claude-toolbox.

2 1mo ago A tokens not measured original MIT

SessionStart

08

gf-labs/claude-toolbox

Hook

Runs when a session starts, executing validate-env.py and setup-mcp.py via python3 (2 commands). From gf-labs/claude-toolbox.

2 1mo ago A tokens not measured original MIT

PostToolUse

09

gf-labs/claude-toolbox

Hook

Runs after a tool call finishes for Write, Edit and Write tool calls, executing collect-plan-map.py and lint-py.py via python3 (2 commands). From gf-labs/claude-toolbox.

2 1mo ago A tokens not measured original MIT

Stop

10

Imtylerrrrrr/second-brain

Hook

Runs when the agent finishes a response, executing sync.sh via bash. From Imtylerrrrrr/second-brain.

1 1mo ago A tokens not measured copy · 44% MIT