Agent Gate — Security skill for Claude Code
Unified hook handler for Agents: structured audit trail and regex enforcement for every LLM tool-call event.
How to install Agent Gate
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open agoodkind/agent-gate and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Gate does
Unified hook handler for Agents: structured audit trail and regex enforcement for every LLM tool-call event.
Alternatives in Security
- ThinkWatch — Self-hosted AI API and MCP gateway for organizations: SSO and RBAC, per-user identity for MCP tool calls, PII 817 ★
- Commit Hook Checklist — Audit commit-hook automation as gates against AI slop and broken commits (Node.js, Go, polyglot) 168 ★
- Loongsuite Pilot — Local-first telemetry collector for AI coding agents — unified OpenTelemetry events for Claude Code, Codex, Cu 150 ★
README
agent-gate
Agent Gate applies one daemon-owned rule set to Claude Code, Codex, Cursor, Gemini CLI, and GitHub Copilot Chat hooks. Provider hook processes transport JSON. The supervised daemon evaluates policy and records durable state.
curl -fsSL https://raw.githubusercontent.com/agoodkind/agent-gate/main/install.sh | bash
Start with the [Getting Started guide](docs/getting-started.md). Use the [Feature Guide](docs/features.md) for rule and query behavior. Read [Audit Storage](docs/audit-storage.md) before maintenance or upgrades.
The [Hook Inventory](HOOKS.md) lists registered events and managed templates. The [Hook Contract](docs/hook-schemas.md) defines payload and response behavior. The [Judge Architecture](docs/judge.md) explains inference evaluation. The [Contributor Guide](CONTRIBUTING.md) covers source development.
Related Skills
Obey
Rule enforcement plugin. Save rules with natural language, enforce with 17 lifecycle hooks. Three scopes (glob
Audit Hook Wiring
Validate ~/.claude/settings.json hooks block — event names, file existence, executability, matcher syntax; --f
UX Critique
Open-ended taste call on a specific surface. Not a structured audit — a designer's opinion. Returns 3 wins, 3
Bouncer
Independent quality gate that uses Gemini to audit Claude Code's output. Includes Stop hook (automatic), quick
Serio Focus
Agent law for a one-person organisation: egress lock, audit trail, verification gate and budget caps for Claud
Buster Claw
A macOS desktop app that gives your own Claude Code, Codex or OpenCode agent hands: a browser it can drive, yo
Related Agents
Review Synthesizer
Combines findings from 5 review personas into a unified synthesis. Deduplicates, classifies signal type, adds
Verifier Acceptance
Acceptance verification agent. Uses LLM judgment to assess spec coverage, acceptance criteria completion, gove
JS Error Handler Auditor
Use this agent when you need to audit a JavaScript codebase for unhandled errors in top-level async operations