📝Claude Code exposes its controls as slash commands typed at the start of a message; typing / alone lists everything available in the current build. Availability varies by plan, platform, and 📝Command Line Interface (CLI) version, so some entries below will not appear in every session. Items marked Skill are bundled prompts 📝Claude executes with its own tools rather than logic coded into the CLI.
Session Lifecycle
/clear- Start a fresh conversation; pass a name to label the old one; aliases /reset, /new/resume- Reopen an earlier conversation by name, ID, or picker; alias /continue/rename- Rename the session; auto-generates a name from history when omitted/branch- Branch the conversation here and switch into it; the original stays resumable/fork- Copy this conversation into a new background session and keep working here/subtask- Hand a side task to a subagent that reports back into this conversation/rewind- Roll code and conversation back to a checkpoint; aliases /checkpoint, /undo/recap- Generate a one-line summary of the session so far, on demand/export- Export the conversation as plain text to a file or the clipboard/copy- Copy the last response, or a numbered earlier one, or pick code blocks/stop- Stop the attached background session; transcript and worktree are kept/exit- Quit the CLI, or detach from a background session; alias /quit
Context and Memory
/compact- Summarize the conversation to free context; takes optional focus instructions/context- Visualize context usage as a grid with optimization suggestions/btw- Ephemeral side question that never enters the conversation history/goal- Keep working across turns until a stated condition is met; clear removes it/memory- Edit CLAUDE.md files, toggle auto-memory, and view auto-memory entries/init- Generate a starter CLAUDE.md for the current project
Models, Effort, and Permissions
/model- Switch model and save as default; press s in the picker for session-only/effort- Set reasoning effort: low, medium, high, xhigh, max, ultracode, or auto/fast- Toggle fast mode for quicker, cheaper responses/plan- Enter plan mode, optionally starting on a described task/advisor- Consult a second model at key moments during a task; off disables it/sandbox- Toggle sandbox mode on supported platforms/permissions- Manage allow, ask, and deny rules for tools; alias /allowed-tools/fewer-permission-prompts- Skill. Allowlist common read-only calls to cut prompts
Review and Shipping
/diff- Interactive viewer for uncommitted changes and per-turn diffs/code-review- Skill. Review the diff for bugs and cleanups; --fix applies findings/simplify- Cleanup-only review that applies fixes without hunting for bugs/review- Fast single-pass, read-only review of a GitHub pull request/ultrareview- Deep multi-agent cloud review; same as code-review at ultra level/security-review- Scan pending changes for security vulnerabilities; read-only/verify- Skill. Build and run the app to confirm a change actually works/run- Skill. Launch and drive the app to see a change working/run-skill-generator- Skill. Record how to build and launch this project/autofix-pr- Cloud session that pushes fixes when CI fails or reviewers comment/install-github-app- Install the GitHub App and optional Actions workflows
Parallel and Background Work
/background- Detach the session to run as a background agent; alias /bg/batch- Skill. Split a large change into units, each with a subagent and a PR/tasks- List and manage background tasks and subagents; alias /bashes/workflows- Watch, pause, resume, or save dynamic workflow runs/loop- Skill. Re-run a prompt on a cadence while the session lives; alias /proactive/agents- Points you to creating and managing subagents in the agents directory/schedule- Create and manage cloud scheduled tasks/deep-research- Workflow. Fan out web searches into a cross-checked, cited report/ultraplan- Draft a plan in a cloud session and review it in the browser
Configuration and Interface
/config- Open settings, or set a key directly with key=value; alias /settings/statusline- Configure the status line, or auto-configure from your shell prompt/keybindings- Open your keyboard shortcuts file/terminal-setup- Install Shift+Enter and other terminal keybindings/theme- Open the theme picker and manage custom themes/color- Set the prompt bar color for this session; tells parallel windows apart/focus- Toggle focus view: your prompt, a tool summary, and the final response/tui- Toggle the flicker-free fullscreen renderer/scroll-speed- Tune mouse-wheel scroll speed; persists per machine/voice- Toggle push-to-talk dictation; hold Space to speak/ide- Manage IDE integrations and show connection status/chrome- Configure Claude in Chrome settings/add-dir- Grant file access to another directory for this session/cd- Move the session to a new directory without breaking the prompt cache
Skills, Plugins, and Servers
/skills- List available skills and toggle their visibility/reload-skills- Re-scan skill directories so on-disk changes take effect/plugin- Manage plugins: list, install, enable, disable/reload-plugins- Reload active plugins live; --force when MCP tools would change/mcp- Manage MCP servers, OAuth, reconnects, and enable or disable state/hooks- View hook configurations for tool events/claude-api- Skill. Load API reference; migrate upgrades existing model code/dataviz- Skill. Design guidance for charts, dashboards, and color palettes/design-sync- Skill. Upload your React design system to Claude Design/design-login- Authorize design-system access for design-sync/install-slack-app- Install the Claude Slack app via browser OAuth
Cross-Device and Cloud
/remote-control- Make this session controllable from claude.ai; alias /rc/remote-env- Configure the default remote environment for web sessions/teleport- Pull a cloud or web session into this terminal; alias /tp/desktop- Continue this session in the desktop app; alias /app/mobile- Show a QR code for the mobile app; aliases /ios, /android
Diagnostics, Account, and Odds and Ends
/help- Show help and every command available to you/doctor- Skill. Setup checkup that finds and can fix issues; alias /checkup/debug- Skill. Enable debug logging and read the session debug log/status- Show version, model, account, and connection status/usage- Usage dashboard: plan limits, rate limits, cost, and session stats/cost- Alias for usage, opening the cost tab/stats- Alias for usage, opening the daily stats tab/usage-credits- Configure extra usage credits for rate limits/insights- Report on your sessions: project areas, patterns, friction points/team-onboarding- Generate a teammate ramp-up guide from your project setup/heapdump- Write a heap snapshot to the desktop for memory diagnostics/release-notes- Browse the changelog in an interactive version picker/powerup- Learn features through short interactive lessons with demos/privacy-settings- View and update privacy settings; Pro and Max only/upgrade- Open the upgrade page for a higher plan tier/login- Sign in to your Anthropic account/logout- Sign out of your Anthropic account/bug- Report a bug with the session history you choose; alias /share/feedback- Send product feedback through the same consent flow/passes- Share a free week of Claude Code if your account is eligible/stickers- Order Claude Code stickers/radio- Open Claude FM lo-fi radio in the browser
Removed or Renamed
/pr-comments- Removed in v2.1.91; ask Claude to read PR comments instead/vim- Removed in v2.1.92; enable vim mode via the config Editor mode setting/output-style- Deprecated since v2.1.73; output styles moved into config/extra-usage- Renamed to /usage-credits; the old name still resolves/less-permission-prompts- Renamed to /fewer-permission-prompts
Beyond the Built-Ins
- Any skill is a command - a SKILL.md folder name becomes its own slash command
- Plugin commands namespace as plugin-name colon command-name
- MCP server prompts surface as mcp, server, and prompt joined by double underscores
- Nested project skills qualify by path, as in apps/web colon deploy
The load-bearing subset for a terminal-first stack is small: /effort and /model for cost control, /context and /compact to keep long sessions coherent, /branch and /fork to run parallel threads without losing state, and /remote-control to keep a session reachable from the phone. The rest is situational — worth knowing exists, not worth memorizing.
