Reference·Slash commandsIndex

Slash commands

Every built-in and cell slash command, with syntax, aliases and headless support.

.mdllms.txt

Type / in the composer for the list. /help shows it with the key bindings.

Headless

A headless command answers without the shell, the terminal UI.

SurfaceHow
Web pageType the command in the page's composer.
Chat roomSend the command as a message.
Eval(slash "/think high")

A shell-only command answers /name needs an interactive shell there.

Built-in

CommandDoesHeadless
/helpShows commands and key bindings.Yes
/clear, /newStarts a fresh session. Headless: moves this session back to its start.Yes
/sessions, /agentsOpens the session picker.No
/rename [name | default]Names the session, 64 characters at most. Bare: shows the name.Yes
/export [path]Saves the session as Markdown.No
/execsShows an exec's output. Ctrl+X or Delete interrupts it.No
/tree, /checkpointsOpens the session tree. Continue from a turn, or rewind.No
/undoRewinds the last turn.Yes
/redoReturns to the branch the last rewind left.Yes
/forkForks a new session at the current head.No
/historyPicks a past prompt into the composer.No
/themes [name]Lists themes, or switches to one.No
/models [provider] [model] | list | refreshShows or sets the provider and model. Bare: opens the picker.Yes
/model-aux [provider] [model] | list | refreshShows or sets the auxiliary model.Yes
/evict [percent], /compactDrops the oldest turns from context. 1 to 100, default 50.Yes
/contextReports the context window and token use.Yes
/usage [today | 7d | 30d | all]Reports spend across sessions. Default: 7 days.Yes
/details collapsed|expandedSets transcript detail, the level Ctrl+O cycles. Bare: reports it.No
/cellsLists the cell folders this process loaded.Yes
/doctorLists what is missing, with the remedy.Yes
/backupArchives the home under ~/.nodecode/backups/. The archive holds your keys.Yes
/profile [switch | list | use | create | delete | export | import | install | update | help], /profilesManages profiles. Bare: opens the roster.Yes
/gateway [on | off | restart | logs | help]Same as nodecode gateway.No
/webSame as nodecode web.No
/connectOpens provider key setup. Takes no arguments.No
/setupOpens the setup walk. Takes no arguments.No
/think [rung], /effortSets reasoning effort. default uses the model's own.Yes
/gc [reset]Shows garbage collection and stall stats. reset restarts the window.Yes
/exit, /quitExits the shell.No
CommandShell and headless differ
/clearShell: opens a new session. Headless: rewinds this session to its start. /redo returns.
/undoShell: restores files too. Headless: moves the conversation only.
/models, /model-auxShell: bare opens a picker. Headless: bare prints the current target.

Details: Sessions and undo, Models and providers, Context, Profiles, Gateway.

Cell

A cell is a folder of code under ~/.nodecode/cells/. Its command exists while the cell runs. Every cell command is headless.

A built-in wins over a cell command of the same name.

A cell adds its own commands with the :command clause. See Cell API. The cells you can add are listed under Cells.

Esc

    Loading the index…

    ↑↓ moveEnter openEsc close