Core ConceptsSlash Commands Reference

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

CommandDescription
/initIndex 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.
/peripheralsManage the component MPN list and resolve datasheets. Subcommands: add, remove, list, clear, resolve, index, search.
/migrateMigrate firmware format.
statusShow workspace status (architecture score, violations, smells).

Model & mode

CommandDescription
/modelSwitch the AI model. /model fast <name> pins the cheap auxiliary model.
/modeSwitch interaction mode: normal, plan, teach, research.
/providerSwitch LLM provider.
/connectConnect API-key providers or GitHub Copilot.

Configuration

CommandDescription
/configShow or change configuration. Subcommands: get, set, explain, save, reset.
/presetApply a named preset. /preset list to see them.

Account & billing

CommandDescription
/doctorReport local + cloud AI provider health.
/loginLog in to your Flash account (device flow).
/upgradeView plans and checkout options currently published by Flash.
/billingManage billing — opens the Stripe portal.

Inline input

PrefixDescription
! <cmd>Run a shell command (bash); output goes to the chat.
@Browse project files / inline-expand a file into your prompt.
exit / qQuit Flash.
Tip
Run any command non-interactively with flash run <command> — e.g. flash run /config set llm.model gpt-4o-mini.

What's next