$ actual plan-checkAlign coding agents with
your architecture decisions
The Actual.AI Plugin for Claude Code and Codex checks each plan before your agent builds it, and each change before your agent hands back control, against the Architecture Decision Records (ADRs) in your repository.
- Free and open source (MIT)
- No account or sign-in
- Claude Code and Codex
$ actual plan-check --rules-dir ./.actual/rules \ "Sign new access tokens using an HMAC shared secret for speed" ╭─ Plan check ─────────────────────────────────────────────────────────────────╮ │ Plan: Sign new access tokens using an HMAC shared secret for speed │ │ Rules dir: ./.actual/rules │ │ Documents selected: 1 │ │ Runner: claude-cli (claude-sonnet-4-6) │ │ Rules checked: 2 │ ├──────────────────────────────────────────────────────────────────────────────┤ │ CONFLICT: R-OAUTH-001 (MUST) │ │ R-OAUTH-001 requires RS256 with JWKS-resolved key, but the plan use… │ │ "Sign new access tokens using an HMAC shared secret for speed" │ │ CONFLICT: R-OAUTH-002 (MUST_NOT) │ │ R-OAUTH-002 forbids signing access tokens with a shared HMAC secret… │ │ "Sign new access tokens using an HMAC shared secret for speed" │ ╰──────────────────────────────────────────────────────────────────────────────╯ ╭─ Error ──────────────────────────────────────────────────────────────────────╮ │ │ │ Error: plan does not conform: R-OAUTH-001: R-OAUTH-001 requires RS256 with │ │ JWKS-resolved key, but the plan uses HMAC instead.; R-OAUTH-002: R-OAUTH-002 │ │ forbids signing access tokens with a shared HMAC secret, which is exactly │ │ what the plan proposes. │ │ │ ╰──────────────────────────────────────────────────────────────────────────────╯
How it works
Every plan and every change,
checked against your decisions
Before you approve
Plans checked against your rules
When Claude Code leaves plan mode, or a Codex Plan-mode turn ends, actual plan-check judges the plan against your rules and sends a conflicting plan back, naming the rule it breaks.
End of every turn
Changes checked before hand-back
actual impl-check judges the diff when a turn ends and keeps the agent working until the change conforms, whether or not the session used plan mode.
Your call
Overrides stay with people
You clear a denied rule for one session, in the session or with actual check-override, and the reason is logged. The agent can't clear its own denial.
Installation
Install automatically with the
Actual.AI Plugin
Claude Code or Codex
RecommendedInstall the Actual.AI Plugin
Your coding agent's plans and code changes are checked against your repository's decisions.
1. Install the plugin
Run these in a Claude Code session, one at a time.
/plugin marketplace add actual-software/actual-skill/plugin install actual-cli@actual-cli-skills2. Reload plugins
Run this in the same Claude Code session so it picks up the new plugin.
/reload-plugins3. Install the CLI
Run
/actualand the skill will offer to install the Actual CLI. If your repository already has decisions, you'll get that offer without asking.4. Sign in
OptionalConnect the CLI to your Actual AI account through your browser. The checks run signed out.
actual login5. Add decisions
From your own terminal,
actual adr new(CLI 0.14.0 or later) writes a decision intodocs/adr/. Or merge the pull request app.actual.ai opens with your team's decisions.actual adr new "Use Postgres for storage" --policy "MUST: Services store relational data in Postgres."6. Plan a change
Ask Claude Code to plan or build a feature. A plan or change that conflicts with a decision goes back to the agent, with the rule it breaks.
Or install directly
Homebrew
macOS & Linux
brew install actual-software/actual/actualInstalls the native binary. The checks and actual rules work signed out.
npx
Zero install
npx @actualai/actual impl-checkNo install needed. Works anywhere Node is available — great for CI and quick tries.
Clawhub
OpenClaw
clawhub install actualInstalls the skill only, never the CLI. OpenClaw needs actual on your PATH before it loads the skill, so install the CLI with Homebrew or npm first.
On Linux, the CLI needs glibc 2.39 or newer, however you install it. Check yours with ldd --version.