Skip to main content
Claurst exposes its functionality through slash commands — short directives you type directly in the terminal prompt, prefixed with /.

CLI flags

The claude binary accepts these flags, sourced from crates/cli/src/main.rs:
FlagShortDefaultDescription
<PROMPT>Initial prompt (enables headless/print mode)
--print-pfalseSend prompt and exit without opening the TUI
--model-mclaude-opus-4-6Model to use for this session
--permission-modedefaultOne of: default, accept-edits, bypass-permissions, plan
--resumeResume a previous session by ID
--max-turns10Maximum number of agentic turns
--system-prompt-sCustom system prompt (replaces the built-in one)
--append-system-promptText to append to the system prompt
--no-claude-mdfalseDisable CLAUDE.md memory file loading
--output-formattextOne of: text, json, stream-json
--verbose-vfalseEnable verbose logging
--api-keyAPI key (overrides ANTHROPIC_API_KEY)
--max-tokens32000Maximum tokens per response
--cwdWorking directory to use
--dangerously-skip-permissionsfalseBypass all permission checks (danger!)
--mcp-configInline MCP server definitions as a JSON string
--no-auto-compactfalseDisable automatic context compaction
Headless example:
claude --print "What does this codebase do?" --output-format json
Resume a session:
claude --resume <session-id>

How slash commands work

Type / at any prompt to open the command palette. As you type, Claurst uses fuzzy matching to narrow the list — you don’t need to type the full name. For example, /comp matches /compact.
# Open the command palette
/

# Show the full list of commands and keyboard shortcuts
/help
Aliases are supported. /reset, /new, and /clear all do the same thing. Where a command has aliases they are listed in its documentation.
Commands are loaded lazily. The command registry only loads a command’s full implementation when you first invoke it, so startup time is not affected by the number of available commands.

Command types

Internally, every command is one of three types. You don’t need to think about this during normal use, but it explains why some commands open interactive panels while others return text immediately.
TypeBehavior
localRuns synchronously and returns text or a compact result
local-jsxRenders an interactive terminal UI component
promptExpands to a prompt sent to the AI model

Command categories

CategoryCommands
Session/clear, /compact, /cost, /export, /model, /config, /plan, /effort, /fast, /context, /memory, /color, /keybindings, /help, /exit, /login, /logout, /doctor, /feedback
Tools & MCP/mcp, /permissions, /hooks, /agents, /files, /add-dir, /skills, /plugin, /init, /init-verifiers, /advisor, /brief, /passes, /rate-limit-options
Git & PR/commit, /commit-push-pr, /branch, /diff, /pr-comments, /review, /ultrareview, /security-review, /install-github-app, /install-slack-app
Navigation & UI/resume, /rewind, /rename, /copy, /btw, /vim, /theme, /status, /stats, /output-style
Remote & integrations/remote-control, /session, /desktop, /ide, /mobile, /voice, /chrome
Maintenance/reload-plugins, /release-notes, /upgrade, /usage, /extra-usage, /sandbox, /terminal-setup, /statusline, /tasks, /tag, /version

Key commands

These are the commands most users reach for every day.
CommandWhat it does
/helpShow all commands and keyboard shortcuts
/clearClear conversation history and start fresh
/compactSummarize history to free up context window space
/modelSwitch the AI model for the current session
/configOpen the interactive settings panel
/exitExit Claurst gracefully

Complete command list

