Commands

Type / in the composer to browse the live catalog with inline argument hints, or run /help for the command list plus the essential shortcuts (/help full adds the complete keyboard catalog). The catalog is assembled from the active plugins, so commands contributed by Skills and user bundles appear beside the built-ins. /help groups what the TUI handles as terminal commands and what the mounted Harness composition provides as agent commands.

[brackets] mark optional arguments and | separates alternatives. A command with a picker runs without arguments.

Sessions

CommandWhat it does
/newStart a new session.
/sessions [query]Without an argument, open the Session Library; with a query, search durable session content through the full-text index and resume the chosen hit. In the library, p pins a session and r renames it.
/resume [session-id]Resume a durable session. Without an id, choose from the recent-session list.
/sessionShow the current session’s details.
/retryRun the most recent human prompt again.
/todoPrint the current session todo list into the transcript.
/clearClear the visible transcript. The running turn, status, todos, and queued follow-ups keep their state.

Session configuration

CommandWhat it does
/agentChoose the Agent preset: Standard, PTC, Minimal, or Cordis. Available on blank sessions; the preset decides which tools the model sees. The code (PTC) preset also presents the registry as a generated SDK and hides workflow_run.
/workflowChoose the Default or Plan workflow.
/permissionChoose the session Access level: Read only, Workspace write, or Full access.
/loginSign in to a provider: a catalog entry, an API key, or a custom provider with its own id, base URL, protocol, and model ids.
/logoutRemove an omdsh-managed provider choice.
/settingsOpen the settings overlay. Alias: /set.

/model

FormEffect
/modelOpen the provider, model, and reasoning-effort picker.
/model <query>Resolve a provider/model or fuzzy model name; an exact match switches immediately and an ambiguous match opens the picker.
/model --session <query>Switch the active session without writing the saved default. Does not combine with a subcommand.
/model next / /model previousCycle to the next or previous favorite model.
/model reasoningCycle the current model’s reasoning effort.
/model favorite / /model unfavoriteAdd or remove the current model from the local favorites list, stored in $OMDSH_HOME/omdsh/model-favorites.json.
/model favoritesList the favorite models.

Turn control

CommandWhat it does
/steer <message>Guide the active turn before its next model step.
/loop [count|duration] [prompt]Repeat a prompt after every completed turn: a count or a duration repeats a fixed number of times or until the time elapses, and a bare count makes the next composer message the repeated prompt. Run /loop again to disable it. See Guide an active turn.
/plan [off|<message>]Enter Plan mode and optionally send the first planning request, or leave it with off. Composer images travel with the planning request.
/goal [<objective>|clear|edit <objective>|pause|resume]Set or inspect a long-running goal for the session.
/compactCompact older conversation history.
/jobs [kill <id>]List background jobs, or stop one by id.

Observability

CommandWhat it does
/contextPrint an inline, projection-backed breakdown of context usage that stays in the transcript.
/trajectoryOpen the event ledger: Turn and Step grouping, live following, search, folding, timings, token usage, and tool payloads. Requires an interactive terminal.
/diff [path]Summarize workspace changes as a per-file table, or print one file’s patch. It only reads git state and never stages or commits.
/toolsList the tools visible to the agent.
/mcpShow connected MCP servers and their tools.
/feedback <text>Record a private note about the current session. It appends a log-only event the model never sees — nothing leaves the machine — and confirms the session and anonymous user id.

Clipboard and output

CommandWhat it does
/copy [text|code|cmd]Copy the last assistant reply, the last fenced code block, or the last bash command; without an argument, open the copy picker. command is accepted for cmd.
/export [html|markdown] [path]Export the complete transcript as Markdown or standalone HTML.
/changelog [full]Show recent release notes, or the complete packaged release history with full.

Skills

Every user-invocable Skill appears as /skill:<name>, with the description from its SKILL.md. Type /skill: to filter the list and press Enter to invoke one. The older /code-review form of a Skill command is still accepted for compatibility but is no longer advertised. See Skills and MCP.

Application

CommandWhat it does
/help [full]Show commands and essential shortcuts; full adds the complete keyboard catalog. Aliases: /h, /?.
/quitQuit the application. Aliases: /q, /exit.