Claude Code slash commands: the ones I actually use

What slash commands are

A slash command is a shortcut where you type a slash and a name and Claude runs a prepared procedure. When you type /init, for example, Claude goes through the whole project and writes down the rules it should follow while working in it, and all you typed was one word.

I’ll admit I don’t use many of them and most of the time just tell Claude what I want in plain language, such as “Check it”, “Push it to the site” or “Propose a plan first”, and it knows what to do. A few commands have earned their place, though, because they’re quicker than a sentence.

Which ones are useful

/help shows you the full list, and here are the ones worth knowing.

To start a project. /init goes through the project and creates the CLAUDE.md rules file, and if one already exists, it suggests improvements. /doctor checks your installation and settings and finds what’s broken.

Model and thinking. /model switches the model and /effort sets the effort, meaning how thoroughly Claude should think, with the levels low, medium, high, xhigh and max. My main conversation runs on Opus 5.5 at high, and for quick small jobs I sometimes switch to medium. /fast turns on fast mode, where Opus answers faster but at a higher price.

Plan and goal. /plan turns on plan mode, in which Claude only reads and proposes without changing anything, and you can type the task right after the command. /goal sets a goal, and Claude keeps working until it’s met.

Context. /context shows how much room is left in the conversation and what’s taking it up. /compact summarises a long conversation and frees up space, and after the command you can say what must not get lost in the summary. /clear starts fresh and /btw asks a side question that doesn’t get added to the conversation. When to compact, when to start a new thread and how to watch the context fill up is on the Context and modes page. It also covers /fast, /goal, /voice, ultracode and Code Mode.

A way back. /rewind takes the conversation and the changes one step back and /resume opens an earlier conversation.

Review. /code-review checks your pending changes and finds bugs, /security-review goes through the changes from a security angle and /code-review ultra runs a deep review in the cloud, for which you get three free runs on Pro, Max and Ultra, after which they’re paid from credits.

Settings. /permissions shows and edits permissions, /hooks lists the hooks you have set up and /statusline sets up the status line from your description. /fewer-permission-prompts looks at what Claude asks you about most often and suggests what to allow permanently.

Limits, memory and voice. /usage shows how much of your limit you’ve already used, /memory opens the rules and memory and /voice turns on voice dictation.

In practice they look like this, with the text after the command being the task or a clarification:

/plan add a page with a contact form to the website
/effort medium
/compact keep tasks in progress and the paths to changed files
/btw what is the project rules file called?
/goal all tests pass and the build finishes without errors

From plugins. Plugins add more commands. Of the ones I have enabled, I use /commit, which saves changes and writes the description itself, /commit-push-pr, which sends them straight to GitHub, and /revise-claude-md, which at the end of the work writes into CLAUDE.md what Claude learned. Which plugins I have and why is described in What I use.

Your own commands

When you notice you keep repeating the same procedure, you don’t have to explain it every time; it’s enough to ask Claude to turn it into a skill. A skill is a written procedure that you can then call with a slash and its name, just like a built-in command. The skill gets the text after the name as its task:

/reply-draft the thread asking about the delivery date

That’s how most of the skills I have today came about, from my own recurring tasks rather than other people’s collections. What such a skill looks like inside is shown in What I use.

You don’t have to use commands, but you can try a few and see which ones suit you. The sentences I write to Claude instead of commands are in Templates. The full list is in the official Claude Code documentation.