/clear — clear conversation history
/clear — clear conversation history
reset, newType:
localSyntax:
/clearClears the entire conversation history and starts a fresh session. This is the fastest way to free up the context window and begin a new task.What it does:- Runs any
SessionEndhooks before clearing - Wipes all messages and session caches (file read state, skill names, memory files, bash caches, agent definitions, and more)
- Kills or aborts any foreground tasks
- Resets the working directory to the original
cwd - Generates a new session ID (the old one is recorded as a parent for analytics)
- Runs
SessionStarthooks after clearing
/clear. Their output symlinks are re-pointed to the new session automatically./compact — summarize history to save tokens
/compact — summarize history to save tokens
localSyntax:
/compact [custom instructions]Replaces the conversation history with a compact summary, preserving context while significantly reducing token usage. Run this when you’re approaching the context limit.Arguments:| Argument | Description |
|---|---|
| (none) | Auto-summarize using the default strategy |
<instructions> | Custom instructions to guide what the summary focuses on |
- If no custom instructions are given, Claurst first attempts session-memory compaction (cheaper, uses stored summaries).
- Otherwise it falls back to
microcompactMessages()followed by a fullcompactConversation()call. - On success, the user context cache is cleared and post-compact cleanup runs.
/cost — show session cost and token usage
/cost — show session cost and token usage
localSyntax:
/costDisplays the total token cost and duration of the current session.- API users: Shows token counts and dollar cost via
formatTotalCost(). - claude.ai subscribers: Shows subscription usage or overage notice instead of a raw dollar amount.
/export — export session history
/export — export session history
local-jsxSyntax:
/export [filename]Opens an interactive export panel that lets you save the current conversation to a file or copy it to the clipboard.Arguments:| Argument | Description |
|---|---|
| (none) | Open the interactive export panel |
<filename> | Export directly to the specified file |
/model — switch the AI model
/model — switch the AI model
local-jsxSyntax:
/model [model]Opens the model picker or sets the model directly. The command description shows the currently selected model.Arguments:| Argument | Description |
|---|---|
| (none) | Open the interactive model picker |
<model> | Set the model directly, e.g. claude-opus-4-6 |
/config — open settings
/config — open settings
settingsType:
local-jsxSyntax:
/configOpens the interactive configuration panel, defaulting to the Config tab. From here you can change output style, toggle features, and adjust session preferences./plan — enter or exit plan mode
/plan — enter or exit plan mode
local-jsxSyntax:
/plan [open|<description>]Enables plan mode, which restricts the model to planning and discussion rather than executing tool calls. Useful for reviewing a strategy before applying changes.Arguments:| Argument | Description |
|---|---|
| (none) | View current plan or toggle plan mode |
open | Open the plan file in your external editor |
<description> | Set or update the plan description inline |
/effort — set thinking effort level
/effort — set thinking effort level
local-jsxSyntax:
/effort [low|medium|high|max|auto|help]Controls how many “thinking” tokens the model uses. Higher effort means more thorough reasoning but slower and more expensive responses.Arguments:| Value | Description |
|---|---|
low | Minimal thinking tokens |
medium | Moderate thinking tokens |
high | Extended thinking |
max | Maximum thinking tokens |
auto | Model decides dynamically |
| (none) | Show the current effort level |
help / -h | Show help |
CLAUDE_CODE_EFFORT_LEVEL environment variable is set and conflicts with your requested level, Claurst warns you./fast — toggle fast mode
/fast — toggle fast mode
local-jsxSyntax:
/fast [on|off]Switches to a faster, cheaper model for the current session (“fast mode”). Useful when you want quick responses for low-stakes tasks.Arguments:| Argument | Description |
|---|---|
on | Enable fast mode |
off | Disable fast mode |
| (none) | Open the fast mode picker |
/context — visualize context usage
/context — visualize context usage
local-jsx (interactive) / local (non-interactive)Syntax:
/contextDisplays a breakdown of how the context window is being used.In interactive mode, renders a color-coded visualization grid. In non-interactive (--print) mode, outputs a markdown table with:- Total tokens / max tokens / percentage used
- Estimated usage by category (system prompt, memory files, tools, MCP, etc.)
- Skills loaded and their token costs
- Memory files and their sizes
/memory — edit memory files
/memory — edit memory files
local-jsxSyntax:
/memoryOpens an interactive editor for Claude memory files: CLAUDE.md, CLAUDE.local.md, and any other memory files in the current project or user memory directory.Memory files are read at the start of every session and injected into the system prompt./color — set prompt bar color
/color — set prompt bar color
local-jsxSyntax:
/color <color|default>Sets the color of the prompt bar for this session. Colors come from the same palette used by swarm agents.Arguments:| Argument | Description |
|---|---|
<color> | A named color from the AGENT_COLORS palette |
default / reset / none / gray / grey | Reset to the default (no color) |
/keybindings — configure keyboard shortcuts
/keybindings — configure keyboard shortcuts
localSyntax:
/keybindingsOpens the keybindings configuration file in your default editor. The file is created with a starter template if it doesn’t exist yet.Gate: Only available when keybinding customization is enabled (currently a preview feature)./help — show help
/help — show help
local-jsxSyntax:
/helpShows the help screen listing all available commands and keyboard shortcuts./exit — exit Claurst
/exit — exit Claurst
quitType:
local-jsxSyntax:
/exitExits Claurst gracefully. Prints a random goodbye message.- If running in a
--bgtmux background session, detaches the tmux client rather than killing it. - If in a worktree session, shows a dialog asking about worktree cleanup before exiting.
/login — sign in
/login — sign in
local-jsxSyntax:
/loginSigns in to an account or switches to a different account if already authenticated. The description dynamically reads “Switch accounts” when you are already signed in.After login, Claurst refreshes API keys, resets cost state, re-enrolls the trusted device, and reloads remote managed settings./logout — sign out
/logout — sign out
local-jsxSyntax:
/logoutSigns out from the current account. This:- Flushes pending telemetry
- Removes the API key from storage
- Wipes all secure storage (OAuth tokens, policy limits, betas cache, tool schema cache)
- Calls
gracefulShutdownSync()— Claurst exits after logging out
/doctor — run diagnostics
/doctor — run diagnostics
local-jsxSyntax:
/doctorRuns a full health check on your Claurst installation:- API key validity and model access
- MCP server connectivity
- LSP status
- Plugin health
- Any configuration issues
/feedback — submit feedback or bug reports
/feedback — submit feedback or bug reports
bugType:
local-jsxSyntax:
/feedback [report]Opens the feedback submission flow. Use this to report bugs or send product feedback to Anthropic.Gate: Disabled when using Bedrock, Vertex, or Foundry endpoints, or when the allow_product_feedback policy is not allowed./resume — resume a previous conversation
/resume — resume a previous conversation
continueType:
local-jsxSyntax:
/resume [conversation id or search term]Opens a fuzzy-searchable list of past sessions. Select one to resume it.Arguments:| Argument | Description |
|---|---|
| (none) | Open the interactive session picker |
<id or term> | Jump directly to a session matching the ID or search term |
/rewind — restore to a previous point
/rewind — restore to a previous point
checkpointType:
localSyntax:
/rewindOpens the message selector UI, letting you roll the conversation (and any code changes) back to an earlier point./rename — rename the conversation
/rename — rename the conversation
local-jsxSyntax:
/rename [name]Renames the current session.Arguments:| Argument | Description |
|---|---|
| (none) | Auto-generate a 2–4 word name using the Haiku model |
<name> | Set a specific name |
/copy — copy the last response
/copy — copy the last response
local-jsxSyntax:
/copy [N]Copies Claude’s most recent response to the clipboard. Pass a number to copy the Nth-latest response./btw — ask a quick side question
/btw — ask a quick side question
local-jsxSyntax:
/btw <question>Sends a quick question to the model without adding it to the main conversation history. The response appears in an overlay panel; press Enter or Escape to dismiss./vim — toggle Vim editing mode
/vim — toggle Vim editing mode
localSyntax:
/vimToggles between Vim and Normal (readline-style) editing modes for the prompt input./output-style — deprecated
/output-style — deprecated
local-jsxSyntax:
/output-style/stats — view usage statistics
/stats — view usage statistics
local-jsxSyntax:
/statsShows Claude Code usage statistics over time: session counts, total token usage, and costs./status — show system status
/status — show system status
local-jsxSyntax:
/statusShows a comprehensive status summary: running version, selected model, account info, API connectivity, and tool statuses./release-notes — view the changelog
/release-notes — view the changelog
localSyntax:
/release-notesDisplays the Claurst changelog. Fetches fresh notes if possible (500 ms timeout), falling back to the cached version.