ai hooks

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

Browse within: cli 220agents 188LLM 180agentic-ai 158claude-code-plugin 107agentic-workflow 105ai-tools 98agent 91cursor 71chatgpt 63agentic-coding 58agentic-engineering 54ai-coding 54plugin 54

SessionStart

01

google-gemini/gemini-cli

Hook Claude Code ✓ vendor

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

not rated 107k +124 today A ✓ AI review tokens not measured original Apache-2.0

PostToolUse

02

aaif-goose/goose

Hook Claude Code

One of 4 in hooks.json

Runs after a tool call finishes for developer__shell and developer__text_editor tool calls, executing announce.sh. From aaif-goose/goose.

not rated 55k +213 today A ✓ AI review tokens not measured original Apache-2.0

PostToolUse

03

danielmiessler/LifeOS

Hook Claude Code

One of 11 in hooks.json

Runs after a tool call finishes for Agent, WebFetch, WebSearch, mcp__.*, ToolSearch, AskUserQuestion, Read, Write, Edit, MultiEdit and Bash tool calls, executing AgentInvocation.hook.ts, Safety.hook.ts, TabState.hook.ts, ISAStaleWriteGuard.hook.ts, ISASync.hook.ts, CheckpointPerISC.hook.ts, ConfigEvalFire.hook.ts…

not rated 19k +88 1mo ago A ✓ AI review tokens not measured original MIT

PostToolUse

04

vercel/streamdown

Hook Claude Code ✓ vendor

One of 2 in settings.json

Runs after a tool call finishes for Edit and Write tool calls, running npx ultracite fix. From vercel/streamdown.

not rated 5.7k +17 today A tokens not measured

SessionStart

05

code-yeongyu/lazycodex

Hook Claude Code

Runs when a session starts, executing cli.js via node. From code-yeongyu/lazycodex.

not rated 3.8k +31 changed 2d ago A tokens not measured original MIT

SessionStart

06

fuxicodex/Fuxi

Hook Claude Code

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

not rated 3.3k +10 changed 16d ago A tokens not measured

SessionStart

07

SynkraAI/aiox-core

Hook Claude Code

One of 5 in hooks.json

Runs when a session starts, executing session-start.js via node. From SynkraAI/aiox-core.

not rated 3.1k +3 yesterday A tokens not measured

PostToolUse

08

alibaba/skill-up

Hook Claude Code ✓ vendor

One of 4 in hooks.json

Runs after a tool call finishes for ^mcp__skill_up_observer__(mark_skill_invocation, attach_skill_evidence and record_skill_feedback)$ tool calls, executing observer.py via python3. From alibaba/skill-up.

not rated 1.2k +51 2d ago A tokens not measured original Apache-2.0

BeforeTool

09

ooples/token-optimizer-mcp

Hook Claude Code

One of 4 in hooks.json

Runs on the BeforeTool event for read_file, search_file_content, glob, replace, write_file and run_shell_command tool calls, executing pre-tool.mjs via node. From ooples/token-optimizer-mcp.

not rated 548 +7 yesterday A tokens not measured original MIT

BeforeAgent

10

galdawave/pickle-rick-extension

Hook Claude Code

One of 3 in hooks.json

Runs on the BeforeAgent event, executing dispatch.js via node (2 commands). From galdawave/pickle-rick-extension.

not rated 453 +1 5mo ago A tokens not measured original Apache-2.0

SessionStart

11

agenticmail/agenticmail

Hook Claude Code

One of 3 in hooks.json

Runs when a session starts, running agenticmail-codex-mail-hook. From agenticmail/agenticmail.

not rated 237 +1 2d ago A tokens not measured original MIT

PreToolUse

12

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 5d ago A tokens not measured AGPL-3.0

SessionStart

13

FareedKhan-dev/claude-code-staff-engineer

Hook Claude Code

Runs when a session starts on startup, clear and compact, executing run-hook.cmd. From FareedKhan-dev/claude-code-staff-engineer.

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

SessionStart

14

vouchdev/vouch

Hook Claude Code

One of 4 in settings.json

Runs when a session starts, running an inline shell check (4 commands). From vouchdev/vouch.

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

Stop

15

DekaPrayoga/AurixAgent

Hook Claude Code

One of 7 in hooks.json

Runs when the agent finishes a response, executing run-with-flags.js via node (6 commands). From DekaPrayoga/AurixAgent.

not rated 62 +1 2mo ago A tokens not measured

SubagentStop

16

jubscodes/get-shit-pretty

Hook Claude Code

One of 3 in hooks.json

Runs when a subagent finishes for gsp-project-designer, gsp-project-researcher, gsp-project-critic, gsp-brand-creative-director, gsp-brand-engineer, gsp-project-builder, gsp-project-reviewer, gsp-accessibility-auditor, gsp-brand-auditor, gsp-brand-researcher, gsp-brand-strategist, gsp-polisher and gsp-brand-coherence…

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

PostToolUse

17

aleclindz/seo-skill-bench

Hook Claude Code

One of 3 in settings.json

Runs after a tool call finishes for Write and Edit tool calls, running an inline shell check. From aleclindz/seo-skill-bench.

not rated 51 yesterday A tokens not measured original MIT

PostToolUse

18

caretive-ai/project-careti

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Edit and Write tool calls, executing sync-agent-rules.js via node. From caretive-ai/project-careti.

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

Stop

19

seite-sh/seite

Hook Claude Code

One of 2 in settings.json

Runs when the agent finishes a response, running seite check --hook claude. From seite-sh/seite.

not rated 25 +3 6d ago A tokens not measured original MIT

PreToolUse

20

RealManage/dx-training

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool for Bash and Edit tool calls, running an inline shell check (2 commands). From RealManage/dx-training.

not rated 10 3mo ago A tokens not measured

UserPromptSubmit

21

agentproto/ts

Hook Claude Code

One of 3 in settings.json

Runs when you submit a prompt, before the agent sees it, executing user-prompt-submit.mjs. From agentproto/ts.

not rated 10 today A tokens not measured original Apache-2.0

Stop

22

777genius/lintai

Hook Claude Code

One of 2 in settings.json

Runs when the agent finishes a response, running echo done. From 777genius/lintai.

not rated 9 1mo ago A tokens not measured

PreToolUse

23

anthillnet/sinain-hud

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool, executing approve-tool.sh. From anthillnet/sinain-hud.

not rated 9 24d ago A tokens not measured

PostToolUse

24

Justdvp/claude-code-templates

Hook Claude Code

One of 5 in settings.json

Runs after a tool call finishes for Write, Edit, MultiEdit, Write, Edit, MultiEdit, Write, Edit, MultiEdit, Write, Edit and MultiEdit tool calls, running an inline shell check (4 commands). From Justdvp/claude-code-templates.

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