Hooks

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

PostToolUse

73

Koomook/fastcampus-ai-agent-vibecoding

Hook Claude Code

One of 3 in settings.json

Runs after a tool call finishes for mcp__youtube-transcript__get_transcript tool calls, executing youtube_transcript.sh. From Koomook/fastcampus-ai-agent-vibecoding.

not rated 135 9mo ago A tokens not measured

SessionStart

74

grafana/agento11y

Hook Claude Code ✓ vendor

One of 5 in hooks.json

Runs when a session starts on startup, resume and clear, running an inline shell check. From grafana/agento11y.

not rated 132 +1 today A tokens not measured original Apache-2.0

PostToolUse

75

001TMF/blatant-why

Hook Claude Code

One of 3 in hooks.json

Runs after a tool call finishes, executing statusline.js and campaign-tracker.js via node (2 commands). From 001TMF/blatant-why.

not rated 119 22d ago A tokens not measured original MIT

PostToolUse

76

hellangleZ/burn-in-cceverywhere-ralph

Hook Claude Code

One of 3 in hooks.json

Runs after a tool call finishes for tool == "Bash", tool == "Edit" && tool_input.file_path matches "\\.(ts, tsx, js, jsx)$", tool == "Edit" && tool_input.file_path matches "\\.(ts, tsx)$", tool == "Edit" && tool_input.file_path matches "\\.(ts, tsx, js and jsx)$" tool calls, running an inline shell check (4 commands).…

not rated 111 9mo ago A tokens not measured

AfterTool

77

thoreinstein/gemini-obsidian

Hook Claude Code

One of 3 in hooks.json

Runs on the AfterTool event for obsidian_(create, append)_note, obsidian_update_frontmatter, obsidian_append_daily_log, obsidian_replace_section, obsidian_insert_at_heading and obsidian_replace_in_note tool calls, executing reindex-note.js via node. From thoreinstein/gemini-obsidian.

not rated 102 2d ago A tokens not measured original ISC

PreToolUse

78

engindemirog/ai-native-engineering-workspace

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Edit, Write, MultiEdit and NotebookEdit tool calls, executing protect-shipped.sh. From engindemirog/ai-native-engineering-workspace.

not rated 102 +8 changed 1mo ago A tokens not measured copy · 48% MIT

PostToolUse

79

Toloka/tendem-mcp

Hook Claude Code

Runs after a tool call finishes for mcp__.*tendem tool calls, executing tendem-post.sh. From Toloka/tendem-mcp.

not rated 101 +1 14d ago A tokens not measured original MIT

PostToolUse

80

cowwoc/cat

Hook Claude Code

One of 4 in hooks.json

Runs after a tool call finishes for Bash, Write, Edit, Read, Glob, Grep, WebFetch and WebSearch tool calls, executing get-posttool-output.py, detect-assistant-giving-up.sh, get-bash-posttool-output.py, remind-restart-after-skill-modification.sh and get-read-posttool-output.py via python3 (5 commands). From cowwoc/cat.

not rated 101 3mo ago A tokens not measured

SessionStart

81

FareedKhan-dev/claude-code-staff-engineer

Hook Claude Code

Runs when a session starts on startup, clear and compact, executing run-hook.cmd. From FareedKhan-dev/claude-code-staff-engineer.

not rated 93 6mo ago A tokens not measured original MIT

BeforeTool

82

Jamkris/everything-gemini-code

Hook Claude Code

One of 6 in hooks.json

Runs on the BeforeTool event for tool == "run_shell_command", tool == "run_shell_command", tool == "run_shell_command" && tool_input.command matches "^\\s*(npm (install, test, i, ci), pnpm (install, test, i), yarn (install, test, add, remove, upgrade), bun (install, test, i, add, remove), cargo build, make, docker…

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

SessionStart

83

nota-america/forgecat-agent-profiles

Hook Claude Code

One of 2 in settings.json

Runs when a session starts, executing _fc_wrap.sh. From nota-america/forgecat-agent-profiles.

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

SessionStart

84

Dubaoxu/distillation-skills

