Skip to main content
The plugin runs the checks inside your coding agent. It checks a plan before you approve it and the agent’s changes at the end of each turn, briefs the agent on the rules for each file it reads, and lets you override a denied rule from the session. The Actual CLI does the checking, so you install both. In a repository with no rule files under .actual/rules/, the plugin stays silent. The plugin lives in actual-software/actual-skill and installs from its main branch. Its plugin id is actual-cli and its marketplace id is actual-cli-skills.

Claude Code

Run each command on its own, as a message in a Claude Code session.
1

Add the marketplace

2

Install the plugin

3

Reload plugins

4

Run the skill

The first time you run it, the skill looks for the Actual CLI. When it’s missing, the skill asks before installing it with npm install -g @actualai/actual, then confirms the install with actual --version. To use Homebrew or a downloaded binary instead, see Install the CLI.

Codex

Add the repository as a plugin marketplace, then install the plugin:
Codex runs a plugin’s hooks only once you trust them. Open /hooks in the Codex CLI (or Settings → Hooks in the app), review the plugin’s hooks and trust them. Codex records that trust against the plugin’s content, so after each update the hooks show as modified and stay off until you review them again. Governance in Codex needs Actual CLI 0.15.0 or later. Codex checks a plan when the turn that proposes it ends, so you see the first draft of a plan that conflicts with your rules before the agent revises it. Codex covers this and the other differences. To update, refresh the marketplace and add the plugin again, which installs the new version. Then trust its hooks again in /hooks:
Codex’s public plugin directory doesn’t list plugins that carry hooks, so you won’t find the plugin there.

The skill on its own

These installs add the plugin’s skills without the checks, rule briefs or overrides, which need the plugin’s hooks in Claude Code or Codex. The actual skill still runs and troubleshoots the Actual CLI for your agent, and on first use it offers to install the CLI when it isn’t on your PATH. With skills.sh:
This installs the plugin’s skills, the actual skill among them, into the agents you pick. In Codex:
Start a prompt with $actual to call the skill directly. By hand, clone the repository, then link the skill into your agent’s global skills directory:

Updates in Claude Code

Claude Code updates the plugin for you once auto-update is on for the actual-cli-skills marketplace. It’s off by default for a third-party marketplace, so turn it on once: run /plugin, open the Marketplaces tab, select actual-cli-skills and choose Enable auto-update. The same switch in a settings file is "autoUpdate": true on the marketplace’s extraKnownMarketplaces entry. In ~/.claude/settings.json, add that line to the actual-cli-skills entry if one is there, or add the whole entry:
Re-adding the marketplace with claude plugin marketplace add rewrites this entry without the autoUpdate line, so add the line back if you do. An organization can put the same entry in its managed settings to turn auto-update on for everyone, which also locks the toggle in /plugin. With auto-update on, Claude Code checks for a new version in the background, up to ten minutes after the first message of each interactive session. The new version loads in your next session, or straight away if you run /reload-plugins when Claude Code tells you the plugin was updated. Setting DISABLE_AUTOUPDATER, DISABLE_UPDATES or CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC turns these background updates off unless FORCE_AUTOUPDATE_PLUGINS=1 is set as well. To update by hand, refresh the marketplace, then update the plugin:
Then restart Claude Code, or run /reload-plugins in a session that’s already open. If claude plugin update reports that the plugin is already at the latest version, there’s no newer version yet.

Requirements

  • Claude Code or Codex for the checks, rule briefs and overrides. The skill on its own also runs in ChatGPT, Cursor and OpenCode.
  • Rule files under .actual/rules/ in the repository. From your terminal, actual adr new writes a decision and its rule file; Decisions and rule files covers the other way in, through Actual AI.
  • Actual CLI 0.8.0 or later. In Claude Code, each session start in a repository with rules compares the installed CLI with the version the plugin needs, and offers the upgrade with the command for however you installed it. A declined offer doesn’t come back as an interruption after a compaction or a resume.
  • Claude Code 2.1.287 or later for the override dialog, overrides typed in the session and briefing on shell reads. On 2.1.285 and 2.1.286, set CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 to turn them on.
Some features need a newer CLI: To upgrade, run npm install -g @actualai/actual@latest or brew upgrade actual-software/actual/actual, matching how you installed it. Install the CLI has the command for each install method.