Skip to main content
Slash commands are typed into the TUI prompt and change how the current session behaves. They don’t send anything to the model; they run locally against Bolt itself.

Reference

Slash commands are session-scoped. To make a preference durable, set it in .bolt/bolt.jsonc instead. See Configuration.

Adding your own

Custom slash commands can be contributed by plugins and by files in .opencode/command/. Each command is a Markdown file whose frontmatter describes the trigger and behavior.