artificial intelligence hooks

53 tagged artificial intelligence, measured the same way as everything else here.

Browse within: ai-memory 20Autonomous Agents 8bft-consensus 6bft-network 6distributed-systems 6governance 6agentic-coding 5analyzing 5generative-ai 5software-engineering 5

SessionStart

01

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

02

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

03

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

PostToolUse

04

vercel/ai

Hook Claude Code

Runs after a tool call finishes for Write and Edit tool calls, running pnpm fix. From vercel/ai.

27k +14 today A tokens not measured

PreToolUse

05

dyad-sh/dyad

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing gh-permission-hook.py and python-permission-hook.py (2 commands). From dyad-sh/dyad.

21k 2d ago A tokens not measured

SessionStart

06

dyad-sh/dyad

Hook Claude Code

Runs when a session starts, running npm install. From dyad-sh/dyad.

21k 2d ago A tokens not measured

PostToolUse

07

semantica-agi/semantica

Hook

Runs after a tool call finishes for Write, Edit, Write and Edit tool calls, running an inline shell check (2 commands). From semantica-agi/semantica.

11k yesterday A tokens not measured original MIT

PreToolUse

08

semantica-agi/semantica

Hook

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

11k yesterday A tokens not measured original MIT

SessionStart

09

potpie-ai/potpie

Hook

Runs when a session starts, executing potpie_nudge.py via python3 with --harness and --event. From potpie-ai/potpie.

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

PreToolUse

10

potpie-ai/potpie

Hook

Runs before the agent uses a tool for Write, Edit, MultiEdit, NotebookEdit and Bash tool calls, executing potpie_nudge.py via python3 with --harness and --event (2 commands). From potpie-ai/potpie.

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

PostToolUse

11

potpie-ai/potpie

Hook

Runs after a tool call finishes for Bash tool calls, executing potpie_nudge.py via python3 with --harness and --event. From potpie-ai/potpie.

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

SessionStart

12

activeloopai/hivemind

Hook

Runs when a session starts, executing session-start.js, session-notifications.js and session-start-setup.js via node (3 commands). From activeloopai/hivemind.

1.6k 11d ago A tokens not measured original Apache-2.0

UserPromptSubmit

13

activeloopai/hivemind

Hook

Runs when you submit a prompt, before the agent sees it, executing capture.js and recall.js via node (2 commands). From activeloopai/hivemind.

1.6k 11d ago A tokens not measured original Apache-2.0

PreToolUse

14

activeloopai/hivemind

Hook

Runs before the agent uses a tool, executing pre-tool-use.js via node. From activeloopai/hivemind.

1.6k 11d ago A tokens not measured copy · 48% Apache-2.0

PreCompact

15

ownpilot/OwnPilot

Hook Claude Code

Runs before the context is compacted, running dfmt recall --save --format md. From ownpilot/OwnPilot.

426 1mo ago A tokens not measured original MIT

PreToolUse

16

ownpilot/OwnPilot

Hook Claude Code

Runs before the agent uses a tool for Bash, Read, WebFetch, Grep, Task, Edit, Write and Glob tool calls, running dfmt hook claude-code pretooluse. From ownpilot/OwnPilot.

426 1mo ago A tokens not measured original MIT

SessionStart

17

ownpilot/OwnPilot

Hook Claude Code

Runs when a session starts, running an inline shell check. From ownpilot/OwnPilot.

426 1mo ago A tokens not measured original MIT

PreCompact

18

l33tdawg/sage

Hook Claude Code

Runs before the context is compacted, executing sage-pre-compact.sh via bash. From l33tdawg/sage.

244 2d ago A tokens not measured original Apache-2.0

SessionEnd

19

l33tdawg/sage

Hook Claude Code

Runs when a session ends, executing sage-session-end.sh via bash. From l33tdawg/sage.

244 2d ago A tokens not measured original Apache-2.0

SessionStart

20

l33tdawg/sage

Hook Claude Code

Runs when a session starts on startup, resume and compact, executing sage-session-start.sh via bash (3 commands). From l33tdawg/sage.

244 2d ago A tokens not measured original Apache-2.0

SessionStart

22

rse/ase

Hook

Runs when a session starts, running ase hook session-start. From rse/ase.

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

SessionEnd

23

rse/ase

Hook

Runs when a session ends, running ase hook session-end. From rse/ase.

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

PreToolUse

24

rse/ase

Hook

Runs before the agent uses a tool, running ase hook pre-tool-use. From rse/ase.

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