PreToolUse
01Hook Codex
Runs before the agent uses a tool for Bash, Edit, Write and Bash tool calls, running echo "Running: $(jq -r '.tool_input.command' < /dev/stdin)" (2 commands). From sampleXbro/agentsmesh.
One reliable canonical source for AI coding agent rules, commands, skills, MCP, hooks, and permissions — synced across AI coding assistants.
Hook Codex
Runs before the agent uses a tool for Bash, Edit, Write and Bash tool calls, running echo "Running: $(jq -r '.tool_input.command' < /dev/stdin)" (2 commands). From sampleXbro/agentsmesh.
Hook Codex
Runs after a tool call finishes for Edit, Write, Edit, Write and Bash tool calls, running an inline shell check (2 commands). From sampleXbro/agentsmesh.
Hook Codex
Runs when you submit a prompt, before the agent sees it, running agentsmesh lessons hook. From sampleXbro/agentsmesh.
Hook Codex
Runs when a tool call fails, running agentsmesh lessons hook. From sampleXbro/agentsmesh.
Hook Codex
Runs when a session starts, running agentsmesh lessons hook. From sampleXbro/agentsmesh.