PreToolUse
01Hook
Runs before the agent uses a tool for Bash, Task, Agent, SendMessage, Read, Edit, Write, Glob, Grep, WebSearch, WebFetch and NotebookEdit tool calls, executing pre_tool_use.py via python3 (5 commands). From metraton/gaia.
Security-first multi-agent orchestration plugin for Claude Code — classifies every command by risk, gates state-changing operations behind consent, injects project context, and routes work to specialist agents. One unified plugin.
Hook
Runs before the agent uses a tool for Bash, Task, Agent, SendMessage, Read, Edit, Write, Glob, Grep, WebSearch, WebFetch and NotebookEdit tool calls, executing pre_tool_use.py via python3 (5 commands). From metraton/gaia.
Hook
Runs after a tool call finishes for Bash, Task and AskUserQuestion tool calls, executing post_tool_use.py via python3 (3 commands). From metraton/gaia.
Hook
Runs when a subagent finishes, executing subagent_stop.py via python3. From metraton/gaia.
Hook
Runs when a session starts on startup, resume and compact, executing session_start.py via python3. From metraton/gaia.
Hook
Runs when a session ends, executing session_end_hook.py via python3. From metraton/gaia.
Hook
Runs before the context is compacted, executing pre_compact.py via python3. From metraton/gaia.
Hook
Runs after the context is compacted, executing post_compact.py via python3. From metraton/gaia.
Hook
Runs when the agent finishes a response, executing stop_hook.py via python3. From metraton/gaia.
Hook
Runs when a task is marked completed, executing task_completed.py via python3. From metraton/gaia.
Hook
Runs when a subagent starts, executing subagent_start.py via python3. From metraton/gaia.
Hook
Runs when you submit a prompt, before the agent sees it, executing user_prompt_submit.py via python3. From metraton/gaia.