ai-agents hooks

319 tagged ai-agents, measured the same way as everything else here.

Browse within: claude-code-plugin 273agentic-ai 179cli 171cursor 157LLM 119agent-orchestration 119agent-memory 116agentic-coding 105ai-coding 87agentic-workflow 79Multi-Agent 76ai-memory 69codex-cli 59agents 53

PreToolUse

73

erniker/understudy

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing guardrails-check.sh. From erniker/understudy.

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

PreToolUse

74

Najeebullah3124/awesome-claude-universe

Hook Claude Code

One of 6 in settings.json

Runs before the agent uses a tool, executing pre_tool_use.py. From Najeebullah3124/awesome-claude-universe.

not rated 2 1mo ago A tokens not measured

SessionStart

75

carlxien-blip/kaerai-orchestrator

Hook Claude Code

One of 4 in settings.json

Runs when a session starts, executing canonical-sync.sh. From carlxien-blip/kaerai-orchestrator.

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

PreToolUse

76

blackwell-systems/polywave-codex

Hook Claude Code

Runs before the agent uses a tool for ^Bash$, ^apply_patch$, ^mcp__lsp__(safe_edit, apply_edit, safe_apply_edit, simulate_edit, replace_symbol_body, safe_delete_symbol and commit_session)$ tool calls, running an inline shell check (3 commands). From blackwell-systems/polywave-codex.

not rated 2 6mo ago A tokens not measured

UserPromptSubmit

77

ShipToday/forge-plugin-codex

Hook Claude Code

One of 4 in hooks.json

Runs when you submit a prompt, before the agent sees it, executing prompt-router.cjs via node. From ShipToday/forge-plugin-codex.

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

SessionStart

78

phenomenoner/Chatgpt-Codex-App-Plus

Hook Claude Code

One of 3 in hooks.json

Runs when a session starts on ^(startup, resume, clear and compact)$, executing context_canvas.py via python3. From phenomenoner/Chatgpt-Codex-App-Plus.

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

PreToolUse

79

sdfdu/evopilot

Hook Claude Code

One of 3 in hooks.json

Runs before the agent uses a tool for Bash, apply_patch and mcp__.* tool calls, executing policy_gate.py via python. From sdfdu/evopilot.

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

SessionStart

80

kostya-pakhomov/graphmind

Hook Claude Code

One of 3 in hooks.json

Runs when a session starts, executing graphmind-session-start.mjs via node. From kostya-pakhomov/graphmind.

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

SessionStart

81

vignesh2027/AI-AGENT-SKILLS

Hook Claude Code

Runs when a session starts, executing session-start.sh via bash. From vignesh2027/AI-AGENT-SKILLS.

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

PreToolUse

82

fusengine/codex

Hook Claude Code

One of 7 in hooks.json

Runs before the agent uses a tool for Bash, apply_patch, spawn_agent and multi_agent_v1.spawn_agent tool calls, executing bin.mjs via bun (3 commands). From fusengine/codex.

not rated 2 1mo ago A tokens not measured

UserPromptSubmit

83

adarshj322/rishi-ai-mcp

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, running an inline shell check. From adarshj322/rishi-ai-mcp.

not rated 2 yesterday A tokens not measured original MIT

Stop

84

richer-richard/cc-research

Hook Claude Code

Runs when the agent finishes a response, executing audit.py via python3. From richer-richard/cc-research.

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

PreToolUse

85

alex-lamport/kaora-memory

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool for Write, Edit and MultiEdit tool calls, executing protect-credentials.sh. From alex-lamport/kaora-memory.

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

SessionStart

86

priyanshuchawda/tracepilot-gemini-cli

Hook Claude Code

Runs when a session starts, executing on-start.js via node. From priyanshuchawda/tracepilot-gemini-cli.

not rated 1 5mo ago A tokens not measured copy · 100% Apache-2.0

AfterAgent

87

JHdehao/gemini-mem-v3

Hook Claude Code

One of 3 in hooks.json

Runs on the AfterAgent event, executing hook-runner.cjs via node. From JHdehao/gemini-mem-v3.

not rated 1 7mo ago A tokens not measured copy · 100% MIT

SessionStart

88

Blekline/blekline-oss

Hook Claude Code

One of 4 in hooks.json

Runs when a session starts on startup and resume, executing blekline-session-start.sh. From Blekline/blekline-oss.

not rated 1 9d ago A tokens not measured AGPL-3.0

PreToolUse

89

bakalagoin/codinfy-agent-monitor

Hook Claude Code

One of 11 in settings.json

Runs before the agent uses a tool, executing codinfy-agent-monitor.js via node. From bakalagoin/codinfy-agent-monitor.

not rated 1 5mo ago A tokens not measured

SessionStart

90

jiangkoumo/agenttape

Hook Claude Code

One of 11 in hooks.json

Runs when a session starts, executing record-hook.mjs via node. From jiangkoumo/agenttape.

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

SessionStart

91

mp-juns/universal-research-mcp

Hook Claude Code

Runs when a session starts on ^(startup, resume, clear and compact)$, executing session_start.py via python3. From mp-juns/universal-research-mcp.

not rated 0 2mo ago A tokens not measured original MIT

PreToolUse

92

AnuwatThisuka/edgemem

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool, running an inline shell check. From AnuwatThisuka/edgemem.

not rated 0 5mo ago A tokens not measured

PreToolUse

93

javierfajardo85-rgb/aiaam-xyz

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing bash-firewall.sh. From javierfajardo85-rgb/aiaam-xyz.

not rated 0 5mo ago A tokens not measured archived

UserPromptSubmit

94

fantasyce/agent-recall-trail

Hook Claude Code

One of 2 in hooks.json

Runs when you submit a prompt, before the agent sees it, executing launch-mcp.sh with --agent. From fantasyce/agent-recall-trail.

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

SessionStart

95

shanmukha-here/agentroots

Hook Claude Code

One of 8 in hooks.json

Runs when a session starts, executing hook.mjs via node. From shanmukha-here/agentroots.

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

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: