Hooks

Shell commands your agent runs at defined points. A hook is code, so read it before you install it.

Stop

337

LIUTod/scream-life

Hook Claude Code

One of 3 in hooks.json

Runs when the agent finishes a response, running an inline shell check. From LIUTod/scream-life.

not rated 2 3mo ago A tokens not measured

PreToolUse

338

LucasSantana-Dev/sharekit

Hook Claude Code

One of 10 in settings.json

Runs before the agent uses a tool for Bash, Write, Edit and NotebookEdit tool calls, executing check-dangerous-patterns.sh, check-pr-automation-halt.sh, check-stuck-loop.sh, check-idempotency.sh, check-session-lock.sh and policy-gate.sh via bash (7 commands). From LucasSantana-Dev/sharekit.

not rated 2 +1 4d ago A tokens not measured original MIT

PreToolUse

339

fusengine/codex

Hook Claude Code

One of 7 in hooks.json

Runs before the agent uses a tool for Bash, apply_patch, spawn_agent and multi_agent_v1.spawn_agent tool calls, executing bin.mjs via bun (3 commands). From fusengine/codex.

not rated 2 25d ago A tokens not measured

SessionStart

340

igovet/codex-cortex-orchestrator

Hook Claude Code

One of 11 in hooks.json

Runs when a session starts on ^(resume and compact)$, executing cortex_hook.py via python3. From igovet/codex-cortex-orchestrator.

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

PreToolUse

341

Liyuchen0118/RunBeacon

Hook Claude Code

One of 2 in hooks.json

Runs before the agent uses a tool for ^mcp__(?:runbeacon, remote[-_]job[-_]monitor)__job_start$ and ^Bash$ tool calls, executing inject-job-trace.cjs and route-ssh.cjs via node (2 commands). From Liyuchen0118/RunBeacon.

not rated 2 1mo ago A tokens not measured original MIT

Notification

342

wangke19/gemini-ai-helpers

Hook Claude Code

One of 2 in hooks.json

Runs when the agent sends a notification, running an inline shell check. From wangke19/gemini-ai-helpers.

not rated 2 7mo ago A tokens not measured original Apache-2.0

SessionStart

343

serialq7ic4/ixf-toolbox

Hook Claude Code

One of 2 in hooks.json

Runs when a session starts on startup, clear and compact, executing run-hook.cmd. From serialq7ic4/ixf-toolbox.

not rated 2 yesterday A tokens not measured

PreToolUse

344

rhtevan/agentfs

Hook Claude Code

One of 4 in hooks.json

Runs before the agent uses a tool, executing enforce-postwrite.sh. From rhtevan/agentfs.

not rated 2 changed 9d ago A tokens not measured original Apache-2.0

PostToolUse

345

KarhouTam/agent-skills

Hook Claude Code

One of 11 in hooks.json

Runs after a tool call finishes for Skill, Read, Edit, Write, MultiEdit, NotebookEdit, Bash, Agent and Task tool calls, running an inline shell check. From KarhouTam/agent-skills.

not rated 2 4d ago A tokens not measured

UserPromptSubmit

346

lroy-stack/ai-pod-store

Hook Claude Code

One of 10 in settings.json

Runs when you submit a prompt, before the agent sees it, executing user_prompt_submit.py and send_event.py via uv with --log-only, --store-last-prompt, --name-agent, --source-app, --event-type and --summarize (2 commands). From lroy-stack/ai-pod-store.

not rated 1 11d ago A tokens not measured

SessionStart

347

joegoldin/agent-skills

Hook Claude Code

Runs when a session starts on startup, resume, clear and compact, executing session-start.sh. From joegoldin/agent-skills.

not rated 1 yesterday A tokens not measured

SessionStart

348

mikhailbovt/ContextDB-Codex

Hook Claude Code

One of 3 in hooks.json

Runs when a session starts on startup, resume, clear and compact, executing contextdb-memory-hook.py via python3. From mikhailbovt/ContextDB-Codex.

not rated 1 2mo ago A tokens not measured original Apache-2.0

PreToolUse

349

symbo-ls/symbols-mcp

Hook Claude Code

One of 4 in settings.json

Runs before the agent uses a tool for Edit, Write and MultiEdit tool calls, executing symbols-mcp-require.sh via bash. From symbo-ls/symbols-mcp.

not rated 1 5d ago A tokens not measured

Stop

350

richer-richard/cc-research

Hook Claude Code

Runs when the agent finishes a response, executing audit.py via python3. From richer-richard/cc-research.

not rated 1 5mo ago A tokens not measured original MIT

SessionStart

351

jim4226/claude-workspace-brain

Hook Claude Code

One of 3 in settings.json

Runs when a session starts, executing brain_session_start.py via python. From jim4226/claude-workspace-brain.

not rated 1 3mo ago A tokens not measured original MIT

SessionStart

352

Kolikkii/token-razor

Hook Claude Code

One of 6 in hooks.json

Runs when a session starts on startup, resume, clear and compact, executing hook.mjs via node. From Kolikkii/token-razor.

not rated 1 3mo ago A tokens not measured original MIT

SessionStart

353

lastmindforever36/agent-grounded-infrastructure

Hook Claude CodeCodex

One of 3 in hooks.json

Runs when a session starts on startup and resume, executing session_start_autonomy.py via python3. From lastmindforever36/agent-grounded-infrastructure.

not rated 1 3mo ago A tokens not measured original MIT

Stop

354

tkumata/AGENTS.md

Hook Claude Code

One of 2 in settings.json

Runs when the agent finishes a response, executing verify_pipeline.sh. From tkumata/AGENTS.md.

not rated 1 2d ago A tokens not measured original MIT

SubagentStart

355

SetraTheXX/Codex-Engineering-Workflow-Pack

Hook Claude Code

One of 2 in hooks.json

Runs when a subagent starts, executing capture-subagent.js via node. From SetraTheXX/Codex-Engineering-Workflow-Pack.

not rated 1 1mo ago A tokens not measured original MIT

PreToolUse

356

alex-lamport/kaora-memory

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool for Write, Edit and MultiEdit tool calls, executing protect-credentials.sh. From alex-lamport/kaora-memory.

not rated 1 5mo ago A tokens not measured original MIT

BeforeTool

357

King-A23/agent-reflectmem

Hook Claude Code

One of 4 in hooks.json

Runs on the BeforeTool event for run_shell_command tool calls, executing reflectmem_hook.js via node. From King-A23/agent-reflectmem.

not rated 1 5mo ago A tokens not measured original MIT

PreToolUse

358

Ezee234/symbi-gemini-cli

Hook Claude Code

One of 2 in hooks.json

Runs before the agent uses a tool for write_file, replace, run_shell_command and symbi__* tool calls, executing policy-guard.sh and policy-log.sh (2 commands). From Ezee234/symbi-gemini-cli.

not rated 1 24d ago A tokens not measured copy · 100% Apache-2.0

SessionStart

359

priyanshuchawda/tracepilot-gemini-cli

Hook Claude Code

Runs when a session starts, executing on-start.js via node. From priyanshuchawda/tracepilot-gemini-cli.

not rated 1 4mo ago A tokens not measured copy · 100% Apache-2.0

SessionStart

360

kongyo2/gemini-time-injector

Hook Claude Code

One of 6 in hooks.json

Runs when a session starts, executing inject-time.js via node. From kongyo2/gemini-time-injector.

not rated 1 8d ago A tokens not measured original MIT archived

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: