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

# Slash commands

> Built-in commands: /refine, /login, /tokens, /status, /doctor, /update, /shutdown.

Slash commands run in every interactive session. They control credentials, session state, and the daemon.

| Command     | What it does                                                                                             |
| ----------- | -------------------------------------------------------------------------------------------------------- |
| `/login`    | Add or replace provider credentials (API key or OAuth). Persisted to `~/.prime/agent/auth.json`.         |
| `/tokens`   | Show cumulative token usage for the current session.                                                     |
| `/status`   | Show session, model, thinking level, extensions loaded, and kernel state.                                |
| `/refine`   | Run a refinement pass on the current trajectory. See [Refinement](/fleet-prime-agent/guides/refinement). |
| `/doctor`   | Inspect the daemon and kernel. Add `--fix` to repair what it can.                                        |
| `/update`   | Update Fleet Prime Agent to the latest release.                                                          |
| `/shutdown` | Stop the daemon cleanly.                                                                                 |

## `/refine` in one line

Applies evidence-backed updates to supplemental harness state without rewriting the base prompt. Snapshotted, so any refinement can be rolled back. See [Refinement](/fleet-prime-agent/concepts/refinement).

## `/doctor --fix`

Runs the same diagnostics as `prime-agent doctor` and repairs common issues: a stuck daemon socket, a broken kernel venv, a missing auth file. Use it as the first response to "the CLI is behaving weirdly".

## Extensions add their own commands

Extensions register commands through `ExtensionAPI`. If you install a skill or extension, its commands show up next to the built-ins with no extra config. See [Extensions](/fleet-prime-agent/guides/extensions).
