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 actual-softwarev3.6.0Apache-2.0In 1 marketplace
Checks your agent's plans and each turn's changes against your ADRs, and lets you override denied rules. Hooks run on every prompt and block conflicts, and the actual CLI must be installed first.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
1 critical · 2 cautions to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it sees, changes or blocks tool calls; runs programs; reads files; reads environment variables (ACTUAL_CLI_SUBPROCESS, ACTUAL_HOOKS, ACTUAL_HOOK_DEBUG, ACTUAL_OVERRIDE_DIALOG, ACTUAL_PLAN_GATE, ACTUAL_RULES_BRIEF, ACTUAL_RULES_BRIEF_LIMIT, ACTUAL_RULES_BRIEF_MAX_CHARS, ACTUAL_RULES_BRIEF_MAX_SESSION_CHARS, ACTUAL_RULES_BRIEF_MIN_SCORE, ACTUAL_RULES_BRIEF_READS, ACTUAL_RULES_BRIEF_RULES_PER_DECISION, ACTUAL_RULES_BRIEF_WRITES, ACTUAL_RULES_DIR, ACTUAL_UNATTENDED, CLAUDE_PROJECT_DIR, HOME); sets environment variables; reads or rewrites your prompts.
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Rule brief: log the budget each calldebug
Write a dim transcript line with the characters injected so far and the session's context usage, and add the same line to the model's context. Like ACTUAL_HOOK_DEBUG=1, which it is ORed with, but it does not turn on the not-briefed notes that variable adds.
booleandefault false
Rule brief: decisions per brieflimit
Passed to `actual rules brief --limit`. Unset uses the CLI default (2).
number
Hooks: run Actual's hooksallHooks
Turn off to stop everything this plugin does in a session: both checks, rule briefing, the summary row above the prompt and the CLI upgrade offers. ACTUAL_HOOKS=off or =on wins over this setting; ACTUAL_PLAN_GATE=off also turns everything off.
booleandefault true
Rule brief: maximum characters per briefmaxChars
Passed to `actual rules brief --max-chars`. Rules are dropped whole, lowest-ranked first. Unset uses the CLI default (4000).
number
Rule brief: minimum rule scoreminScore
Passed to `actual rules brief --min-score`. A per-repo tuning knob: scores measure how narrowly a rule's verify glob is written, so the useful value differs per repository. Unset defers to the repo's own `rules_min_score` config.
number
Hooks: check each turn's changesimplCheck
Check the agent's accumulated diff against .actual/rules/ at the end of every turn. ACTUAL_IMPL_CHECK=off or =on wins over this setting.
booleandefault true
Hooks: check plansplanCheck
Check the agent's plan against .actual/rules/ before you see the approval dialog. ACTUAL_PLAN_CHECK=off or =on wins over this setting.
booleandefault true
Hooks: brief rules on file readsbriefReads
Tell the agent which rules govern a file when it reads it. ACTUAL_RULES_BRIEF_READS=off or =on wins over this setting; ACTUAL_RULES_BRIEF=off turns off briefing on reads and writes.
booleandefault true
Governance: approve plans for an unattended agentunattended
Answer Claude Code's plan dialog for the agent, so a session nobody is watching never waits on it. The plan check still runs first: a conflicting plan is denied and revised, and only a plan it passes (or could not check) is approved; with the plan check switched off, every plan is. Also turns off the denial dialog, whatever the row above says. Approves in any repository while on. ACTUAL_UNATTENDED=on or =off wins over this setting.
booleandefault false
Hooks: brief rules on file writesbriefWrites
Tell the agent which rules govern a file when it edits or writes it. ACTUAL_RULES_BRIEF_WRITES=off or =on wins over this setting; ACTUAL_RULES_BRIEF=off turns off briefing on reads and writes.
booleandefault true
Governance: ask how to handle a denialoverrideDialog
When plan-check or impl-check denies, ask in a dialog whether to revise or override the blocking rules. Turn off to let the agent revise on its own without asking; /actual:override still works. ACTUAL_OVERRIDE_DIALOG=off or =on wins over this setting.
booleandefault true
Rule brief: per-session character budgetmaxSessionChars
Stop briefing once this many characters of rules have reached the agent in one session. The default is well above what an ordinary session uses. To turn briefing off, use the two "brief rules" rows.
numberdefault 48000
Rule brief: rules per decisionrulesPerDecision
Passed to `actual rules brief --rules-per-decision`. Unset uses the CLI default (8).
number
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Align coding agents with your architecture decisions
Coding agents like to follow rules, especially when they are formatted as Architecture Decision Records (ADRs). Starting recently, they also like to write ADRs. You might find that your current repository already has rules in docs/adr. Rules like which database you store data in, how services call each other, and what must never be logged. When rules are generated organically, they are often too vague, too bloated, badly scoped, and become out of date over time.
Actual.AI Plugin puts well-scoped, well-formatted, automatically maintained rules in front of Claude Code and Codex, which should reduce your token usage and review time. See demos.actual.ai for examples. Once the ADRs are committed via the bootstrap command, Actual.AI Plugin:
adr-draft skill creates, changes and removes decisions, and adr-bootstrap proposes a repository's first set from existing rules and agent logs.In a repository with no rule files the plugin checks nothing; it tells your agent once that no decision governs the repository yet, and offers adr-bootstrap.
Documentation for the Actual.AI Plugin and the Actual CLI can be found at docs.actual.ai.
The CLI runs the checks, and the plugin does nothing without it, so installing the plugin includes installing the CLI. The plugin needs version 0.20.0 or later.
npm install -g @actualai/actual@latest
Or brew install actual-software/actual/actual. Either install keeps the CLI and the plugin up to date on their own, and it's for your machine, not a dependency of any repository. Other install options.
Run each command on its own, as a message in a Claude Code session:
/plugin marketplace add actual-software/actual-plugin
/plugin install actual@actual-ai
/reload-plugins
There's nothing to configure: every setting works as it is. If the installer says options are "not yet set" or shows a form of them, leave them as they are.
The CLI keeps itself and the plugin up to date as each session starts. Optionally, to have Claude Code update the plugin as well, run /plugin, open the Marketplaces tab, select actual-ai and choose Turn on auto-update (Enable auto-update in older versions of Claude Code). Updates in Claude Code.
Run these in a terminal:
codex plugin marketplace add actual-software/actual-plugin
codex plugin add actual@actual-ai
actual plugin update
actual plugin update turns on the plugin's hooks. It adds them to your own ~/.codex/hooks.json, after any hooks of yours, which stay as they are. Your next Codex thread asks you to review them: choose Trust all and continue, or trust them later in /hooks (Settings → Hooks in the app). Until you trust them, the hooks don't run and nothing is checked.
The plugin isn't in Codex's public plugin directory, which doesn't list plugins that carry hooks, so install it with the commands above. Codex plugin covers updates and removal.
7-day copy clicks
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 actual-software/actual-plugin --plugin actual