agentic coding hooks

350 tagged agentic coding, measured the same way as everything else here.

Browse within: agentic-workflow 153agentic-engineering 92hooks 33agentic-development 27vibe-coding 23coding-agents 18agentic 17ai-coding-agent 15ai-memory 13context-management 13oh-my-opencode 11opencode 11Autonomous Agents 10ai-engineering 10

PreToolUse

01

shanraisshan/claude-code-best-practice

Hook Claude Code

Runs before the agent uses a tool, executing hooks.py via python3. From shanraisshan/claude-code-best-practice.

65k +74 today A tokens not measured original MIT

Setup

02

shanraisshan/claude-code-best-practice

Hook Claude Code

Runs once when the project is set up, executing hooks.py via python3. From shanraisshan/claude-code-best-practice.

65k +74 today A tokens not measured original MIT

FileChanged

03

shanraisshan/claude-code-best-practice

Hook Claude Code

Runs on the FileChanged event for .envrc, .env and .env.local tool calls, executing hooks.py via python3. From shanraisshan/claude-code-best-practice.

65k +74 today A tokens not measured original MIT

UserPromptSubmit

04

Yeachan-Heo/oh-my-claudecode

Hook

Runs when you submit a prompt, before the agent sees it, executing run.cjs via node (2 commands). From Yeachan-Heo/oh-my-claudecode.

39k yesterday A tokens not measured original MIT

SessionStart

05

Yeachan-Heo/oh-my-claudecode

Hook

Runs when a session starts on init and maintenance, executing run.cjs via node (5 commands). From Yeachan-Heo/oh-my-claudecode.

39k yesterday A tokens not measured original MIT

SessionEnd

06

Yeachan-Heo/oh-my-claudecode

Hook

Runs when a session ends, executing run.cjs via node (2 commands). From Yeachan-Heo/oh-my-claudecode.

39k yesterday A tokens not measured original MIT

SessionStart

07

mindfold-ai/Trellis

Hook Claude Code

Runs when a session starts on startup, clear and compact, executing session-start.py via python3 (3 commands). From mindfold-ai/Trellis.

14k 5d ago A tokens not measured AGPL-3.0

PreToolUse

08

mindfold-ai/Trellis

Hook Claude Code

Runs before the agent uses a tool for Task and Agent tool calls, executing inject-subagent-context.py via python3 (2 commands). From mindfold-ai/Trellis.

14k 5d ago A tokens not measured AGPL-3.0

UserPromptSubmit

09

mindfold-ai/Trellis

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing inject-workflow-state.py via python3. From mindfold-ai/Trellis.

14k 5d ago A tokens not measured AGPL-3.0

PreToolUse

11

FlorianBruniaux/claude-code-ultimate-guide

Hook Claude Code

Runs before the agent uses a tool for Bash, Edit and Write tool calls, executing dangerous-actions-blocker.sh via bash. From FlorianBruniaux/claude-code-ultimate-guide.

5.9k +10 today A tokens not measured CC-BY-SA-4.0

PostToolUse

12

FlorianBruniaux/claude-code-ultimate-guide

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, executing auto-format.sh, version-consistency-check.sh and activity-logger.sh via bash (3 commands). From FlorianBruniaux/claude-code-ultimate-guide.

5.9k +10 today A tokens not measured CC-BY-SA-4.0

PreToolUse

16

nizos/tdd-guard

Hook

Runs before the agent uses a tool for Write, Edit, MultiEdit and TodoWrite tool calls, running npx tdd-guard@latest. From nizos/tdd-guard.

2.3k 16d ago A tokens not measured original MIT

UserPromptSubmit

17

nizos/tdd-guard

Hook

Runs when you submit a prompt, before the agent sees it, running npx tdd-guard@latest. From nizos/tdd-guard.

2.3k 16d ago A tokens not measured original MIT

SessionStart

18

nizos/tdd-guard

Hook

Runs when a session starts on startup, resume and clear, running npx tdd-guard@latest. From nizos/tdd-guard.

2.3k 16d ago A tokens not measured original MIT

SessionStart

19

modu-ai/moai-adk

Hook Claude Code

Runs when a session starts on startup, resume, clear, compact and fork, running bash. From modu-ai/moai-adk.

1.2k yesterday A tokens not measured original Apache-2.0

PreToolUse

20

modu-ai/moai-adk

Hook Claude Code

Runs before the agent uses a tool for Write, Edit, Bash, Agent, Task, SendMessage and TaskStop tool calls, running bash (3 commands). From modu-ai/moai-adk.

1.2k yesterday A tokens not measured copy · 81% Apache-2.0

ConfigChange

21

modu-ai/moai-adk

Hook Claude Code

Runs on the ConfigChange event for project_settings, local_settings and skills tool calls, running bash. From modu-ai/moai-adk.

1.2k yesterday A tokens not measured copy · 81% Apache-2.0

PostCompact

22

tomasz-tomczyk/crit

Hook Claude Code

Runs after the context is compacted, running echo 'REMINDERS (things linters dont catch): 1) Verify all s. From tomasz-tomczyk/crit.

979 3d ago A tokens not measured original MIT

PermissionRequest

23

tomasz-tomczyk/crit

Hook

Runs when the agent asks permission for an action for ExitPlanMode tool calls, running crit plan-hook. From tomasz-tomczyk/crit.

979 3d ago A tokens not measured original MIT

PostToolUse

24

shanraisshan/codex-cli-best-practice

Hook Claude Code

Runs after a tool call finishes, executing hooks.py via python3. From shanraisshan/codex-cli-best-practice.

978 2mo ago A tokens not measured copy · 77% MIT