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.
By instruxi-iov1.14.1In 1 marketplace
Connects Claude Code to your Enforcer workspace: the Enforcer MCP server, one sign-in, /enforcer:setup, the graph worker (skill, agent, self-gating hooks, dispatcher) and the governor.
You run one by typing its /name in Claude Code.
1 critical · 4 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
Connects to a remote server outside your machine
1 marketplace, most starred first
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
A command runs shell commands (! syntax) when you invoke it
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Install with your harness's own plugin manager. Nothing is copied or shimmed.
# Claude Code
claude plugin marketplace add instruxi-io/agent-plugins && claude plugin install enforcer@instruxi
# Grok Build
grok plugin marketplace add instruxi-io/agent-plugins && grok plugin install enforcer --trust
# Codex (beta: hooks and skills load; the enforcer MCP sign-in under Codex is not working yet)
codex plugin marketplace add instruxi-io/agent-plugins && codex plugin add enforcer@instruxi
# OpenClaw (native plugin: MCP, skills, telemetry to governance; needs OpenClaw >= 2026.10.8)
openclaw plugins install @openclaw/diagnostics-otel && openclaw plugins install enforcer --marketplace instruxi-io/agent-plugins
# Cursor: the plugin (.cursor-plugin/plugin.json) or the hooks, not both. Guide: docs/CURSOR.md
enforcer harness install cursor # ~/.cursor/hooks.json; --repo . for a committable .cursor/hooks.json
# Hermes Agent (telemetry to governance; needs the CLI below, signed in; see harness/hermes/README.md)
hermes plugins install instruxi-io/agent-plugins/enforcer/harness/hermes --enable
# CLI (GitHub Packages: ~/.npmrc needs the two lines below)
# @instruxi-io:registry=https://npm.pkg.github.com
# //npm.pkg.github.com/:_authToken=<GitHub token with read:packages>
npm i -g @instruxi-io/enforcer
Then sign in with /enforcer:login (or enforcer login) for the CLI, the governor hooks, and Claude Code's header helper. Cursor's MCP entry is the URL in mcp.json and does not read that credential file. Native Cursor OAuth is UNVERIFIED, pending Engineering (CR-4): see docs/CURSOR.md.
Under Cursor, use one way in: the plugin, or enforcer harness install cursor (user or --repo), not both. The installer refuses when the enforcer Cursor plugin, the other scope's hooks.json, or a hand-wired enforcer hook would also fire (--force installs anyway), and backs up an existing hooks.json before its first write. Should two hooks fire for one call anyway (including the Claude Code hooks Cursor imports), enforcer decides and meters it once and the others echo that answer. Cursor does not ask on a tool call, so a governor ask is a deny there, with a message that approval is required. That deny is not an approval dialog, and it does not run for a bare MCP client. Spend Cursor did not report reads unmetered, and models without a price unpriced:<id>, rather than $0 or an estimate. The workflow tool list, scopes, roles, and write-safety boundary are in docs/CURSOR.md.
Under OpenClaw, the Gateway keeps OpenClaw's own diagnostics-otel exporter pointed at Enforcer governance: metrics only (cost, tokens, model calls, tools, sessions; no traces, no log records, no prompt or response text), authenticated with a telemetry-only key minted for openclaw@<host> and written into ~/.openclaw/openclaw.json (0600). It never touches a diagnostics.otel that points at another collector. enforcer harness status openclaw shows the state; openclaw config set plugins.entries.enforcer.config.telemetry false turns it off, as does disabling the agent in the Enforcer console. Sign in once with enforcer login, and the MCP server with openclaw mcp login enforcer. enforcer logout takes the telemetry key out of the Codex, Gemini CLI and OpenClaw configs (and Enforcer's export settings out of Claude Code's) and deletes ~/.enforcer/ingest-keys.json; it revokes the keys with Enforcer when the sign-in holds enforcer:agents-credentials.destructive (the default sign-in does not, so it names the keys left to expire). The next sign-in turns telemetry back on.
Plugins from other owners that cover similar ground
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.
npx claudepluginhub instruxi-io/agent-plugins --plugin enforcer