wangbooth

6 mods across 1 repository, 54 stars between them.

PreToolUse

01

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.

54 11mo ago A tokens not measured copy · 50% MIT

PostToolUse

02

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.

54 11mo ago A tokens not measured original MIT

Stop

03

wangbooth/Claude-Code-Guardrails

Hook Claude Code

Runs when the agent finishes a response, executing squash-checkpoints.sh. From wangbooth/Claude-Code-Guardrails.

54 11mo ago A tokens not measured copy · 47% MIT

PreCompact

04

wangbooth/Claude-Code-Guardrails

Hook Claude Code

Runs before the context is compacted, executing squash-checkpoints.sh. From wangbooth/Claude-Code-Guardrails.

54 11mo ago A tokens not measured original MIT

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.

54 11mo ago E 1,171 tokens original MIT