All commands are listed below in alphabetical order. Commands marked internal are only available to Anthropic engineers (USER_TYPE=ant). Commands marked stub exist as placeholders and are disabled in all public builds.
CommandAliasesTypeDescription
/add-dirlocal-jsxAdd a working directory to the session’s permission context
/advisorlocalConfigure a secondary advisor model
/agentslocal-jsxOpen the agents management menu
/ant-traceInternal stub — disabled
/autofix-prInternal stub — disabled
/backfill-sessionsInternal stub — disabled
/branchforklocal-jsxCreate a forked copy of the current conversation
/break-cacheInternal stub — disabled
/bridge-kicklocalInternal — inject bridge failure states for testing
/brieflocal-jsxToggle brief-only output mode (feature-gated)
/btwlocal-jsxAsk a quick side question without interrupting the conversation
/bughunterInternal stub — disabled
/chromelocal-jsxClaude in Chrome settings (claude.ai subscribers only)
/clearreset, newlocalClear conversation history
/colorlocal-jsxSet the prompt bar color
/commitpromptInternal — create a git commit via the model
/commit-push-prpromptInternal — commit, push, and open a PR via the model
/compactlocalSummarize conversation history to save tokens
/configsettingslocal-jsxOpen the settings panel
/contextlocal-jsx / localVisualize context window usage
/copylocal-jsxCopy Claude’s last response to clipboard
/costlocalShow session cost and token usage
/ctx_vizInternal stub — disabled
/debug-tool-callInternal stub — disabled
/desktopapplocal-jsxContinue this session in Claude Desktop
/difflocal-jsxView uncommitted git changes and per-turn diffs
/doctorlocal-jsxRun diagnostics on the Claurst installation
/effortlocal-jsxSet the model’s thinking effort level
/envInternal stub — disabled
/exitquitlocal-jsxExit Claurst
/exportlocal-jsxExport the current conversation to a file or clipboard
/extra-usagelocal-jsxConfigure overage usage when subscription limits are hit
/fastlocal-jsxToggle fast mode (cheaper, faster model)
/feedbackbuglocal-jsxSubmit feedback or bug reports
/fileslocalInternal — list files currently in context
/heapdumplocalDump the JS heap to ~/Desktop (hidden)
/helplocal-jsxShow help and keyboard shortcuts
/hookslocal-jsxView and manage tool event hooks
/idelocal-jsxManage IDE integrations (VS Code, JetBrains)
/initpromptInitialize CLAUDE.md and project settings
/init-verifierspromptInternal — create verifier skills
/insightspromptGenerate an AI-powered usage analysis report
/install-github-applocal-jsxSet up Claude GitHub Actions for a repository
/install-slack-applocalOpen the Claude Slack app installation page
/issueInternal stub — disabled
/keybindingslocalOpen the keybindings configuration file
/loginlocal-jsxSign in to an account
/logoutlocal-jsxSign out from account
/mcplocal-jsxManage MCP servers
/memorylocal-jsxEdit Claude memory files
/mobileios, androidlocal-jsxShow QR code to download the Claude mobile app
/mock-limitsInternal stub — disabled
/modellocal-jsxSet the AI model
/oauth-refreshInternal stub — disabled
/onboardingInternal stub — disabled
/output-stylelocal-jsxDeprecated — use /config instead
/passeslocal-jsxShare referral passes (eligibility-gated)
/permissionsallowed-toolslocal-jsxManage tool allow/deny rules
/planlocal-jsxEnable plan mode or view/edit the session plan
/pluginplugins, marketplacelocal-jsxManage plugins
/pr-commentspromptFetch comments from a GitHub pull request
/privacy-settingslocal-jsxView and update privacy settings
/rate-limit-optionslocal-jsxShow rate-limit recovery options (hidden, internal use)
/release-noteslocalDisplay the changelog
/reload-pluginslocalReload plugins in the current session
/remote-controlrclocal-jsxStart a remote control bridge session (feature-gated)
/remote-envlocal-jsxConfigure the default remote environment
/remote-setupweb-setuplocal-jsxSet up Claude Code on the web (feature-gated)
/renamelocal-jsxRename the current conversation
/reset-limitsInternal stub — disabled
/resumecontinuelocal-jsxResume a previous conversation
/reviewpromptReview a GitHub pull request
/rewindcheckpointlocalRestore code/conversation to a previous point
/sandboxlocal-jsxConfigure bash sandbox settings
/security-reviewpromptSecurity-focused review of pending branch changes
/sessionremotelocal-jsxShow remote session URL and QR code
/shareInternal stub — disabled
/skillslocal-jsxList available skills
/statslocal-jsxShow usage statistics over time
/statuslocal-jsxShow version, model, account, and connectivity status
/statuslinepromptConfigure the status line UI
/stickerslocalOpen the sticker ordering page
/summaryInternal stub — disabled
/taglocal-jsxInternal — toggle a searchable tag on the session
/tasksbasheslocal-jsxList and manage background tasks
/teleportInternal stub — disabled
/terminal-setuplocal-jsxInstall terminal keyboard bindings
/themelocal-jsxChange the TUI color theme
/think-backlocal-jsxYear-in-review animation (feature-gated)
/ultraplanlocal-jsxInternal — extended multi-agent planning session (feature-gated)
/ultrareviewlocal-jsxDeep automated bug-finding review (feature-gated)
/upgradelocal-jsxUpgrade to the Max plan
/usagelocal-jsxShow plan usage and limits
/versionlocalInternal — print the running version
/vimlocalToggle Vim editing mode
/voicelocalToggle voice/speech-to-text input (feature-gated)

Plugin-contributed commands

Plugins can register their own commands. When a command comes from a plugin, its source is shown next to the description in /help. Plugin commands follow the same prefix and fuzzy-match rules as built-in commands. To install plugins and browse available community commands, use /plugin.

Session commands

Manage conversation history, models, context, and authentication

Tools & MCP commands

Configure tools, MCP servers, permissions, hooks, and plugins

Git & PR commands

Create commits, open pull requests, and review code changes

Build docs developers (and LLMs) love