Reference Guide · Claude Code Commands

The hidden Claude Code commands — still using it at half its power?

Type / in any session and the menu pops up — but some commands are hidden from it and only work if you type their full name. Here you'll find every command from the official docs (September 2026), sorted by use case, with instant search and one-click copy.

84
documented commands
7
groups
5
from the reel

How to use this guide — in one minute

Where do I type the command?
Inside a Claude Code session — type / and the menu appears, then finish typing the command name.
Why “hidden”?
Some commands don't show up in the menu and only work if you type their full name.
How do I copy one?
Click any command in this guide and it's copied instantly — then paste it into your session.
How do I find a command?
Press / on your keyboard and search by command name or keyword, or filter by group.
Not every command is available to everyone. Some depend on your plan or platform, and the list changes with the weekly updates. If a command doesn't work for you, update Claude Code and try again.
The five that change how you work

These are the ones I talked about in the reel. Start with them — the rest are in the full reference below.

No. 1

Broke twenty files? It rolls back both the code and the conversation to any earlier point — even after you run /clear.

No. 2

You give it a goal, and it doesn't stop until it's reached. Not one reply and done — it keeps going, turn after turn.

No. 3

A command that repeats itself on an interval: watching the deploy, checking the tests — while you sleep. And if you don't set an interval, it picks the pace on its own.

No. 4

Type it mid-conversation and it copies the whole conversation into a second session in the background — so you're working on two things at once.

No. 5

Run it when your limit runs out too fast — it shows you what's burning through it: which skill, which MCP, which subagent, and when your limit resets.

Every command — sorted by use case

Search, filter, and click a command to copy it.

1

Session control & time travel

20 commands
  • Rolls back the code and the conversation to any earlier point, even after /clear From the reel

  • Set a goal (like “all tests pass”) and it keeps working turn after turn until it's met From the reel

  • Repeats a command or prompt on an interval; with no interval, it picks the pace itself From the reel

  • Copies the whole conversation into a second session that runs in the background From the reel

  • Branches off the current conversation so you can try a different direction without losing the original

  • Turns the current session into an agent running in the background

  • Takes you back to a previous conversation (you can also paste a PR link to find the session that created it)

  • Names the current session so it's easy to find later

  • Moves the session to another working directory without rebuilding the cache

  • A new conversation with an empty context

  • Summarizes the conversation to free up context

  • Sets the auto-compaction window

  • Shows context usage as a colored grid

  • A quick side question that doesn't get added to the conversation

  • Continues the current session in the Claude Code Desktop app

  • Pulls a cloud session into your current terminal

  • Continue your local session from another device (your phone)

  • Exports the conversation as text

  • Session, model and connection status

  • Closes the session

2

Usage, limits & cost

8 commands
  • Shows you what's eating your plan's limit: which skill, which MCP, which subagent, and when it resets From the reel

  • Alias for /usage

  • Effort level (low → xhigh) per session, with an interactive slider

  • Turns fast output mode on or off

  • Switches the model and saves it as your default

  • An HTML report analyzing your recent sessions

  • How much context each skill costs and how often it's been used

  • Share a free week of Claude Code with your friends

3

Code, review & quality

15 commands
  • Reviews the diff or PR, hunting for real bugs (runs as a background subagent)

  • Alias for /code-review

  • A fleet of agents hunts for bugs in the cloud and sends the results back to your terminal — the new name is /code-review ultra

  • Scans the diff for security vulnerabilities

  • Simplifies the changed code, reuses what already exists, and applies the fixes

  • A live panel of your changes that updates with every edit

  • Builds and confirms the change actually works

  • Launches the app and tries it out to see the change live

  • Diagnoses a problem with detailed logging

  • Large-scale changes across the project, in parallel

  • Jumps straight into plan mode

  • Creates a CLAUDE.md file that documents the project

  • Edit CLAUDE.md files and manage auto-memory

  • A cloud session that watches the PR and pushes fixes when CI fails

  • In-depth web research with a synthesized report

4

Design & interfaces

7 commands
  • Editable design canvases for UIs, landing pages and posters

  • Converts the design system in your repo and uploads it to Claude Design

  • Design guidance for charts, graphs and dashboards

  • Switches the output style (e.g. Concise)

  • Changes the UI color palette or builds a custom theme

  • Sets the prompt bar color for the current session

  • A focused view that shows only the essentials

5

Agents & parallel work

5 commands
  • Manage subagent configurations

  • Lists the agents and sessions Claude can message

  • Lists background work, including subagents

  • Manage multi-agent workflows

  • Enables the advisor tool: a second model it consults while working

6

Plugins & integrations

14 commands
  • Manage MCP connections and authentication

  • Manage plugins (install, enable, list)

  • Manage your custom skills

  • View hook configurations for tool events

  • Allow, ask and deny rules for tools

  • Scans your transcripts and adds an allowlist so you get fewer prompts

  • Claude in Chrome settings

  • Manage your IDE integration and its status

  • Install the Claude GitHub app for a repository

  • Install the Claude Slack app

  • Import settings from other tools

  • Add an extra working directory to the session

  • Lists the artifacts you own or that were shared with you

  • Loads the Claude API reference into the session

7

Settings, maintenance & help

15 commands
  • The settings interface (also accepts key=value directly)

  • A full check of your install and settings, with auto-fix (/checkup is an alias)

  • Drafts auto mode rules from your project and sessions

  • Opens your keyboard shortcuts file

  • Enables Vim keybindings

  • Voice input

  • A QR code to download the Claude mobile app

  • Short interactive lessons right in the terminal

  • Send feedback (Claude drafts the report for you)

  • Report a bug and share the conversation (/share is an alias)

  • Help and the command list

  • Your current Claude Code version

  • Sign in to your Anthropic account (/logout to sign out)

  • Copies the last reply to the clipboard

  • Claude FM radio (lo-fi) while you work

Take it with you

A printable version, plus answers to the questions that keep coming up.

PDF version — for printing or your phone

The same commands in one tidy file laid out on A4 pages — keep it open next to you while you work.

The Hidden Claude Code Commands Guide
PDF · 190 KB — in Arabic, free
Download the guide (Arabic PDF)
?

Frequently asked questions

I typed the command and it didn't work — or it's not in the menu
Three possibilities: the command is hidden from the / menu and you need to type its full name, it depends on your plan or platform, or your version is out of date — the list changes with the weekly updates. Update Claude Code, and run /doctor to check your install.
What's the difference between /fork and /branch?
/fork copies the whole conversation into a second session that runs in the background — so you're doing two things at once. /branch branches off the current conversation so you can try a different direction without losing the original.
/clear or /compact — which one should I use?
/clear starts a new conversation with an empty context. /compact summarizes the conversation to free up context while you carry on with the same task. And if you run /clear and regret it, /rewind brings you back.
Why are there two commands that do the same thing?
They're aliases for the same command: /cost = /usage, /review = /code-review, /checkup = /doctor, and /share = /bug. Use whichever one you remember.
Will this guide stay up to date?
This guide is based on the command list and the weekly updates in the official docs up to September 2026. The latest reference is always right there for you: type / or /help in your session, or open the official docs.
Official docs — code.claude.com/docs

Start with /rewind and /goal — those are the ones that change the way you work from day one. And if you want to build your own commands, check out the complete Skills guide.

Good luck 👊
Tell me which command you didn't know about — I'd love to hear.

@diyaa.albouzan.tech