PreToolUse
01Hook Claude Code
Runs before the agent uses a tool for Bash tool calls, executing release-guard.sh. From ariaxhan/kernel-claude.
Claude Code learns from itself. Persistent memory, multi-agent orchestration, and a scientific experiment engine that proves which rules actually work.
Hook Claude Code
Runs before the agent uses a tool for Bash tool calls, executing release-guard.sh. From ariaxhan/kernel-claude.
Hook
Runs when a session starts, executing session-start.sh, autopush.sh and knowledge-graph.sh (3 commands). From ariaxhan/kernel-claude.
Hook
Runs after a tool call finishes for Bash, WebFetch, WebSearch, mcp__.*, Write and Edit tool calls, executing syntax-coach.py, scan-output.sh, log-write.sh and validate-json-schema.sh (4 commands). From ariaxhan/kernel-claude.
Hook
Runs when the agent asks permission for an action for Bash tool calls, executing auto-approve-safe.sh. From ariaxhan/kernel-claude.
Hook
Runs when a tool call fails for Edit, Write and Bash tool calls, executing capture-error.sh. From ariaxhan/kernel-claude.
Hook
Runs when you submit a prompt, before the agent sees it, executing context-usage.py, route-request.sh and post-compact-restore.sh (3 commands). From ariaxhan/kernel-claude.
Hook
Runs when the agent finishes a response, executing chronicle-gate.sh. From ariaxhan/kernel-claude.
Hook
Runs before the context is compacted, executing pre-compact-commit.sh. From ariaxhan/kernel-claude.
Hook
Runs when a session ends, executing session-end.sh. From ariaxhan/kernel-claude.