claudecodex

enforcer

Connects your agent to your Enforcer workspace as an Agent Plugins 1.0 package (root plugin.json, mcp.json, skills) with a Claude Code fallback: the enforcer MCP server, one sign-in (/enforcer:login), /enforcer:setup, workspace switching. Includes the graph worker and the governor.

0 on GitHubby Instruxiv1.12.0updated todayplatform
/

Plugin enforcer from marketplace instruxi in instruxi-io/agent-plugins. Commands read from the repo's manifest — today.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Skills (4)

  • enforcer

    How Enforcer is organised — tenants, accounts, roles, scopes — and how to look up anything else from the live API instead of from memory. Use when the user mentions Enforcer, their workspace or tenant, members, invites, roles, API keys, or asks what they can do through the Enforcer MCP server.

  • files

    Work with files in the user's Enforcer workspace — find, inspect, share with a group, upload and download. Use when the user mentions files, documents, uploads, attachments or storage in Enforcer, or asks to put a local file into their workspace or get one out of it.

  • governor

    The Enforcer governor — decides whether an agent action is allowed before it runs and keeps a tamper-evident record of every decision. Use when the user asks what the governor has seen, its spend limit or settings, or whether the decision record is intact.

  • graph

    Work a plan held in the enforcer graph — claim the next runnable node yourself, do it, keep the lease alive, report it against its acceptance criteria with captured command output as evidence. Use when a project has .enforcer/graph.json, when asked to "work the plan", "take the next node", "claim fr

Slash commands (7)

  • /enforcer:dispatch

    Dispatch a plan - start, check on, or stop the background workers for an Enforcer graph

  • /enforcer:download

    Download a file from your Enforcer workspace to this machine, by file_id or by the path it was uploaded as

  • /enforcer:governor

    Show or change the governor's settings, and turn its checks on or off

  • /enforcer:login

    Sign this machine in to Enforcer, once, for the Enforcer MCP server and every Instruxi plugin

  • /enforcer:setup

    Set this project up for Enforcer - show the plan (graph allow rules, plugin commands, first policy rules) and apply it only after you say yes

  • /enforcer:upload

    Upload a local file to your Enforcer workspace's storage (the bytes go straight to storage, not through the model)

  • /enforcer:workspace

    List the Enforcer workspaces you belong to, switch between them, or show the current one

Subagents (1)

  • graph-worker

    Works exactly one node of an enforcer graph plan end to end - claims it, does the work, delivers it the way its skills say, and reports against the acceptance lines with captured evidence. Hand it a graph id and a node id (optionally a brief) in the prompt. Use for each frontier node a coordinator f

MCP servers (1)

  • enforcer

    connects to: https://api.instruxi.dev/mcp

Hooks (10)

  • PreToolUse

    node "${CLAUDE_PLUGIN_ROOT}/bin/enforcer" event pre-tool-use

  • PostToolUse

    node "${CLAUDE_PLUGIN_ROOT}/bin/enforcer" event post-tool-use

  • PostToolUseFailure

    node "${CLAUDE_PLUGIN_ROOT}/bin/enforcer" event post-tool-use-failure

  • SessionStart

    node "${CLAUDE_PLUGIN_ROOT}/bin/enforcer" event session-start

  • SessionEnd

    node "${CLAUDE_PLUGIN_ROOT}/bin/enforcer" event session-end

  • UserPromptSubmit

    node "${CLAUDE_PLUGIN_ROOT}/bin/enforcer" event user-prompt-submit

  • SubagentStart

    node "${CLAUDE_PLUGIN_ROOT}/bin/enforcer" event subagent-start

  • PreCompact

    node "${CLAUDE_PLUGIN_ROOT}/bin/enforcer" event pre-compact

  • SubagentStop

    node "${CLAUDE_PLUGIN_ROOT}/bin/enforcer" event subagent-stop

  • Stop

    node "${CLAUDE_PLUGIN_ROOT}/bin/enforcer" event stop

View source on GitHub instruxi.io

More from instruxi-io/agent-plugins

All 5 plugins →

jev-hooks

claude

Claude Code hooks (public, maintained separately by its author; needs your own TypeSafe key) backed by TypeSafe's Jev: a Bash and edit risk gate, subagent model routing, subagent verification, a stop self-check, loop detection and compaction triage.

1 skill · hooks

0

DEPRECATED: now part of enforcer. Install enforcer instead (`claude plugin install enforcer@instruxi`); this alias goes away after one release.

hooks

0

DEPRECATED: now part of enforcer. Install enforcer instead (`claude plugin install enforcer@instruxi`); this alias goes away after one release.

hooks

0

DEPRECATED: now part of enforcer. Install enforcer instead (`claude plugin install enforcer@instruxi`); this alias goes away after one release.

hooks

0

Similar plugins

claude-mem

claudecodex

Persistent memory for Claude Code: the next session starts where the last one left off.

29 skills · 1 MCP server · hooks

thedotmack/claude-mem 116,618

context7

claudecodex

Up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your coding agent's context.

1 MCP server

upstash/context7 64,709

mempalace

claudecodex

AI memory system — mine projects and conversations into a searchable palace. 47 MCP tools, auto-save hooks, guided setup.

3 skills · 6 commands · 1 MCP server · hooks

MemPalace/mempalace 60,536

Reliable automation, in-depth debugging, and performance analysis in Chrome using Chrome DevTools and Puppeteer

8 skills · 1 MCP server

ChromeDevTools/chrome-devtools-mcp 55,181

gitnexus

claudecodex

Code intelligence powered by a knowledge graph. Provides execution flow tracing, blast radius analysis, and augmented search across your codebase.

12 skills · 1 MCP server · hooks

abhigyanpatwari/GitNexus 48,482

daisyUI Blueprint MCP server - (Needs paid license)

saadeghi/daisyui 42,821

Maintain enforcer?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins5 plugins