Skip to content

Install the plugin

One plugin, one local policy engine, one signed record. Pick your host. Node.js 22 on macOS or Linux; Windows execution is not verified.

  1. Add the marketplace and install.
    Terminal window
    claude plugin marketplace add MerchantGuard/agentguard-codex-plugin
    claude plugin install agentguard@agentguard
  2. Provision the locked dependencies in the plugin root Claude Code reports. Lifecycle scripts must be enabled for this step.
    Terminal window
    npm ci
  3. Complete the normal marketplace installation and workspace trust prompts. The /hooks menu in Claude Code is read-only: inspect the configured plugin hooks there.
  4. Check the effective mode with the agentguard-status skill. A configured enforce policy stays in shadow until a usable license is present.

A real session on Sep 19 2026. Sixteen spawns in fifteen active minutes. Recorded with a prepared session; the decision is real.

The free install runs in shadow mode: every decision is signed and recorded, no tool call is blocked. A paid license turns on enforce mode. See Free and paid.

Claude Code installs locked Node dependencies when it caches a Git marketplace plugin, with lifecycle scripts disabled. A local-directory marketplace does not install dependencies automatically. Run the explicit npm ci step with lifecycle scripts enabled so the plugin can prepare its runtime.

A firm can distribute its reviewed copy through .agents/plugins/marketplace.json, pointing the plugin entry at the compatibility installation. A marketplace named firm uses the selector agentguard@firm. In a supported desktop surface, select the marketplace in the Plugins Directory and install in a new chat. Node, scripts and dependencies must exist wherever Work executes them. A public repository is not a directory submission; workspace-wide publication is a separate administrator action.