---
title: "Slash commands"
description: "Composer shortcuts for common thread actions"
canonical_url: "https://hoplite.sh/docs/agent/slash-commands"
markdown_url: "https://hoplite.sh/docs/agent/slash-commands.md"
---

# Slash commands
URL: /docs/agent/slash-commands
LLM index: /llms.txt
Description: Composer shortcuts for common thread actions
Related: /docs/threads, /docs/agent/models

# Slash commands

Type `/` in the composer to pull up quick actions. Commands act directly on the current [thread](/docs/threads) — no need to phrase them as a request to the agent.

| Command | What it does |
| --- | --- |
| `/pr` | Create a draft pull request from the thread's diff, or open the existing PR |
| `/model` | Switch the [model](/docs/agent/models) for the next run (opens the model picker) |
| `/retry` | Re-run from the last checkpoint after a failure or a wrong turn |
| `/stop` | Request cancellation for the run you're viewing; **Stopping** remains visible until worker terminalization, and setup cannot be interrupted |
| `/compact` | Summarize older context to free tokens |
| `/rename <new title>` | Rename the thread, overriding the generated title |
| `/note <text>` | Pin or edit a note on the thread |
| `/archive` | Archive the thread |

<Callout type="info" title="/compact and the context gauge">
The context gauge in the thread header shows how much of the model's context window is in use. When a long thread starts running out of room, `/compact` folds older messages into a summary so the agent keeps the important context and sheds the bulk.
</Callout>

## Sitemap

See the full [sitemap](/docs/sitemap.md) for all pages.
Well-known sitemap: [/docs/.well-known/sitemap.md](/docs/.well-known/sitemap.md).
