Reference
Slash commands Control a Flash conversation, prepare your project and manage configuration with commands.
Type / in a conversation to browse commands, or /help to list them. [ ] marks an optional argument and < > a value to fill in. Commands that open a control never run its operations on their own.
Command What it does /helpList the commands available here. /compactShorten what the model sees and continue the same task. /clearClear the conversation and start clean.
Command What it does /init [--force]Prepare the project: analysis, baseline build, connection profiles and the FLASH.md guide. --force rebuilds the analysis. /init --analyze-onlyRefresh the code analysis only, without changing FLASH.md. /platformShow the project’s target and framework. /systemShow your computer, toolchains and AI runtimes. /peripheralsOpen the component picker. Subcommands include add, add-mouser, manual, lookup, list, search, documents, attach, detach, resolve, remove and clear. /peripherals add-mouser <part number>Add a part by its manufacturer part number. Flash finds the part and fetches its datasheet. /peripherals manual <name> --file <path>Add a part with a datasheet you already have, as PDF or Markdown. /changesReview recent file changes. /buildOpen the build controls. Opening them does not build or flash.
Command What it does /mode [normal|plan|teach|debug]Choose the agent mode: normal, plan, teach or debug. Without an argument, opens the picker. /debug [on|off|status]Turn Debug mode on or off, or show the current mode. In Flash CLI it also opens the DEBUG panel. /model [name]Choose the model, or switch to the named one directly. /model effort [level]Set the reasoning effort, or auto for the model’s default. /doctorDiagnose AI connection problems.
Only for Studio and Enterprise. Free, Pro and Max need just /login and /model.
Command What it does /provider [name]Select a configured provider. /connect [provider [method]]Connect a provider and sign in to it. /model fast <name>Set the secondary model used for quick tasks.
Command What it does /configRead (get), change (set), trace (explain), keep (save) or undo (reset) configuration values. /preset [list|apply <name>]List or apply a configuration preset. /permissionsChoose the approval mode for this conversation and revoke remembered rules. /settingsOpen settings.
Command What it does /loginSign in to Flash. /logout [revoke-device]Sign out; revoke-device also removes this device’s access. /accountShow your account and plan. /planList plans. Not the same as /mode plan. /usageShow usage and quotas. /devices [revoke <id>]List your devices or revoke one. /license [refresh]Show or refresh the offline licence. /upgrade [pro]Upgrade your plan. /billingManage billing.
Command What it does @path/to/fileReference a project file in your request. ! <command>Run a shell command through Flash, subject to your approvals.
For keys in Flash CLI, see Flash CLI keyboard shortcuts .
PreviousOverview Next Flash CLI shortcuts