Repository navigation
claude-gate v0.6.0
Install
Quick install (download binary)
# Download the binary
curl -L https://github.com/severeon/claude-gate/releases/download/v0.6.0/claude-gate-v0.6.0-macos-arm64 -o /usr/local/bin/claude-gate
chmod +x /usr/local/bin/claude-gate
# Download and seed default rules
curl -L https://github.com/severeon/claude-gate/releases/download/v0.6.0/claude-gate-v0.6.0-macos-arm64.tar.gz | tar xz -C /tmp default-rules.toml
mkdir -p ~/.config/claude-gate
cp /tmp/default-rules.toml ~/.config/claude-gate/rules.tomlBuild from source
git clone https://github.com/severeon/claude-gate.git
cd claude-gate
./install.shAdd hook to Claude Code
Add to ~/.claude/settings.json:
{
"hooks": {
"PreToolUse": [{
"matcher": "*",
"hooks": [{"type": "command", "command": "/usr/local/bin/claude-gate"}]
}]
}
}See README for full documentation.