Skip to content

Slash Commands in Chat

The chat composer recognizes a few slash commands. Type one as the first thing in your message and press Send — Pinchy runs the action instead of sending the text to the model. The command is consumed; it does not appear as a message in the thread.

Start a message with / and a menu opens above the composer listing the available commands with a short description of each. Keep typing to filter (/c narrows to /compact), use the up/down arrows to move, Enter to run the highlighted command, Tab to complete it into the input, and Escape to dismiss the menu. You can also click a command to run it. The composer placeholder hints at this: "Send a message, or type / for commands."

This menu is the full list — there is no /help command. Typing /help sends it to the agent as a normal message.

CommandWhat it does
/compactCompact the conversation: free up context by summarizing the in-context transcript. The full history stays on disk; compaction takes effect on your next message.
/newStart a new conversation with this agent. The current chat stays in your chat list.
/resetReset this conversation: clear its context so the agent starts fresh, in the same chat. The thread is cleared to a clean slate.

Both give you an empty context, but they are not the same:

  • /reset clears the conversation you are in. The agent forgets what came before, and the thread is reset in place. The previous transcript is retained on disk but is no longer shown in this chat.
  • /new leaves the current conversation untouched — it stays in your chat list — and opens a separate, fresh chat.

Use /new when you want to keep a copy of the conversation; use /reset when you just want to start over here.

The composer looks at the first whitespace-delimited token of your message. If it is /compact, /new, or /reset (case-insensitive), the command runs and the rest of the line is ignored. Anything else is sent to the model as a normal message — so text that merely starts with a slash (like /path/to/file) is delivered unchanged, and unknown commands like /foo or /help are sent through.

Commands only run when there are no attachments. If you attach a file, the message (even if it starts with a command) is sent as a captioned message to the agent.

  • /compact shows a toast confirming the conversation was compacted (or an error if it couldn't be). Compaction is throttled — if you just compacted, wait a moment before trying again.
  • /reset clears the thread in place and shows a toast; the empty chat is your confirmation.
  • /new navigates you to a fresh chat immediately.