@hiro-c/agent-gate
v1.9.0
Published
Runtime rule enforcer for AI coding agents. Reads CLAUDE.md / AGENTS.md / .cursorrules and enforces them via Claude Code and Cursor hooks, with a deterministic safety baseline.
Downloads
160
Maintainers
Readme
agent-gate
Runtime rule enforcer for AI coding agents. Reads your CLAUDE.md / AGENTS.md / .cursorrules and enforces them at hook time in Claude Code, Gemini CLI, and Cursor.
hook → deterministic rules → AI validation → verdictQuick start
npm install -g @hiro-c/agent-gate
agent-gate installRestart Claude Code, then add an .agent-gate.config.ts at your project root. Without a config file the hook is registered but inactive.
Docs
- How it works and built-in safety rules
- Config and custom rules
- What gets sent to the model
- CLI, environment variables, supported tools
