Core Concepts
Slash Commands Reference
Inside a Flash session, / opens the command palette. Commands support prefix autocomplete — type /pe and it resolves to /peripherals. Anything that isn't a command goes to the agent.
Project & analysis
| Command | Description |
|---|---|
/init | Index the project + code intelligence + architecture analysis. Flags: --force, --verbose, --skip-code-intelligence, --skip-architecture. |
/architecture (/arch) | Deep architecture analysis — a two-phase pipeline (fast → brain), streamed to chat. Flags: --force, --no-summary. |
/peripherals | Manage the component MPN list and resolve datasheets. Subcommands: add, remove, list, clear, resolve, index, search. |
/migrate | Migrate firmware format. |
status | Show workspace status (architecture score, violations, smells). |
Model & mode
| Command | Description |
|---|---|
/model | Switch the AI model. /model fast <name> pins the cheap auxiliary model. |
/mode | Switch interaction mode: normal, plan, teach, research. |
/provider | Switch LLM provider. |
/connect | Connect API-key providers or GitHub Copilot. |
Configuration
| Command | Description |
|---|---|
/config | Show or change configuration. Subcommands: get, set, explain, save, reset. |
/preset | Apply a named preset. /preset list to see them. |
Account & billing
| Command | Description |
|---|---|
/doctor | Report local + cloud AI provider health. |
/login | Log in to your Flash account (device flow). |
/upgrade | View plans and checkout options currently published by Flash. |
/billing | Manage billing — opens the Stripe portal. |
Inline input
| Prefix | Description |
|---|---|
! <cmd> | Run a shell command (bash); output goes to the chat. |
@ | Browse project files / inline-expand a file into your prompt. |
exit / q | Quit Flash. |
Tip
Run any command non-interactively with
flash run <command> — e.g. flash run /config set llm.model gpt-4o-mini.