agoodkind

Agent Gate — Security skill for Claude Code

Security community

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.