claude-code hooks

3,238 tagged claude-code, measured the same way as everything else here.

Browse within: ai-coding 158hooks 113agent-memory 87agent-orchestration 87agentic-coding 77claude-plugin 60codex-cli 59context-engineering 59claude-code-skills 58ai-memory 54code-quality 52claude-ai 46agent-harness 43plugin 41

Stop

361

Vvkmnn/claude-emporium

Hook

Part of claude-gladiator

Runs when the agent finishes a response, executing stop.js via node. From Vvkmnn/claude-emporium.

not rated 82 6mo ago A tokens not measured

UserPromptSubmit

362

sysnet4admin/_Book_Claude-Code

Hook Claude Code

One of 2 in settings.json

Runs when you submit a prompt, before the agent sees it, running date >> last_prompting_history.log. From sysnet4admin/_Book_Claude-Code.

not rated 81 5mo ago A tokens not measured

PostToolUse

365

alfadur7/llm-wiki-newsroom

Hook Claude Code

One of 3 in settings.json

Runs after a tool call finishes for Bash, PowerShell, Write and Edit tool calls, executing lint-chain-guard.sh and dispatch.sh via bash (2 commands). From alfadur7/llm-wiki-newsroom.

not rated 80 7d ago A tokens not measured copy · 42% MIT

PreToolUse

366

alfadur7/llm-wiki-newsroom

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool for Write, Edit, Bash and PowerShell tool calls, executing dispatch.sh via bash (2 commands). From alfadur7/llm-wiki-newsroom.

not rated 80 7d ago A tokens not measured copy · 48% MIT

SessionStart

367

kurikomi-labs/komi-learn

Hook

Part of komi-learn

Runs when a session starts, running python -m komi.adapters.claude_code.hook_recall. From kurikomi-labs/komi-learn.

not rated 79 2mo ago A tokens not measured original MIT archived

Stop

368

kurikomi-labs/komi-learn

Hook

Part of komi-learn

Runs when the agent finishes a response, running python -m komi.adapters.claude_code.hook_distill. From kurikomi-labs/komi-learn.

not rated 79 2mo ago A tokens not measured original MIT archived

PostCompact

369

kurikomi-labs/komi-learn

Hook

Part of komi-learn

Runs after the context is compacted, running python -m komi.adapters.claude_code.hook_compact. From kurikomi-labs/komi-learn.

not rated 79 2mo ago A tokens not measured original MIT archived

PreToolUse

371

assaio/assaio

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing guard.sh via bash. From assaio/assaio.

not rated 76 5d ago A tokens not measured original Apache-2.0

PreToolUse

374

MuhammadUsmanGM/claude-code-best-practices

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool for Write and Edit tool calls, executing block-secrets.sh via bash. From MuhammadUsmanGM/claude-code-best-practices.

not rated 76 +2 2mo ago A tokens not measured original MIT

PostToolUse

375

MuhammadUsmanGM/claude-code-best-practices

Hook Claude Code

One of 3 in settings.json

Runs after a tool call finishes for Write and Edit tool calls, executing format-on-write.sh via bash. From MuhammadUsmanGM/claude-code-best-practices.

not rated 76 +2 2mo ago A tokens not measured original MIT

SessionStart

376

genai-io/san

Hook

Part of test-plugin

Runs when a session starts, running echo 'test-plugin: SessionStart hook triggered' >> /tmp/test. From genai-io/san.

not rated 75 6d ago A tokens not measured original Apache-2.0

SessionStart

377

TOKTOKHAN-DEV/agent-company

Hook Claude Code

One of 3 in settings.json

Runs when a session starts, executing session-start.sh via bash. From TOKTOKHAN-DEV/agent-company.

not rated 74 +1 7d ago A tokens not measured copy · 53% MIT

PreToolUse

378

TOKTOKHAN-DEV/agent-company

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing guard-image-generation.sh via bash. From TOKTOKHAN-DEV/agent-company.

not rated 74 +1 7d ago A tokens not measured original MIT

PreToolUse

379

oprogramadorreal/optimus-claude

Hook Claude Code

Part of optimus

Runs before the agent uses a tool for Edit, MultiEdit, Write, NotebookEdit and Bash tool calls, executing restrict-paths.sh via bash. From oprogramadorreal/optimus-claude.

not rated 73 yesterday A tokens not measured original MIT

PostToolUse

380

oprogramadorreal/optimus-claude

Hook Claude Code

Part of optimus

Runs after a tool call finishes for Edit, MultiEdit and Write tool calls, executing format-python.sh via bash. From oprogramadorreal/optimus-claude.

not rated 73 yesterday A tokens not measured original MIT

PreToolUse

381

bahdotsh/indxr

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Read and Bash tool calls, running an inline shell check (2 commands). From bahdotsh/indxr.

not rated 72 4mo ago A tokens not measured original MIT

SessionStart

383

cdeust/Cortex

Hook

Part of cortex

Runs when a session starts on startup, running an inline shell check. From cdeust/Cortex.

not rated 71 today A tokens not measured original MIT

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: