Artifact 3f4e8699549895f8f63d39743d09f20b6dd3e9c19d9b347785112fc6e13712fd:
- File
docs/reference/slash.md
— part of check-in
[da4167d308]
at
2026-11-23 14:34:25
on branch rc-screen
— /rc: one step to the phone, like Claude Code's /remote-control
With a phone paired, /rc turns remote control on and shows a short panel: whether it is on and connected, this conversation's link for the phone page (/#s=JOURNAL/SESSION, &c=PHONE when one phone is paired) and a QR code of it, and the paired phones; c copies the link, s turns it off or on, p pairs another. With no phone paired, /rc goes straight to pairing; Esc there returns to the conversation. remote.invite is named only when pairing fails without it.
ssh leaves the main screen: /rc ssh and pic rc --ssh show the ssh command and its checks as text, with no QR code. pic rc prints the phone's link and its QR code, pic rc --link the link alone.
The footer says "remote on" while pic remote is connected (checked every 10 s), as Claude Code shows "/rc active".
Fixes: pic remote marks its stream connected on the relay's 200 (http.c's new on_head callback) rather than on the first body byte, so /rc no longer says "connecting" for up to 15 s; after pairing /rc no longer tells you to run pic remote when it already runs.
Tests: test/tui/rc.sh (fake relay and phone: unpaired pairing screen, invite, paired link and QR, connected at once with a quiet relay, footer marker, s, pic rc, pic rc --ssh, /rc ssh); http's on_head; tui.sh, grapevine.sh and remote.sh updated for the new screens. (user: dmestas, size: 2719) [annotate] [blame] [check-ins using] [more...]
# Slash commands Typed in the terminal interface's editor. `/` opens the command menu: Tab completes, Enter runs. | Command | Arguments | What it does | |---|---|---| | `/settings` | | open the settings menu | | `/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 | | `/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 | | `/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 | | `/remote-control` | `[ssh]` | with a phone paired, turns remote control on and shows this conversation's link and its QR code for the phone, and the paired phones; with none, pairs one; `c` copies the link, `s` turns remote control off or on, `p` pairs a phone, `1`-`8` then `y` unpairs one, `R` then `y` resets remote control; `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 | | `/bug` | TEXT | record a bug report (kept locally, sent nowhere) | | `/login` | [PROVIDER] | sign in with a subscription or store an API key, sealed (default: the model's provider) | | `/logout` | [PROVIDER] | remove a stored sign-in or API key | | `/key` | | every provider's keys with what pic knows of each; Enter makes one the provider's active key (Alt+K) | | `/hotkeys` | | show keyboard shortcuts | | `/help` | [TOPIC] | the keyboard shortcuts and this list, or 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)).