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

> Ask the Advisor an org-scoped architecture question

```bash theme={null}
actual advisor [OPTIONS] [QUERY]
```

## Arguments

| Argument | What it does |
| - | - |
| `[QUERY]` | The architecture question to ask the Advisor. Optional when a scope command is used on its own: `--show-scope`, or a `--repo` value with no question (which just changes the remembered scope) |

## Options

| Option | Default | What it does |
| - | - | - |
| `--api-url <URL>` | | Advisor API base URL (e.g. [http://localhost:3099](http://localhost:3099) for the mock). Defaults to the production api-service |
| `--org <ORG_ID>` | | Organization to scope the query to. Defaults to the signed-in org. Required against the dev advisor mock, which expects a UUID org id. Passing `--org` without `--repo` runs this query at the organization level (an explicit opt-out of repo scoping) without changing the remembered scope |
| `--repo <REPO>` | | Scope the query to a specific connected repository, given either as its name (e.g. `actual-cli`, or `owner/actual-cli` to disambiguate a name shared across owners) or as its UUID. A name is resolved to a repo id via the connected-repos API; an unrecognized name fails with the list of repositories you can choose from. When omitted, the repository is auto-detected from the working tree's `origin` remote; if nothing matches (or the match is ambiguous), the query runs at the organization level. The chosen scope is remembered per repository for later `actual advisor` calls from the same working tree (see `--show-scope`). Two values are reserved keywords: `none` pins the scope to the organization level (opt out of repo scoping), and `auto` forgets the pin and reverts to git-remote auto-detection. To scope to a repository literally named `none` or `auto`, pass its UUID or `owner/name` form. |
| `--show-scope` | | Print the remembered advisor scope for the current repository and exit, without asking a question |


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