ai-agent hooks

286 tagged ai-agent, measured the same way as everything else here.

Browse within: claude-code-plugin 104ai-coding 57agentic-coding 47agent-tracing 35ai-observability 35hooks 33autonomous-agent 31agent-failure 25agent-memory 25agent-reliability 25reliability 25agentic-workflow 23auto-learning 20best-practices 20

PreToolUse

49

kevinlin/cowork-z

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool for Edit, Write and MultiEdit tool calls, running an inline shell check. From kevinlin/cowork-z.

not rated 13 20d ago A tokens not measured original MIT

PreToolUse

50

byh3071-cpu/vhk

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool for Bash and PowerShell tool calls, executing check-records.mjs via node with --hook. From byh3071-cpu/vhk.

not rated 12 yesterday A tokens not measured original MIT

PreToolUse

51

mishahanin/heading-os

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Read, Write, Edit, MultiEdit, NotebookEdit, Grep and Glob tool calls, executing data-path-redirect.py via python3. From mishahanin/heading-os.

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

PostToolUse

52

KyaniteHQ/linctl

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Write and Edit tool calls, running an inline shell check. From KyaniteHQ/linctl.

not rated 11 5d ago A tokens not measured original MIT

SessionStart

53

juanje/agentic-buddy

Hook Claude Code

One of 4 in settings.json

Runs when a session starts, executing session-start.py and auto-consolidate.py via python3 (2 commands). From juanje/agentic-buddy.

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

PostToolUse

54

Caspian-Sun/claude-code-workflow

Hook Claude Code

One of 4 in settings.json

Runs after a tool call finishes for Edit and Write tool calls, executing check-hardcode.sh. From Caspian-Sun/claude-code-workflow.

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

SessionStart

55

event4u-app/agent-config

Hook

One of 9 in hooks.json

Runs when a session starts, executing dispatch.js with --platform, --event and --native-event. From event4u-app/agent-config.

not rated 10 today A tokens not measured original MIT

PreToolUse

56

klarlabs-studio/scout

Hook Claude Code

One of 4 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing pre-commit.sh. From klarlabs-studio/scout.

not rated 11 yesterday A tokens not measured original MIT

BeforeTool

57

itallstartedwithaidea/google-ads-gemini-extension

Hook

One of 2 in hooks.json

Runs on the BeforeTool event for run_gaql tool calls, executing validate-gaql.js via node. From itallstartedwithaidea/google-ads-gemini-extension.

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

PreToolUse

58

MangroveTechnologies/mangrove-agent

Hook Claude Code

One of 4 in settings.json

Runs before the agent uses a tool for Bash and mcp__mangrove-agent__execute_swap tool calls, executing block-main-commits.sh and preflight-swap.sh (2 commands). From MangroveTechnologies/mangrove-agent.

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

PreToolUse

60

yogasw/wick

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing ensure-docs-synced.sh. From yogasw/wick.

not rated 5 today A tokens not measured copy · 50% MIT

PreToolUse

61

fruggr/zendesk-mcp-server

Hook Claude Code

One of 4 in settings.json

Runs before the agent uses a tool for mcp__github__create_pull_request, mcp__github__update_pull_request, mcp__github__add_issue_comment, mcp__github__add_comment_to_pending_review, mcp__github__add_reply_to_pull_request_comment, mcp__github__pull_request_review_write and mcp__github__issue_write tool calls, running…

not rated 4 today A tokens not measured original MIT

SessionStart

62

sefaertunc/Worclaude

Hook Claude Code

One of 12 in settings.json

Runs when a session starts, running an inline shell check. From sefaertunc/Worclaude.

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

PostToolUse

63

TranHuyQn/cc-chrome-extension

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Write and Edit tool calls, running an inline shell check. From TranHuyQn/cc-chrome-extension.

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

PostToolUse

64

vishnu2kmohan/mcp-server-langgraph

Hook Claude Code

One of 6 in settings.json

Runs after a tool call finishes for Edit(**src/**), Write(**src/**), Edit(**tests/**), Write(**tests/**), Bash(**git commit**), Bash(**git pull**), Bash(**git checkout**) and Bash(**git merge**) tool calls, executing update-context-files.py via python with --diff, --quiet, --fix, --recent-work, --show-current…

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

PreToolUse

65

PrintrFi/printr-mcp

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool for Bash, Edit and Write tool calls, executing pre-tool.sh via bash. From PrintrFi/printr-mcp.

not rated 3 1mo ago A tokens not measured

Stop

66

VibeTechnologies/vibe-mcp

Hook Claude Code

One of 2 in settings.json

Runs when the agent finishes a response, executing task-readiness-check.cjs via node. From VibeTechnologies/vibe-mcp.

not rated 3 12d ago A tokens not measured original Apache-2.0

PreToolUse

67

FynePool/job-hunter-template

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Edit and Write tool calls, executing protect-files.sh. From FynePool/job-hunter-template.

not rated 3 11d ago A tokens not measured

SessionStart

68

masa-san-jp/Agent-Aiko

Hook

One of 3 in hooks.json

Runs when a session starts, executing aiko-session-context.mjs via node. From masa-san-jp/Agent-Aiko.

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

SessionStart

69

fivetaku/idea-lab

Hook Claude Code

One of 2 in settings.json

Runs when a session starts on startup, executing session-start.sh via bash. From fivetaku/idea-lab.

not rated 2 yesterday A tokens not measured copy · 47% MIT

PostToolUse

70

shelby-protocol/memory-forge

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Edit and Write tool calls, running an inline shell check. From shelby-protocol/memory-forge.

not rated 2 2mo ago A tokens not measured

PreToolUse

71

shyamsridhar123/BOB

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Glob and Grep tool calls, running an inline shell check. From shyamsridhar123/BOB.

not rated 2 4mo ago A tokens not measured

PreToolUse

72

TerminatrX/agenticTrader

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Edit, Write, MultiEdit, NotebookEdit, Bash and PowerShell tool calls, executing guard_risk_config.py via python (2 commands). From TerminatrX/agenticTrader.

not rated 2 9d 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: