Claude Code

The Secret Codes Built Into Claude Code (and What Each One Does)

Claude Code ships with slash commands most people never type. The three from the video, eight more worth knowing, and a copy-paste way to try them on your own project today

2min read
1prompts to copy
4numbered steps
5sections

Type / in Claude Code and you get a menu of built-in commands. Most people only ever use /clear and /model. These are the ones that change how you work, and every one is already installed.

Start with the three from the video, then try the rest one at a time.

The three from the video

CodeWhat it does
/simplifyFour review agents check the code you just changed (reuse, simplification, speed, right level of abstraction) and apply the fixes
/btw <question>Asks a side question about your session without adding it to the conversation
/goal <condition>Claude keeps working across turns until the condition is met

Eight more worth knowing

CodeWhat it does
/branchSplits the conversation here so you can try another direction; /resume takes you back
/rewindRewinds the conversation and/or your code to an earlier point (also /undo)
/contextShows what is filling Claude's context as a coloured grid, with tips to free space
/recapOne-line summary of the session so far
/diffReview every change in your working tree, including Claude's edits
/security-reviewChecks the changes on your branch for security holes
/insightsAn HTML report on how you use Claude Code and where things go wrong
/powerupQuick interactive lessons on Claude Code features

Free, for your email

Get the full setup steps + the copy-paste setup prompt

The rest of this guide (3 more sections, 1 copy-paste prompt) opens right here. The setup prompt, one paste into Claude that sets it all up, comes by email only. Use your real address.

50,000+ follow where these guides come from. No spam, unsubscribe in one click.

Read next