Registry / wshobson

wshobson/agents/policy-enforcer

Cedar policy author and reviewer for Claude Code tool calls. Writes, audits, and explains Cedar policies that govern Bash, Edit, Write, WebFetch, and other tools. Use when you need declarative, formally verifiable rules for what an AI agent can and cannot do in a project.

AI agent · version 0.0.0-main.1794313582.g9c61ab2 · from wshobson/agents

Install

npx yarkr-cli add agent:wshobson/agents/policy-enforcer

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add agent:wshobson/agents/policy-enforcer
wget -qO- https://yarkr.com/install.sh | sh -s -- add agent:wshobson/agents/policy-enforcer

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add agent:wshobson/agents/policy-enforcer

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.