Slash commands
Slash commands run inside the Magic Coder TUI. Type / to open the suggestion menu, fuzzy-search by typing more characters, and press Enter or Tab to accept.
There are two kinds of slash commands:
- Built-in — implemented by the TUI itself. They affect client state (sign-in, theme, model selection, exit). They never produce assistant output.
- Skills — configured in BridgeApp. They expand into a prompt and trigger an agent turn. See Skills.
Built-in commands
Section titled “Built-in commands”| Command | Aliases | What it does |
|---|---|---|
/help | — | Open the keyboard shortcut overlay. |
/login | — | Clear the saved sign-in and start a fresh OIDC flow against BridgeApp. |
/logout | — | Clear the saved sign-in credential. |
/model | — | Pick a model for the current thread. With autocomplete. |
/reasoning-effort | /thinking | Pick a reasoning effort level. |
/long-context | — | Toggle long-context mode for this session. |
/theme | — | Switch the UI theme. |
/clear | /reset | Start a clean conversation in the same workspace. Ends the current thread. |
/exit | /quit | Exit Magic Coder. |
/model
Section titled “/model”/modelOpens the model picker. Displays every active model on your BridgeApp account, grouped by provider, with the BridgeApp default marked (default).
/model gpt-5Filters the picker to entries matching gpt-5. Fuzzy match is supported — /model opnr matches open-reasoner.
/model defaultClears the per-thread model override and falls back to your user default (or BridgeApp’s default if none is set).
If you’re not signed in, /model shows a single suggestion that triggers /login instead.
/reasoning-effort
Section titled “/reasoning-effort”/reasoning-effortOpens the reasoning-effort picker.
/reasoning-effort high/reasoning-effort xhigh/reasoning-effort max # alias for xhigh/reasoning-effort default # clear the override/thinking is an alias of /reasoning-effort.
See Reasoning effort values for the canonical level table.
/theme
Section titled “/theme”/theme/theme light/theme darkOpens the theme picker, optionally filtered. Available themes today: Default (Dark) and Default (Light).
/long-context
Section titled “/long-context”A toggle. Run it to turn long-context mode on, run it again to turn it off. Status line shows a long-context badge while it’s active.
/clear (alias /reset)
Section titled “/clear (alias /reset)”Ends the current thread and starts a fresh conversation in the same workspace. The thread you cleared can still be resumed by UUID later if you saved one.
Useful after switching to a new task within the same repo, when leftover context would confuse the agent.
/exit (alias /quit)
Section titled “/exit (alias /quit)”Exits the TUI. If the thread is resumable, Magic Coder prints a coder --continue <uuid> hint before quitting.
Skill commands
Section titled “Skill commands”Any Skill configured for your account appears as a slash command at runtime, e.g. /git-commit, /review-pr. They behave like normal user messages — the slash command expands into a prompt and the agent processes the result like any other turn.
Skills can be invoked at the start of a line, or inline mid-message. Built-in commands only autocomplete at the start of a line.
Behavior notes
Section titled “Behavior notes”- Slash commands work only on single-line input. If your input contains a newline, the slash menu doesn’t open.
- Commands are matched both by name and by description text.
/signwill surface/loginbecause of the description. - Aliases are searchable but rank slightly below their canonical command name in the suggestion list.
- Pressing Esc closes the suggestion overlay without applying.
What works without sign-in
Section titled “What works without sign-in”When you’re not signed in (no saved BridgeApp credential, or after /logout), only this subset of slash commands is runnable:
/login,/help,/exit(/quit),/clear(/reset),/theme,/long-context
Other commands — /model, /reasoning-effort, /logout, plus skill commands — are filtered out of the suggestion list and blocked from execution. Plain text is also blocked from submission. Run /login first to unlock the rest.