Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Run automatically on Claude Code events. Claude doesn't decide.
1 critical · 2 cautions to review before installing
A hook runs before every tool call and can block or approve it
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Policies allow your rules, often in natural language, to be expressed as policies; code. The policies are strict guardrails an AI Agent cannot bypass or disregard. Policies allow you to automate decisionmaking as well as guidance for AI Agents, letting them self-correct without interruption.
This repository contains only the Claude Code client. For the server reference implementation, see agent-policies-server.
claude plugin marketplace add Devleaps/marketplace
claude plugin install agent-policies@Devleaps-marketplace
graph TB
subgraph "Developer Machine"
Editor[Claude Code]
Client[agent-policies-claude-code]
end
subgraph "Policy Server"
Server[HTTP API]
Policies[Your policies<br/>kubectl, terraform, git, python, etc.]
end
Editor -->|PreToolUse / PostToolUse| Client
Client --> Server
Server -->|Events| Policies
Policies -->|Decision and Guidance| Server
Server --> Client
Client -->|Decision and Guidance| Editor
~/.agent-policies/config.json:
{
// Policy server endpoint. Default: "https://agent-policies.devleaps.nl"
"server_url": "http://localhost:8338",
// Policy bundles to activate. Default: ["universal"]
"bundles": ["universal", "python", "git"],
// What to do when the server returns no decision: "allow", "ask", "deny". Default: "ask"
"default_policy_behavior": "ask"
}
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
agent-policies@Devleaps-marketplace is listed by devleaps/marketplace — review the source before installing
npx claudepluginhub devleaps/marketplace --plugin agent-policiesPlugins from other owners that cover similar ground