> ## Documentation Index
> Fetch the complete documentation index at: https://docs.actual.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# The actual skill

> The plugin's actual skill runs and troubleshoots the Actual CLI for your coding agent, so you can ask for a check, a rule or a fix in plain words.

The `actual` skill teaches your coding agent the Actual CLI: which command answers a question, how to read its output, and how to fix what goes wrong. You ask in plain words, and the agent runs the command. The skill installs with the plugin, and it also installs on its own in agents that run skills.

The skill is separate from the checks. The plugin's hooks check every plan and every turn whether or not you use the skill; see [Hooks](https://docs.actual.ai/plugin/hooks.md).

## What it does for your agent

* **Installs the CLI with your permission.** When `actual` isn't on your `PATH`, the agent stops and asks before anything else, then installs it the way you agree to (npm, Homebrew, or a download from GitHub) and confirms with `actual --version`. If you decline, it carries on without the CLI.
* **Checks the CLI it has.** Before using a command or flag, it confirms the installed CLI has it with `actual <command> --help`, and helps you upgrade an older CLI rather than run a flag the CLI lacks.
* **Runs the checks on request.** `actual plan-check` checks a plan and `actual impl-check` checks a diff against the rules in `.actual/rules/`, the same checks the hooks run.
* **Finds the rules for a file or a plan.** `actual rules ls` lists the rule files, `actual rules select` picks the ones that govern a plan or a path, and `actual rules brief` shows the rules for one file as briefing delivers them.
* **Explains a denial.** It says which rule blocked and why, and how you can override it. It never overrides a rule itself: `actual check-override` and `/actual-cli:override` are yours to run.
* **Handles sign-in.** It checks `actual whoami` first, and hands `actual login` to you, since signing in needs a person at a browser.
* **Works with your decisions.** Signed out, `actual adr new` writes a decision into `docs/adr/` with its rule file, and `actual adr check` checks decision files. Signed in, it lists, shows and changes your organization's decisions in Actual AI. See [Write and draft decisions](https://docs.actual.ai/guides/write-and-draft-decisions.md).
* **Troubleshoots.** It knows every error the CLI can return and all five runners (`claude-cli`, `anthropic-api`, `openai-api`, `codex-cli`, `cursor-cli`), so it can find the cause and retry without you reading logs. For a full environment check it runs the skill's `scripts/diagnose.sh`, which is read-only and prints only "set" or "not set" for secrets.
* **Sets up runners and models.** `actual runners`, `actual models` and `actual config` pick and configure the runner the checks' judge uses.
* **Runs adr-bot and the Advisor only when you ask.** `actual adr-bot` writes your decisions into `CLAUDE.md`, `AGENTS.md` or Cursor rules, and `actual advisor` answers an architecture question for your organization. In an agent's shell, the skill runs `adr-bot` with `--force --no-tui`, because the agent's shell has no terminal for its prompts, and asks you to confirm in the chat instead. See [Context files with adr-bot](https://docs.actual.ai/guides/context-files-with-adr-bot.md) and [Ask the Advisor](https://docs.actual.ai/guides/ask-the-advisor.md).

## Invoking it

Your agent loads the skill when a request matches it, so most of the time you just ask:

```text theme={null}
Which of our architecture rules govern src/payments/?
Check my uncommitted changes against our architecture rules.
Diagnose why Actual is failing.
List our draft decisions in Actual AI.
```

To call it directly, type `/actual` in Claude Code or start the prompt with `$actual` in Codex.

## Reference files

The skill keeps its detail in reference files the agent loads only when a question needs them:

| File | Covers |
| - | - |
| `references/config-reference.md` | Every configuration key, its default and validation, and dotpath syntax for `actual config set` |
| `references/error-catalog.md` | Every error the CLI returns, grouped by exit code, with its hint and diagnosis steps |
| `references/output-formats.md` | The files `adr-bot` writes (`CLAUDE.md`, `AGENTS.md`, Cursor rules), their managed sections and how they merge |
| `references/runner-guide.md` | The five runners: install, sign-in, models and each one's quirks |
| `references/sync-workflow.md` | What an `adr-bot` run does, step by step, for debugging a failed run |
| `references/platform-advisor.md` | Signing in to Actual AI, scopes, organizations, and how `actual advisor` asks and waits |

## Where it installs

The skill comes with the plugin in Claude Code and Codex; see [Install the plugin](https://docs.actual.ai/install-plugin.md). To use it without the plugin, in Claude Code, Codex or another agent, install the skills alone.

With skills.sh:

```bash theme={null}
npx skills add actual-software/actual-skill
```

This installs the plugin's skills into the agents you pick.

In Codex:

```text theme={null}
$skill-installer install the actual skill from actual-software/actual-skill
```

By hand:

```bash theme={null}
git clone https://github.com/actual-software/actual-skill.git ~/.local/share/actual-skill
ln -s ~/.local/share/actual-skill/skills/actual ~/.claude/skills/actual
```

Link the same folder into `~/.cursor/skills/actual` for Cursor, `~/.config/opencode/skills/actual` for OpenCode, or `~/.agents/skills/actual` for Codex.

> [!NOTE]
>
> A skill installed on its own runs no checks. The plan and change checks, rule briefing and in-session overrides need the plugin's hooks, which only Claude Code and Codex run.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.