> ## 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.

# Slash command

> Override a rule the plan check or the change check denied, for the rest of the session, by typing /actual-cli:override in Claude Code.

The plugin adds one command to Claude Code, `/actual-cli:override`. You type it as a message when a check denies your agent's plan or changes and you want the work to go ahead anyway. The override lasts for the rest of the session and covers the rules you name.

```text theme={null}
/actual-cli:override <rule-id|all> [code] [reason]
```

Type the full name. Claude Code registers a plugin's commands under the plugin's prefix, so a bare `/override` comes back as an unknown command and the plugin never sees it.

## Arguments

| Argument | Required | What it takes |
| - | - | - |
| `<rule-id\|all>` | Yes | A rule id as the denial prints it, such as `R-API-001`, or the full `<doc-slug>::<rule-id>` when a bare id matches more than one rule. `all` covers every rule a check is blocking right now. |
| `[code]` | No | Why you're overriding, as one of the five codes below. The first word after the target is read as the code. |
| `[reason]` | No | Your own words. After a code they stay on your machine. Text that doesn't start with a code is stored with the code `other`. |

A rule id is matched against the rules the checks are blocking first, then against every rule file in the repository. A rule that no check was blocking is still overridden, and the reply says so.

## Reason codes

| Code | Meaning |
| - | - |
| `misread` | The check misread the change. |
| `not-here` | The decision doesn't apply here. |
| `adr-wrong` | The decision is wrong. |
| `adr-outdated` | The decision is out of date. |
| `accepted` | The block is right, and you're going ahead anyway. |

For example:

```text theme={null}
/actual-cli:override all misread
/actual-cli:override R-API-001 not-here the client under src/gen is generated code
```

The code needs Actual CLI 0.14.0 or later, which stores it with the override. An older CLI keeps the code as part of the reason.

A reason typed without a code is recorded as `other`. On a signed-in run, its text can be sent to Actual: anything that looks like a secret is replaced by `[redacted]`, it's cut to 280 characters, and only your organization's admins see it. A signed-out run sends the code alone. See [Privacy and telemetry](https://docs.actual.ai/resources/privacy-and-telemetry.md).

## The reply

The plugin records the override before your agent reads the message, then adds one line to the turn's context:

* **Rules overridden.** The line names them. They stop blocking `plan-check` and `impl-check` for the rest of the session, and your agent retries the action the check blocked.
* **Nothing recorded.** The line says why: you named no rule, no rule matches the id, the id matches more than one rule (use the full `<doc-slug>::<rule-id>`), `all` found nothing blocking, or the installed CLI is too old to record an override from the session.

Your agent relays a failure and shows you the syntax. It never types the command or runs `actual check-override` for you.

Each override is recorded with its code, how it was issued (`session_prompt` for this command) and which check was blocking the rule, and logged in `~/.actualai/actual/plan-check-overrides.log`.

## When it can't record

* **The mod didn't load.** The plugin records in-session overrides through its Claude Code mod, which needs Claude Code 2.1.287 or later. On 2.1.285 and 2.1.286, set `CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1` to load it. Without the mod, the command adds no line at all; use `actual check-override` from a terminal.
* **The agent tries it.** The CLI refuses an in-session override from any process carrying Claude Code's `CLAUDECODE` marker, which every command the agent runs inherits. This raises the cost of an agent overriding its own denial; it isn't a security boundary.

## From a terminal

`actual check-override` records the same override from an ordinary terminal, outside Claude Code:

```bash theme={null}
actual check-override --session <id> --rule <doc-slug>::<rule-id> --reason-code <code> --reason "<why>"
```

It refuses a non-interactive shell and any process carrying `CLAUDECODE` or `CLAUDE_CODE_ENTRYPOINT`, so run it from a separate terminal, not Claude Code's integrated one. The denial message names the session id and the rule key. See [actual check-override](https://docs.actual.ai/cli/check-override.md).

In Codex there are no plugin commands. Type `actual override <rule-id|all> [code] [reason]` as your message instead; see [Codex](https://docs.actual.ai/guides/codex.md).

## The briefing pane

The mod adds a second command, `/rules-brief`. It opens a **Rule briefing** pane listing what rule briefing did this session, in order, with the reason beside each read it stayed quiet on: the last 40 of at most 200 records. See [Rule briefs](https://docs.actual.ai/guides/rule-briefs.md).

## Related

* [Overrides](https://docs.actual.ai/guides/overrides.md): the dialog a denial opens, and when to override at all.
* [Hooks](https://docs.actual.ai/plugin/hooks.md): what records the override, and what fails open.
* [Settings](https://docs.actual.ai/plugin/settings.md): turn the denial dialog off and keep this command.


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