Skip to content
pi-c Artifact [5eac7d77ec]
Login

Artifact [5eac7d77ec]

Artifact 5eac7d77ec0dacbd486d7524bffd44b5fc90e1f2ba9f381cb2f5c34fd118858d:


# Slash commands

Typed in the terminal interface's editor. `/` opens the command menu: Tab completes, Enter runs.
A slip (`/hlep`) or Claude Code's name for one (`/clear`) puts the nearest command in the editor,
and Enter runs it; `/login opnrouter` opens the provider list filtered by the word.

| Command | Arguments | What it does |
|---|---|---|
| `/settings` | | open the [settings panel](../manual/settings-panel.md), even while a reply runs |
| `/config` | | the same, by Claude Code's name |
| `/model` | [provider/model] | select a model |
| `/scoped-models` | | choose the models Ctrl+P cycles |
| `/thinking` | [level] | set the thinking level |
| `/tree` | | navigate the conversation tree (switch branches) |
| `/new` | | start a new conversation |
| `/resume` | [ID] | resume another conversation (an id, the start of one, or a name; else the list searched for it); in its picker `/` searches, Tab shows every folder, `d` deletes, Space marks, `u` undoes, `a` archives |
| `/delete` | [ID or NAME] | delete this conversation, or another ([deleting](../manual/sessions.md#deleting)) |
| `/restore` | [ID or NAME] | bring back the conversation deleted last, or that one |
| `/trash` | | list the deleted conversations; Enter restores one |
| `/archived` | | list the archived conversations; Enter resumes one, `a` unarchives it |
| `/name` | NAME | name this conversation |
| `/session` | | show this conversation's info and stats |
| `/rewind` | | go back to an earlier message: restore the conversation, the files, or both (Esc Esc) |
| `/fork` | [ENTRY] | pick an earlier message to branch from (or give an ENTRY, see `pic log`) |
| `/clone` | | duplicate this conversation at its current point |
| `/compact` | [FOCUS] | summarize the history before the next message |
| `/copy` | | copy the last reply |
| `/mouse` | [on or off] | capture the mouse in fullscreen, or leave it to the terminal, for this session (Alt+M) |
| `/export` | [FILE.html or DIR] | write this conversation as a web page (or Pi session files into DIR) |
| `/import` | FILE | import a Pi session file as a conversation |
| `/share` | | share this conversation as a secret gist or an artifact, after showing its size and where it goes and asking ([sharing](../manual/tui.md#sharing)) |
| `/loop` | [EVERY] PROMPT, or pause, resume, stop, approve or decline ID | send PROMPT now and every EVERY (`5m`, `1h`; 10m when not given); alone, the list: `p` pauses, `r` resumes, `s` stops, `a` pauses all ([loops](../manual/loops.md)) |
| `/monitor` | [--done] [--restart] COMMAND | each new line of COMMAND's output wakes this conversation; `--done`: once, when it exits; `--restart`: run it again if it was killed ([monitors](../manual/loops.md#monitors)) |
| `/goal` | CONDITION [--check CMD], or pause, resume, clear, approve or decline | work in rounds until CONDITION is true: CMD exits 0 after a round, or the model says so; at most 50 rounds, 3 with no progress ([goals](../manual/loops.md#goals)) |
| `/stop` | | pause every loop, monitor and goal of this conversation, and show the list |
| `/remote-control` | `[pair\|devices\|qr\|off\|ssh]` | with a phone paired, turns remote control on and shows whether it is on and this conversation's link, already copied; with none, pairs one; `c` copies the link again, `q` shows its QR code, `d` the paired phones, `p` pairs a phone, `s` turns remote control off or on, `r` restarts a `pic remote` older than the pic installed, any other key closes; `pair`, `devices` and `qr` open those directly, `off` turns it off, `ssh`: the ssh command and its checks instead |
| `/rc` | | the same as `/remote-control` |
| `/reload` | | reload project instructions, skills, prompt templates, the model catalog, keybindings and themes |
| `/trust` | [yes or no] | save the workspace trust decision |
| `/changelog` | | show what changed |
| `/restart` | | start the newer pic that was installed over this one, on this conversation, once no reply is running; the draft stays in the editor |
| `/bug` | TEXT | record a bug report (kept locally, sent nowhere) |
| `/login` | [PROVIDER] | sign in with PROVIDER's subscription or store its API key, sealed; without one, the providers to choose from (`a` in `/auth`) |
| `/logout` | [PROVIDER] | remove PROVIDER's stored sign-in or API key; without one, `/auth` |
| `/auth` | | every key and sign-in with what pic knows of each and which the model uses; Enter fixes the selected one, `a` adds, `d` removes, `c` checks, `m` opens the models ([/auth](../manual/auth.md)) |
| `/key` | | the same as `/auth` |
| `/permissions` | [MODE] | the conversation's [permission mode](../manual/permissions.md) and the tools allowed for it; with MODE (`allow`, `ask-edits`, `ask-all`, `read-only`) it changes it |
| `/codemode` | [on\|off] | switch the codemode tool for this session, the open conversation included ([codemode](../manual/codemode.md)) |
| `/mcp` | [add ARGS] | the MCP servers, those needing attention first, with their tools and revision; Enter lists a server's tools, `r` reconnects, `e` turns one off or on, `d` removes, `a` adds; `/mcp add` takes `pic mcp add`'s arguments ([MCP servers](../manual/mcp.md)) |
| `/hotkeys` | | show keyboard shortcuts |
| `/help` | [TOPIC] | a short card of the keys and commands by what you want to do; `/help keys` has every key, `/help slash` every command, `/help TOPIC` a topic of the manual (`pic help` lists them) |
| `/quit` | | quit pic |
| `/exit` | | the same as `/quit` |
| `/skill:NAME` | [ARGS] | send the skill's instructions and ARGS (see `pic skills`) |

A message that starts with `/NAME`, where NAME is a prompt template, sends the template with its
arguments filled in (see [prompts and skills](../manual/prompts-and-skills.md)).