# Commands & Hotkeys

## Slash Commands

| Command                             | What it does                                         |
| ----------------------------------- | ---------------------------------------------------- |
| `/login`                            | Authenticate with an LLM provider (OAuth or API key) |
| `/model`                            | Switch models                                        |
| `/run <agent> "<task>"`             | Run a subagent                                       |
| `/chain scout -> planner -> worker` | Chain multiple agents sequentially                   |
| `/agents`                           | Manage agents and preset chains                      |
| `/toon stats\|on\|off`              | TOON transformer control                             |
| `/todos`                            | Persistent todo list                                 |
| `/powerline [preset]`               | Status bar configuration                             |
| `/settings`                         | Thinking level, theme, and other options             |
| `/tree`                             | Navigate session history and branch                  |
| `/compact`                          | Manually compact context                             |

For the full list, type `/hotkeys` inside pi.

## Keyboard Shortcuts

| Key            | Action                      |
| -------------- | --------------------------- |
| `Ctrl+L`       | Quick model selector        |
| `Ctrl+P`       | Cycle through scoped models |
| `Shift+Tab`    | Cycle thinking level        |
| `Ctrl+Shift+A` | Open agents / preset chains |

## Skills

Skills are specialized instruction sets in `skills/`. They load automatically when the agent detects a relevant task, or can be loaded manually.

Available skills:

| Skill              | What it does                                                                                                 |
| ------------------ | ------------------------------------------------------------------------------------------------------------ |
| `mermaid-diagrams` | Generate Mermaid diagrams with architecture best practices, 15+ themes, and dual CLI rendering (SVG + ASCII) |
| `repo-maintenance` | Full maintenance runbook: test, audit packages, detect stale docs, commit pending work                       |

Skill auto-loading is controlled by `"enableSkillCommands": true` in `settings.json`.
