BeforeAgent
01Hook Claude Code
One of 3 in hooks.json
Runs on the BeforeAgent event, executing wt.sh via bash. From max-sixty/worktrunk.
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
Hook Claude Code
One of 3 in hooks.json
Runs on the BeforeAgent event, executing wt.sh via bash. From max-sixty/worktrunk.
Hook Claude Code
One of 5 in hooks.json
Runs when a session starts, executing session-start.js via node. From SynkraAI/aiox-core.
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.
Hook Claude Code
One of 3 in hooks.json
Runs when a session starts, executing session-start.sh via bash. From AgentWorkforce/relay.
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.
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.
Hook Claude Code
Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From buildinternet/uploads.
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.
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.
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.
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.
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.
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: