All articles

A Tour of Claude Code's Built-in Slash Commands

Slash commands are the fastest way to steer Claude Code. You type a /, pick a command, and the tool does something specific instead of guessing from plain text. This post gives you a map of the built-ins so you know what exists before we go deep in later posts.

Grouped by job

Start with /help any time you forget a name. From there, the built-ins fall into a few groups.

  • Session and context: /clear, /compact, /context, /resume, /rewind, /export.
  • Model and settings: /model, /config.
  • Review: /review (also spelled /code-review) and /security-review.
  • Setup: /init, /memory, /permissions, /add-dir, /mcp, /hooks.
  • Info and account: /usage (also /cost), /status, /doctor, /login, /logout, /vim.
  • Agents: /agents to manage subagents.

How to try them

Just type the slash and the first letters, then let autocomplete finish the name:

/help

Some commands take extra input. For example, /model accepts a name like opus, and /compact accepts free-text instructions. We cover those in their own posts.

Where to go next

Don't try to memorize the whole list. Learn the handful you touch daily first: /clear to reset, /compact to shrink a long chat, /model to switch brains, and /review to check your work. The rest you can reach for when the need shows up. The following posts in this series walk through the important ones one at a time, with concrete examples you can copy.

Comments

Be the first to comment.