ai hooks

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

Browse within: agentic-workflow 130agentic-coding 87agentic-engineering 84plugin 48chatgpt 45context-engineering 38ai-memory 36hooks 34agentic-development 33artificial-intelligence 28agent-memory 26python 26development 25Multi-Agent 23

SessionStart

01

openclaw/openclaw

Hook Claude Code

Runs when a session starts on startup, running an inline shell check. From openclaw/openclaw.

388k yesterday A tokens not measured

SessionStart

02

obra/superpowers

Hook

Runs when a session starts on startup, clear and compact, executing run-hook.cmd. From obra/superpowers.

280k +583 today A tokens not measured original MIT

SessionStart

04

google-gemini/gemini-cli

Hook

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

107k 2d ago A tokens not measured original Apache-2.0

SessionStart

05

thedotmack/claude-mem

Hook

Runs when a session starts, executing cmem-hook.mjs via node. From thedotmack/claude-mem.

93k 2d ago A tokens not measured original Apache-2.0

PostToolUse

06

thedotmack/claude-mem

Hook

Runs after a tool call finishes, executing cmem-hook.mjs via node. From thedotmack/claude-mem.

93k 2d ago A tokens not measured original Apache-2.0

PreToolUse

07

thedotmack/claude-mem

Hook

Runs before the agent uses a tool for Task and Agent tool calls, executing cmem-hook.mjs via node. From thedotmack/claude-mem.

93k 2d ago A tokens not measured original Apache-2.0

SessionStart

08

code-yeongyu/oh-my-openagent

Hook Claude Code

Runs when a session starts on startup, executing setup.sh via bash. From code-yeongyu/oh-my-openagent.

69k +28 today A tokens not measured

SessionEnd

09

code-yeongyu/oh-my-openagent

Hook Claude Code

Runs when a session ends, executing cleanup-hook.sh via bash. From code-yeongyu/oh-my-openagent.

69k +28 today A tokens not measured

SessionStart

10

headroomlabs-ai/headroom

Hook

Runs when a session starts on startup and resume, running headroom init hook ensure. From headroomlabs-ai/headroom.

68k +94 yesterday A tokens not measured original Apache-2.0

PreToolUse

11

headroomlabs-ai/headroom

Hook

Runs before the agent uses a tool for Bash and PowerShell tool calls, running headroom init hook ensure. From headroomlabs-ai/headroom.

68k +94 yesterday A tokens not measured original Apache-2.0

PreToolUse

12

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

13

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

14

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

SessionStart

15

mem0ai/mem0

Hook

Runs when a session starts on startup, resume and compact, executing ensure_deps.sh and on_session_start.sh (2 commands). From mem0ai/mem0.

64k 3d ago A tokens not measured original Apache-2.0

PreToolUse

16

mem0ai/mem0

Hook

Runs before the agent uses a tool for Write, Edit, MultiEdit, mcp__mem0__add_memory, mcp__plugin_mem0_mem0__add_memory, mcp__mem0__search_memories, mcp__plugin_mem0_mem0__search_memories, mcp__mem0__get_memories, mcp__plugin_mem0_mem0__get_memories, mcp__mem0__delete_all_memories…

64k 3d ago A tokens not measured original Apache-2.0

PostToolUse

17

mem0ai/mem0

Hook

Runs after a tool call finishes for mcp__mem0__.*, mcp__plugin_mem0_mem0__.* and Bash tool calls, executing on_post_tool_use.sh and on_bash_output.sh (2 commands). From mem0ai/mem0.

64k 3d ago A tokens not measured original Apache-2.0

Stop

18

MemPalace/mempalace

Hook Claude Code

Runs when the agent finishes a response, executing mempal-stop-hook.sh via bash. From MemPalace/mempalace.

59k +10 yesterday A tokens not measured copy · 55% MIT

SessionEnd

19

MemPalace/mempalace

Hook Claude Code

Runs when a session ends, executing mempal-session-end-hook.sh via bash. From MemPalace/mempalace.

59k +10 yesterday A tokens not measured copy · 58% MIT

PreCompact

20

MemPalace/mempalace

Hook Claude Code

Runs before the context is compacted, executing mempal-precompact-hook.sh via bash. From MemPalace/mempalace.

59k +10 yesterday A tokens not measured copy · 63% MIT

SessionStart

21

aaif-goose/goose

Hook

Runs when a session starts, executing announce.sh. From aaif-goose/goose.

54k +42 today A tokens not measured original Apache-2.0

UserPromptSubmit

22

aaif-goose/goose

Hook

Runs when you submit a prompt, before the agent sees it, executing announce.sh. From aaif-goose/goose.

54k +42 today A tokens not measured original Apache-2.0

PostToolUse

23

aaif-goose/goose

Hook

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

54k +42 today A tokens not measured original Apache-2.0

PreToolUse

24

heygen-com/hyperframes

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, running node -e ". From heygen-com/hyperframes.

43k yesterday A tokens not measured original Apache-2.0