Hook Claude Code

Runs when a session starts, executing announce-ars-loaded.sh via bash. From Dubaoxu/distillation-skills.

not rated 92 +38 3mo ago A tokens not measured

PostToolUse

85

Desko77/claude-code-skills-1c

Hook Claude Code

One of 6 in hooks.json

Runs after a tool call finishes for Read, Edit, Write, MultiEdit, ^(mcp__[A-Za-z0-9._-]+__(validate_query, code_review, diagnostics, validate_for_export, get_project_errors, security_audit, check_1c_code, ask_1c_ai, syntaxcheck, detect_query_anti_patterns, insights), Bash, PowerShell)$, ^(Write, Edit, MultiEdit…

not rated 90 +3 changed 1mo ago A tokens not measured original MIT

PostToolUse

86

Bene-2020/plane-codex-mcp

Hook Claude Code

One of 5 in hooks.json

Runs after a tool call finishes for ^mcp__ambient_project__(list_projects, record_project_events, acknowledge_no_project_events, decline_project_binding and restore_project_binding)$ tool calls, executing index.js. From Bene-2020/plane-codex-mcp.

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

PostToolUse

87

Arcadia-1/analog-agents

Hook Claude Code

One of 4 in hooks.json

Runs after a tool call finishes for spectre, virtuoso-bridge, Write and Edit tool calls, executing post-sim.sh and post-netlist-check.sh (2 commands). From Arcadia-1/analog-agents.

not rated 85 +1 4mo ago A tokens not measured

UserPromptSubmit

88

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 82 2d ago A tokens not measured

SessionStart

89

superplan-md/superplan-plugin

Hook Claude Code

Runs when a session starts on startup, clear and compact, executing run-hook.cmd. From superplan-md/superplan-plugin.

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

SessionStart

90

k-kolomeitsev/data-structure-protocol

Hook Claude Code

One of 5 in settings.json

Runs when a session starts, executing dsp-session-start.sh. From k-kolomeitsev/data-structure-protocol.

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

SessionStart

91

luna-prompts/skillnote

Hook Claude Code

One of 3 in hooks.json

Runs when a session starts on startup and resume, executing sync.sh. From luna-prompts/skillnote.

not rated 68 4d ago A tokens not measured original MIT

PreToolUse

92

Fmarzochi/EGC

Hook Claude Code

One of 8 in hooks.json

Runs before the agent uses a tool for Write, Edit, MultiEdit, Write, Edit, MultiEdit, Bash, Write, Edit, Write, Bash, Write, Edit, MultiEdit, Write, Edit, MultiEdit, Edit, Write, MultiEdit, Bash, Write, Edit and MultiEdit tool calls, executing utils.js via node (12 commands). From Fmarzochi/EGC.

not rated 68 yesterday A tokens not measured original Apache-2.0

PreToolUse

93

t0ddc3by/claude-for-customer-success

Hook Claude Code

One of 3 in hooks.json

Runs before the agent uses a tool for ask_user_input_v0 tool calls, executing auq_hook.py via python3. From t0ddc3by/claude-for-customer-success.

not rated 66 changed 2mo ago A tokens not measured

SessionStart

94

vouchdev/vouch

Hook Claude Code

One of 4 in settings.json

Runs when a session starts, running an inline shell check (4 commands). From vouchdev/vouch.

not rated 65 +5 2mo ago A tokens not measured original MIT

PreToolUse

95

IAPro-Community/Orquestrador-Maestro

Hook Claude Code

One of 7 in hooks.json

Runs before the agent uses a tool for Agent, spawn_agent, Bash, apply_patch, Read, Glob, Grep and mcp__.* tool calls, executing hook.js via node. From IAPro-Community/Orquestrador-Maestro.

not rated 63 yesterday A tokens not measured original Apache-2.0

Stop

96

DekaPrayoga/AurixAgent

Hook Claude Code

One of 7 in hooks.json

Runs when the agent finishes a response, executing run-with-flags.js via node (6 commands). From DekaPrayoga/AurixAgent.

not rated 62 3mo ago A tokens not measured

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: