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

# Slash Commands: Using CC Commander Inside Claude Code

> Reference for all /ccc slash commands available inside Claude Code sessions, plus how to invoke CC Commander headlessly from an AI agent using ccc --dispatch.

CC Commander works inside any Claude Code session without the standalone CLI. Type `/ccc` in a Claude Code session and the full interactive menu appears — the same 15 options, the same sub-menus, the same guided flows. This also works in Claude Desktop Cowork and VS Code with the Cursor extension.

## Opening the main menu

```text theme={null}
/ccc
```

This displays the main interactive menu with all 15 options. You navigate with a numbered prompt or by typing the key shown next to each choice. Type "back", "cancel", or press `Escape` at any point to return to the previous menu.

## Direct invocations

Every main menu section has a direct route. Use these to skip the menu and go straight to what you need.

| Command         | What it does                                              |
| --------------- | --------------------------------------------------------- |
| `/ccc`          | Main menu (15 options)                                    |
| `/ccc build`    | Build wizard — website, API, CLI, or custom               |
| `/ccc xray`     | Project health scan (score 0-100 across 6 dimensions)     |
| `/ccc makeover` | Auto-apply top X-Ray recommendations                      |
| `/ccc skills`   | Browse and install from 450+ skills                       |
| `/ccc domains`  | Browse 11 CCC domain routers                              |
| `/ccc night`    | Night Mode — 8-hour autonomous build setup                |
| `/ccc settings` | Name, level, cost ceiling, theme, Linear                  |
| `/ccc status`   | Configure and manage periodic status update notifications |
| `/ccc spawn`    | Multi-agent spawn manager (quick, team, swarm, expert)    |
| `/ccc theme`    | Switch the visual theme (CLI note — see below)            |
| `/ccc infra`    | Infrastructure & Fleet sub-menu                           |
| `/ccc linear`   | Linear board — view issues, pick tasks                    |
| `/ccc domains`  | Show all 11 CCC domains                                   |
| `/ccc daemon`   | Show daemon status and queue                              |
| `/ccc detect`   | Probe all services and CLIs                               |
| `/ccc refresh`  | Update your `CLAUDE.md` from the latest template          |

<Note>
  Theme switching (`/ccc theme`) controls the visual skin of the `ccc` terminal UI. It has no visible effect inside a Claude Code session, where rendering is handled by Claude's own interface. To change the theme, run `ccc` in a terminal and press `t` from the main menu.
</Note>

## Slash command reference

<Tabs>
  <Tab title="Core">
    | Command         | Description                                                                                                                                 |
    | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
    | `/ccc`          | Opens the full interactive main menu                                                                                                        |
    | `/ccc build`    | Launches the build wizard — prompts for project type and a one-sentence description, then dispatches Claude with the right model and skills |
    | `/ccc xray`     | Runs a project health audit scoring 0-100 across Security, Testing, Maintainability, Dependencies, DevOps, and Documentation                |
    | `/ccc makeover` | Runs `/ccc xray` first, then presents the top-5 recommendations and applies each one automatically with your approval                       |
    | `/ccc skills`   | Opens the skill browser — browse by category, search by keyword, or get a recommendation based on your current task                         |
    | `/ccc domains`  | Shows all 11 CCC domain routers with sub-skill counts and focus areas                                                                       |
  </Tab>

  <Tab title="Workflow">
    | Command        | Description                                                                                           |
    | -------------- | ----------------------------------------------------------------------------------------------------- |
    | `/ccc night`   | Starts the Night/YOLO Mode setup — 10-question flow that configures an autonomous overnight build     |
    | `/ccc spawn`   | Opens the multi-agent Spawn Manager for parallel development: quick, team, swarm, and expert patterns |
    | `/ccc linear`  | Connects to your Linear board — view open issues, pick one to build, or create new issues             |
    | `/ccc infra`   | Infrastructure sub-menu — Fleet Commander, Cost Dashboard, Synapse, Composio AO, CloudCLI, Paperclip  |
    | `/ccc daemon`  | Shows daemon status, queue, and last tick results                                                     |
    | `/ccc refresh` | Pulls the latest `CLAUDE.md` template and updates your project's context file                         |
  </Tab>

  <Tab title="Utility">
    | Command         | Description                                                                                  |
    | --------------- | -------------------------------------------------------------------------------------------- |
    | `/ccc settings` | Settings sub-menu — change name, experience level, cost ceiling, Linear setup, launch mode   |
    | `/ccc theme`    | Shows available themes and explains how to switch them from the `ccc` CLI                    |
    | `/ccc status`   | Manages periodic status update notifications — configure channel, interval, and detail level |
    | `/ccc detect`   | Probes 8 services and 4 CLIs to report what is running in the environment                    |
    | `/ccc stats`    | Runs `ccc --stats` and shows sessions, streaks, level, cost, and badges                      |
  </Tab>
</Tabs>

## Headless dispatch with `--dispatch`

When you need CC Commander to run a task without an interactive session — for example, from an AI agent or CI script — use the `--dispatch` flag:

```bash theme={null}
ccc --dispatch "Add JWT authentication to the login endpoint"
```

The Intelligence Layer scores the task, detects your stack, selects the right model and budget, and dispatches Claude without any prompts. Add `--json` to receive structured output:

```bash theme={null}
ccc --dispatch "Build auth with JWT" --json --model opus --budget 5
```

<CodeGroup>
  ```bash Agent dispatch theme={null}
  # Run a task headlessly and capture JSON output
  result=$(ccc --dispatch "Refactor the auth module" --json)

  # Check for errors
  echo $result | jq '.error // "success"'
  ```

  ```bash Skill catalog query theme={null}
  # Find all skills related to auth
  ccc --list-skills --json | jq '.[] | select(.name | contains("auth"))'
  ```

  ```bash Session history theme={null}
  # List previous sessions as JSON for an orchestrator
  ccc --list-sessions --json
  ```
</CodeGroup>

### Override flags

You can override the Intelligence Layer's auto-selection with explicit flags:

| Flag          | Example                  | What it does                 |
| ------------- | ------------------------ | ---------------------------- |
| `--model`     | `--model opus`           | Force a specific model       |
| `--max-turns` | `--max-turns 50`         | Cap the number of turns      |
| `--budget`    | `--budget 5`             | Set a USD budget cap         |
| `--cwd`       | `--cwd /path/to/project` | Run in a different directory |

<Tip>
  For AI orchestrators, read `docs/BIBLE-AGENT.md` from the CC Commander repo. It is a 268-line machine-readable reference covering the full CLI API, dispatch patterns, JSON schemas, and integration points — written so any AI agent can manage CCC immediately after reading it.
</Tip>
