Skip to content
Docs
WebsiteRequest a demo

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.

Conversation and help

CommandWhat it does
/helpList the commands available here.
/compactShorten what the model sees and continue the same task.
/clearClear the conversation and start clean.

Project and analysis

CommandWhat 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.

Agent mode and model

CommandWhat 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.

Provider setup · Studio and Enterprise

Only for Studio and Enterprise. Free, Pro and Max need just /login and /model.

CommandWhat 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.

Configuration and approvals

CommandWhat 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.

Account and access

CommandWhat 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.

References and shell input

CommandWhat 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.

Continue reading