Skip to content

claude-gate v0.5.1

Choose a tag to compare

@github-actions github-actions released this 08 Mar 03:49
· 20 commits to main since this release

Install

Quick install (download binary)

# Download the binary
curl -L https://github.com/severeon/claude-gate/releases/download/v0.5.1/claude-gate-v0.5.1-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.5.1/claude-gate-v0.5.1-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.toml

Build from source

git clone https://github.com/severeon/claude-gate.git
cd claude-gate
./install.sh

Add 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.