ai-coding hooks

56 tagged ai-coding, measured the same way as everything else here.

Browse within: claude-code-plugin 99agentic-coding 74cursor 59cli 48ai-tools 42agentic-workflow 37agentic-ai 33best-practices 31anthropic-claude 30code-quality 30codex-cli 30ai-engineering 27coding-agent 24ai-security 20

SessionStart

01

fuxicodex/Fuxi

Hook Claude Code

Runs when a session starts, executing session-start.sh via bash. From fuxicodex/Fuxi.

not rated 3.3k +11 changed 17d ago A tokens not measured

SessionStart

02

maxritter/pilot-shell

Hook Claude Code

One of 10 in hooks.json

Runs when a session starts on startup, resume, clear, compact, startup, startup, resume, clear, compact, startup, resume, clear, compact, clear and compact, executing license_check.py, licensed_assets_sync.py, codex_skill_sync.py, cc_skill_sync.py and run_if_licensed.py via uv with --no-project, --python and --exec…

not rated 2.1k +7 changed 29d ago A tokens not measured

PostToolUse

03

hashgraph-online/awesome-codex-plugins

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, executing validate-schema.py via python3. From hashgraph-online/awesome-codex-plugins.

not rated 1.3k +57 today A tokens not measured original Apache-2.0

SessionStart

04

devcodex-labs/devcodex

Hook Claude Code

One of 6 in hooks.json

Runs when a session starts, executing session-start.cjs via node. From devcodex-labs/devcodex.

not rated 438 +1 6d ago A tokens not measured AGPL-3.0

PostToolUse

05

cloudwego/abcoder

Hook Claude Code

One of 3 in settings.json

Runs after a tool call finishes for Write, Edit, mcp__abcoder__list_repos, mcp__abcoder__get_repo_structure, mcp__abcoder__get_package_structure and mcp__abcoder__get_file_structure tool calls, executing need_update.sh, prompt.sh and reminder.sh (3 commands). From cloudwego/abcoder.

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

SessionStart

06

sendbird/cc-plugin-codex

Hook Claude Code

One of 4 in hooks.json

Runs when a session starts, executing session-lifecycle-hook.mjs via node. From sendbird/cc-plugin-codex.

not rated 224 +2 5d ago A tokens not measured original Apache-2.0

PreToolUse

07

arbiterForge/codeArbiter

Hook Claude Code

One of 6 in hooks.json

Runs before the agent uses a tool for Bash, shell_command, exec_command, unified_exec, apply_patch, Write, Edit, spawn_agent, collaborationspawn_agent, multi_agent_v1send_input, multi_agent_v1resume_agent, multi_agent_v1close_agent, collaborationsend_message, collaborationfollowup_task, collaborationinterrupt_agent…

not rated 149 +2 changed 6d ago A tokens not measured AGPL-3.0

PostToolUse

08

SaravananJaichandar/world-model-mcp

Hook Claude Code

One of 5 in settings.json

Runs after a tool call finishes for Edit, Write, Bash and Read tool calls, executing world-model-capture.js via node. From SaravananJaichandar/world-model-mcp.

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

Stop

09

oikon48/claudecode-book

Hook Claude Code

One of 4 in settings.json

A completion hook that displays a macOS notification when the coding agent finishes a response. A hook is an automatic action triggered by a specified event.

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

AfterAgent

10

richardcb/oh-my-gemini

Hook Claude Code

One of 6 in hooks.json

Runs on the AfterAgent event, executing phase-gate.js and ralph-retry.js via node (2 commands). From richardcb/oh-my-gemini.

not rated 18 7mo ago A tokens not measured original MIT

PreToolUse

11

Sungmin-Cho/deep-suite

Hook Claude Code

One of 4 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing denylist-guard.sh (13 commands). From Sungmin-Cho/deep-suite.

not rated 9 yesterday A ✓ AI review tokens not measured original MIT

SessionStart

12

opencue/cuecards

Hook Claude Code

One of 2 in settings.json

Runs when a session starts, executing check-codex-freshness.sh via bash. From opencue/cuecards.

not rated 6 today A tokens not measured copy · 42% MIT

SessionEnd

13

nikuscs/codex-multitask

Hook Claude Code

One of 2 in hooks.json

Runs when a session ends for startup and resume tool calls, executing session-lifecycle-hook.mjs via node with --show-toplevel. From nikuscs/codex-multitask.

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

BeforeModel

14

pangelini777/oh-my-gem

Hook Claude Code

One of 5 in hooks.json

Runs on the BeforeModel event, executing tmux_manager.py, keyword_detector.py, intent_gate.py and model_router.py via python3 (4 commands). From pangelini777/oh-my-gem.

not rated 2 5mo ago A tokens not measured

SubagentStart

15

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 26d ago 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: