PreToolUse
01wangbooth/Claude-Code-Guardrails
Hook Claude Code
Runs before the agent uses a tool for Write, Edit and MultiEdit tool calls, executing guard-branch.sh. From wangbooth/Claude-Code-Guardrails.
wangbooth/Claude-Code-Guardrails
Hook Claude Code
Runs before the agent uses a tool for Write, Edit and MultiEdit tool calls, executing guard-branch.sh. From wangbooth/Claude-Code-Guardrails.
wangbooth/Claude-Code-Guardrails
Hook Claude Code
Runs after a tool call finishes for Write, Edit and MultiEdit tool calls, executing auto-commit.sh. From wangbooth/Claude-Code-Guardrails.
wangbooth/Claude-Code-Guardrails
Hook Claude Code
Runs when the agent finishes a response, executing squash-checkpoints.sh. From wangbooth/Claude-Code-Guardrails.
wangbooth/Claude-Code-Guardrails
Hook Claude Code
Runs before the context is compacted, executing squash-checkpoints.sh. From wangbooth/Claude-Code-Guardrails.
wangbooth/Claude-Code-Guardrails
Settings file Claude Code
Agent settings declaring 4 hook events (PreToolUse, PostToolUse, Stop, PreCompact).
wangbooth/Claude-Code-Guardrails
Instructions file
Instructions for wangbooth/Claude-Code-Guardrails, covering claude.md, architecture, hook scripts (claude/hooks/), hook configuration (claude/settings.json) and installation system.