agents hooks

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

Browse within: claude-code-plugin 68LLM 51cli 46agentic-ai 42agent 33agentic-workflow 33claude-plugin 33hooks 33ai-development 32langgraph 32gemini 27codex-cli 17Multi-Agent 16claude-code-skills 16

BeforeAgent

01

max-sixty/worktrunk

Hook Claude Code

One of 3 in hooks.json

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

not rated 9.3k +122 today A tokens not measured

SessionStart

02

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

PreToolUse

03

RyanAlberts/best-of-Agent-Harnesses

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing guard.sh. From RyanAlberts/best-of-Agent-Harnesses.

not rated 1.2k +109 4d ago A tokens not measured CC-BY-SA-4.0

SessionStart

04

AgentWorkforce/relay

Hook Claude Code

One of 3 in hooks.json

Runs when a session starts, executing session-start.sh via bash. From AgentWorkforce/relay.

not rated 885 +17 today A tokens not measured original Apache-2.0

Stop

05

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

PreCompact

06

dp-web4/SAGE

Hook Claude Code

One of 5 in settings.json

Runs before the context is compacted for manual and auto tool calls, running an inline shell check (2 commands). From dp-web4/SAGE.

not rated 28 +1 today A tokens not measured AGPL-3.0

PreToolUse

07

buildinternet/uploads

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From buildinternet/uploads.

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

PostToolUse

08

DorShaer/Husk

Hook Claude Code

One of 11 in hooks.json

Runs after a tool call finishes for Agent, WebFetch, WebSearch, AskUserQuestion, Write, Edit and MultiEdit tool calls, executing AgentInvocation.hook.ts, Safety.hook.ts, TabState.hook.ts, ISASync.hook.ts, CheckpointPerISC.hook.ts and EventLogger.hook.ts (11 commands). From DorShaer/Husk.

not rated 14 +1 4d ago A tokens not measured

UserPromptSubmit

09

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

SessionEnd

10

iLomer/Metho_agentic

Hook Claude Code

One of 4 in settings.json

Runs when a session ends, running echo '\n⚠️ Session ending — update your agent MEMORY.md bef. From iLomer/Metho_agentic.

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

PreToolUse

11

ThirdKeyAI/symbi-gemini-cli

Hook Claude Code

One of 2 in hooks.json

Runs before the agent uses a tool for write_file, replace, run_shell_command and symbi__* tool calls, executing policy-guard.sh and policy-log.sh (2 commands). From ThirdKeyAI/symbi-gemini-cli.

not rated 3 7mo ago A tokens not measured original Apache-2.0

PreToolUse

12

Ezee234/symbi-gemini-cli

Hook Claude Code

One of 2 in hooks.json

Runs before the agent uses a tool for write_file, replace, run_shell_command and symbi__* tool calls, executing policy-guard.sh and policy-log.sh (2 commands). From Ezee234/symbi-gemini-cli.

not rated 1 3d ago A tokens not measured copy · 100% 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: