agents hooks

425 tagged agents, measured the same way as everything else here.

Browse within: agentic-workflow 33hooks 26codex-cli 19Multi-Agent 16gemini 16agentic 15atif 14atof 14claude-code-skills 14coding 14dotfiles 14agentmemory 12claudecode 12markdown 12

SessionStart

01

rohitg00/agentmemory

Hook

Runs when a session starts, executing session-start.mjs via node. From rohitg00/agentmemory.

28k 8d ago A tokens not measured original Apache-2.0

UserPromptSubmit

02

rohitg00/agentmemory

Hook

Runs when you submit a prompt, before the agent sees it, executing prompt-submit.mjs via node. From rohitg00/agentmemory.

28k 8d ago A tokens not measured original Apache-2.0

PreToolUse

03

rohitg00/agentmemory

Hook

Runs before the agent uses a tool for Edit, Write, Read, Glob and Grep tool calls, executing pre-tool-use.mjs via node. From rohitg00/agentmemory.

28k 8d ago A tokens not measured original Apache-2.0

SessionStart

04

PrefectHQ/fastmcp

Hook Claude Code

Runs when a session starts, executing session-init.sh via bash. From PrefectHQ/fastmcp.

27k +29 today A tokens not measured copy · 53% Apache-2.0

SessionStart

05

gastownhall/beads

Hook

Runs when a session starts on startup, resume and clear, running bd codex-hook SessionStart. From gastownhall/beads.

27k +29 yesterday A tokens not measured original MIT

PreCompact

06

gastownhall/beads

Hook

Runs before the context is compacted for manual and auto tool calls, running bd codex-hook PreCompact. From gastownhall/beads.

27k +29 yesterday A tokens not measured original MIT

PostCompact

07

gastownhall/beads

Hook

Runs after the context is compacted for manual and auto tool calls, running bd codex-hook PostCompact. From gastownhall/beads.

27k +29 yesterday A tokens not measured original MIT

SessionStart

08

vectorize-io/hindsight

Hook

Runs when a session starts, executing session_start.py via python3. From vectorize-io/hindsight.

22k 2d ago A tokens not measured original MIT

UserPromptSubmit

09

vectorize-io/hindsight

Hook

Runs when you submit a prompt, before the agent sees it, executing recall.py via python3. From vectorize-io/hindsight.

22k 2d ago A tokens not measured original MIT

Stop

10

vectorize-io/hindsight

Hook

Runs when the agent finishes a response, executing retain.py via python3. From vectorize-io/hindsight.

22k 2d ago A tokens not measured original MIT

PostToolUse

11

Arize-ai/phoenix

Hook Claude Code

Runs after a tool call finishes for Write and Edit tool calls, running an inline shell check (5 commands). From Arize-ai/phoenix.

11k +28 today A tokens not measured

BeforeAgent

12

max-sixty/worktrunk

Hook

Runs on the BeforeAgent event, executing wt.sh via bash. From max-sixty/worktrunk.

6.8k 2d ago A tokens not measured

AfterAgent

13

max-sixty/worktrunk

Hook

Runs on the AfterAgent event, executing wt.sh via bash. From max-sixty/worktrunk.

6.8k 2d ago A tokens not measured

SessionEnd

14

max-sixty/worktrunk

Hook

Runs when a session ends, executing wt.sh via bash. From max-sixty/worktrunk.

6.8k 2d ago A tokens not measured

SessionStart

15

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

16

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

17

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

PostToolUse

18

entireio/cli

Hook Claude Code

Runs after a tool call finishes for Agent, TaskCreate and TaskUpdate tool calls, running an inline shell check (2 commands). From entireio/cli.

5.0k 2d ago A tokens not measured original MIT

PreToolUse

19

entireio/cli

Hook Claude Code

Runs before the agent uses a tool for Agent tool calls, running an inline shell check. From entireio/cli.

5.0k 2d ago A tokens not measured original MIT

SessionStart

20

entireio/cli

Hook Claude Code

Runs when a session starts, executing remote-setup.sh via bash (2 commands). From entireio/cli.

5.0k 2d ago A tokens not measured original MIT

PreToolUse

21

parcadei/Continuous-Claude-v3

Hook Claude Code

Runs before the agent uses a tool for Read, Edit, Write, Read, Grep, Task and Edit tool calls, executing pre-tool-use-broadcast.mjs, path-rules.mjs, tldr-read-enforcer.mjs, smart-search-router.mjs, tldr-context-inject.mjs, arch-context-inject.mjs, file-claims.mjs, edit-context-inject.mjs and signature-helper.mjs via…

3.9k 7mo ago A tokens not measured original MIT

SessionStart

22

parcadei/Continuous-Claude-v3

Hook Claude Code

Runs when a session starts on resume, compact, clear, startup and resume, executing persist-project-dir.sh, session_start.sh, session-register.mjs, hook_launcher.py, session-start-continuity.mjs and session-start-tldr-cache.mjs via bash (6 commands). From parcadei/Continuous-Claude-v3.

3.9k 7mo ago A tokens not measured original MIT

UserPromptSubmit

23

parcadei/Continuous-Claude-v3

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing skill-activation-prompt.mjs, hook_launcher.py, memory-awareness.mjs, impact-refactor.mjs and user_prompt_submit.sh via node (5 commands). From parcadei/Continuous-Claude-v3.

3.9k 7mo ago A tokens not measured original MIT

UserPromptSubmit

24

SynkraAI/aiox-core

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing synapse-wrapper.cjs via node. From SynkraAI/aiox-core.

3.1k 2d ago A tokens not measured