ai coding hooks

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

Browse within: agentic-coding 41codex-cli 29agentic-workflow 26ai-security 25code-quality 22ai-engineering 17coding-agent 17ai-memory 16knowledge-graph 16spec-driven-development 16agent-orchestration 14claude-code-skills 14macos 14context-management 13

PreToolUse

49

roboticforce/sugar

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From roboticforce/sugar.

93 8d ago A tokens not measured

PostToolUse

50

roboticforce/sugar

Hook Claude Code

Runs after a tool call finishes for Bash and Bash tool calls, running an inline shell check (2 commands). From roboticforce/sugar.

93 8d ago A tokens not measured

Notification

51

roboticforce/sugar

Hook Claude Code

Runs when the agent sends a notification, running echo 'Sugar notification hook'. From roboticforce/sugar.

93 8d ago A tokens not measured

PreToolUse

52

ShipWithAI/claude-code-mastery

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing npm-audit-check.sh. From ShipWithAI/claude-code-mastery.

93 1mo ago A tokens not measured original MIT

PostToolUse

53

ShipWithAI/claude-code-mastery

Hook Claude Code

Runs after a tool call finishes for Bash tool calls, executing post-install-audit.sh. From ShipWithAI/claude-code-mastery.

93 1mo ago A tokens not measured original MIT

SessionStart

54

thiientv/godmode

Hook

Runs when a session starts, executing session-start.sh via bash. From thiientv/godmode.

93 7d ago A tokens not measured copy · 55% MIT

SessionStart

55

greenpolo/cc-multi-cli-plugin

Hook

Runs when a session starts, executing session-lifecycle-hook.mjs via node. From greenpolo/cc-multi-cli-plugin.

89 16d ago A tokens not measured copy · 61% Apache-2.0

SessionEnd

56

greenpolo/cc-multi-cli-plugin

Hook

Runs when a session ends, executing session-lifecycle-hook.mjs via node. From greenpolo/cc-multi-cli-plugin.

89 16d ago A tokens not measured copy · 100% Apache-2.0

Stop

57

greenpolo/cc-multi-cli-plugin

Hook

Runs when the agent finishes a response, executing stop-review-gate-hook.mjs via node. From greenpolo/cc-multi-cli-plugin.

89 16d ago A tokens not measured copy · 56% Apache-2.0

PreToolUse

58

assaio/assaio

Hook Claude Code

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

76 4d ago A tokens not measured original Apache-2.0

PreToolUse

59

ivan-magda/claude-code-plugin-template

Hook

Runs before the agent uses a tool for Write and Edit tool calls, executing validate-plugin.sh. From ivan-magda/claude-code-plugin-template.

68 +1 2mo ago A tokens not measured original MIT

PostToolUse

60

ivan-magda/claude-code-plugin-template

Hook

Runs after a tool call finishes for Write and Edit tool calls, executing format-or-lint.sh. From ivan-magda/claude-code-plugin-template.

68 +1 2mo ago A tokens not measured original MIT

SessionStart

61

ivan-magda/claude-code-plugin-template

Hook

Runs when a session starts on startup, running echo '✓ plugin-development loaded: Use /plugin-development:i. From ivan-magda/claude-code-plugin-template.

68 +1 2mo ago A tokens not measured original MIT

PreToolUse

62

alperhankendi/Ctxo

Hook Claude Code

Runs before the agent uses a tool for Write tool calls, executing check-file-naming.sh and check-test-location.sh via bash (2 commands). From alperhankendi/Ctxo.

66 8d ago A tokens not measured original MIT

PostToolUse

63

alperhankendi/Ctxo

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, executing check-console-log.sh, check-architecture-boundary.sh and format-typescript.sh via bash (3 commands). From alperhankendi/Ctxo.

66 8d ago A tokens not measured original MIT

SessionStart

64

jrenaldi79/harness-engineering

Hook Claude Code

Runs when a session starts, executing install-hooks.sh with --short. From jrenaldi79/harness-engineering.

66 5mo ago A tokens not measured original MIT

PreToolUse

65

ThisIsSadeghi/KMPilot

Hook Claude Code

Runs before the agent uses a tool for Edit and Write tool calls, executing protect-feature-files.sh. From ThisIsSadeghi/KMPilot.

56 +1 24d ago A tokens not measured copy · 45% MIT

SessionStart

66

ThisIsSadeghi/KMPilot

Hook Claude Code

Runs when a session starts on compact, executing reinject-on-compact.sh. From ThisIsSadeghi/KMPilot.

56 +1 24d ago A tokens not measured original MIT

SessionStart

67

Kanevry/session-orchestrator

Hook Claude Code

Runs when a session starts on ., running an inline shell check. From Kanevry/session-orchestrator.

49 4d ago A tokens not measured original MIT

PostToolUse

68

Kanevry/session-orchestrator

Hook Claude Code

Runs after a tool call finishes for Write, Edit, Write, Edit, Write and Edit tool calls, executing .test.ts with --write (3 commands). From Kanevry/session-orchestrator.

49 4d ago A tokens not measured original MIT

PreToolUse

69

Kanevry/session-orchestrator

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From Kanevry/session-orchestrator.

49 4d ago A tokens not measured original MIT

SessionStart

70

primeline-ai/evolving-lite

Hook

Runs when a session starts on startup, resume, clear, compact, startup, startup and resume, executing health-sentinel.sh and run-py.sh via bash with --session-start and --trigger (9 commands). From primeline-ai/evolving-lite.

48 15d ago A tokens not measured original MIT

PreToolUse

71

primeline-ai/evolving-lite

Hook

Runs before the agent uses a tool for Bash, Write, Edit, Bash, Task, Task and Agent tool calls, executing run-py.sh and context-warning.sh via bash (4 commands). From primeline-ai/evolving-lite.

48 15d ago A tokens not measured original MIT

PostToolUse

72

primeline-ai/evolving-lite

Hook

Runs after a tool call finishes for Write, Edit, Bash, Task, Skill, Write, Edit, WebFetch, mcp__firecrawl__firecrawl_scrape, mcp__firecrawl__firecrawl_search, mcp__firecrawl__firecrawl_extract, mcp__firecrawl__firecrawl_crawl and mcp__firecrawl__firecrawl_agent tool calls, executing run-py.sh via bash (3 commands).…

48 15d ago A tokens not measured original MIT