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

# actual adr-bot

> Analyze repo, fetch ADRs, tailor and write AI context files

```bash theme={null}
actual adr-bot [OPTIONS]
```

## Options

| Option | Default | What it does |
| - | - | - |
| `--dry-run` | | Show summary of what would change without writing files |
| `--full` | | With --dry-run, output the full rendered file to stdout |
| `--force` | | Skip user confirmation and force fresh analysis and tailoring (bypass all caches) |
| `--reset-rejections` | | Clear remembered ADR rejections and show all ADRs again |
| `--project <PATH>` | | Target a specific sub-project in a monorepo (can be repeated) |
| `--model <MODEL>` | | Override Claude Code model (e.g., "sonnet", "opus") |
| `--api-url <API_URL>` | | Override the ADR bank API endpoint |
| `--verbose` | | Show detailed progress and Claude Code output |
| `--no-tailor` | | Skip the local tailoring step; use ADRs as-is from the bank |
| `--max-budget-usd <MAX_BUDGET_USD>` | | Maximum budget per tailoring invocation (USD) |
| `--no-tui` | | Disable the ratatui TUI and use plain line output instead |
| `--output-format <FORMAT>` | | Output file format to generate. Supported values: claude-md    — write CLAUDE.md (default, for Claude Code) agents-md    — write AGENTS.md (for Codex CLI and compatible tools) cursor-rules — write .cursor/rules/actual-policies.mdc (for Cursor IDE) Examples: actual adr-bot --output-format agents-md actual adr-bot --output-format cursor-rules Can also be set permanently via: actual config set output\_format agents-md. One of `claude-md`, `agents-md`, `cursor-rules`. |
| `--runner <RUNNER>` | | AI backend to use for tailoring. Supported values: claude-cli     — Claude Code CLI subprocess (default) anthropic-api  — Anthropic Messages API (requires ANTHROPIC\_API\_KEY) openai-api     — OpenAI Responses API (requires OPENAI\_API\_KEY) codex-cli      — Codex CLI subprocess (requires codex binary) cursor-cli     — Cursor CLI subprocess (requires agent binary) Can also be set permanently via: actual config set runner anthropic-api. One of `claude-cli`, `anthropic-api`, `openai-api`, `codex-cli`, `cursor-cli`. |
| `--show-errors` | | Stream Claude Code subprocess stderr to the display in real time. When the 30-second hang warning fires, stderr output captured so far is shown. Without this flag only a generic tip is displayed. Useful for diagnosing hangs — permission prompts, auth failures, and other Claude Code diagnostics appear on stderr. |


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