---
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 on the current thread immediately — 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 for the next run (opens the model picker) |
| `/retry` | Re-run from the last checkpoint |
| `/rename <new title>` | Rename the thread |
| `/note <text>` | Pin or edit a note on the thread |
| `/stop` | Stop the current run |
| `/archive` | Archive the thread |
| `/compact` | Summarize older context to free tokens |

<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).
