Repository navigation
claude-gate v0.4.2
Install
Quick install (download binary)
Build from source
Building claude-gate...
Building for production...
[0/10] Write sources
[2/10] Write swift-version--58304C5D6DBC2206.txt
[3/10] Compiling Conversion.cpp
[4/10] Compiling Date&Time&DateTime.cpp
[5/10] Compiling Node.cpp
[6/10] Compiling Array.cpp
[7/10] Compiling Table.cpp
[9/11] Compiling TOMLKit InternalTOMLDecoder.swift
[10/12] Compiling claude_gate AuditLog.swift
[10/12] Write Objects.LinkFileList
[11/12] Linking claude-gate
Build complete! (12.36s)
Installing binary to /usr/local/bin...
Seeding default config...
/Users/tquick/.config/claude-gate/rules.toml already exists, skipping.
Add this to ~/.claude/settings.json:
"hooks": {
"PreToolUse": [{
"matcher": "*",
"hooks": [{"type": "command", "command": "/usr/local/bin/claude-gate"}]
}]
}
Done.
Add hook to Claude Code
Add to :
See README for full documentation.