ArmorClaude
ArmorIQ intent-based security enforcement plugin for Claude Code and Claude Cowork. Enforces that an AI agent declares what it intends to do before doing it, and every action is checked against that declared intent.
How It Works
User Prompt ──► UserPromptSubmit hook ──► Intent plan captured ──► Signed token
│
Tool Call ──► PreToolUse hook ──► Policy check ──► Intent verification ──┘
│ │
deny/allow drift detected?
│
Tool Result ──► PostToolUse hook ──► Audit log sent to IAP
- Before the agent acts: Intercepts prompts, captures a structured plan (from Claude's built-in plan mode or an LLM fallback call), and sends it to ArmorIQ IAP for a signed intent token.
- On every tool call: Checks the tool against the approved plan, verifies the token hasn't expired, evaluates local policy rules (allow/deny by tool name, data classification like PCI/PII), and optionally verifies CSRG cryptographic proofs. Blocks execution if any check fails.
- After tool execution: Sends audit logs to ArmorIQ IAP for compliance tracking.
- Fail-closed: If planning fails, identity is missing, or the token is invalid — all tool calls are blocked by default.
Workspace mode: Quiet, Show in chat, Block
A signed-in ArmorClaude follows the mode its workspace picks under Tool calls in the chat on the Monitor page, read at the start of each session.
- Quiet (the default): every tool call runs and nothing from ArmorClaude shows in the session. Each call your policy would have blocked or held is listed on the Monitor page.
- Show in chat: every tool call still runs, and the chat shows one line on each call your policy would have blocked or held, for example
ArmorIQ would block this call in Enforce (<reason>). Monitor let it run.
- Block: blocked calls stop in the chat and held calls ask first, as described above.
A workspace admin picks the mode on the Monitor page, and can give one teammate their own mode in its Teammates card. A change applies from the next session.
ARMORIQ_ORG_MODE=enforce makes this machine block whatever the workspace says.
Install
One-line install (recommended)
curl -fsSL https://armoriq.ai/install_armorclaude.sh | bash
This adds the armoriq Claude Code marketplace and installs the armorclaude plugin. Dependencies are installed automatically on first hook fire.
Manual install (Claude Code marketplace)
First install:
claude plugin marketplace add armoriq/armorClaude
claude plugin install armorclaude@armoriq
If the armoriq marketplace is already added, refresh it instead. Running marketplace add again
rewrites its settings entry and drops the auto-update setting:
claude plugin marketplace update armoriq
claude plugin install armorclaude@armoriq
Verify
claude plugin list
# ❯ armorclaude@armoriq Status: ✔ enabled
claude mcp list | grep armorclaude
# plugin:armorclaude:armorclaude-policy: ... ✓ Connected
First-run behavior
The plugin ships its Node dependencies uninstalled. On the first launch (first hook fire or
first MCP-server start), scripts/bootstrap.mjs performs a one-time npm install and prints
to stderr:
[armorclaude] installing dependencies (one-time)...
- Requires Node.js >= 20 and npm on PATH, plus network access on that first run.
- The bundled MCP server (
armorclaude-policy) registers once dependencies finish installing;
it stays connected on subsequent runs without reinstalling.
- No API key is needed to start. Until you sign in, the plugin runs in local-only mode
(no data leaves your machine, see Data & Privacy). Signing in with
armoriq login --product armorclaude adds backend audit, intent tokens, and CSRG proofs.
If claude mcp list does not show ✓ Connected, run the server directly from the plugin
directory to surface the install/startup error:
node scripts/bootstrap.mjs mcp
Update / disable / uninstall
ArmorClaude updates itself. At session start, at most once a day, it checks in the background for a
newer version and runs claude plugin update for you; the session never waits for it. When it has
updated, it says so once: ArmorClaude updated to X. Run /reload-plugins to use it. The new version
loads on /reload-plugins or the next launch. The stable plugin moves when its version in
marketplace.json changes; armorclaude-dev moves with every commit on dev.