All guides
ClaudeClaude CodeShortcutsGuide6 min read18 Oct 2026

5 Claude Code shortcuts most people never find

Side questions, instant recaps, rewinds, branches and a stash for half-written prompts.

From Adam

Hey, it's Adam 👋 You commented SHORTCUTS on my Claude Code reel. Here are the 5 shortcuts from the video, with exactly how each one behaves so you don't get caught out. All of this is in Anthropic's own docs — code.claude.com/docs/en/commands and code.claude.com/docs/en/interactive-mode. I've checked every line below against those two pages.

These work in the Claude Code terminal. Type / at the prompt to see the command menu; type / plus a few letters to filter it. Some of these have version requirements — run claude --version first and update if you're behind.

shortcut 1

1. /btw — ask a side question without polluting the conversation

Claude Code answers from what's already in the session (your messages, its replies, the files it read) and the question never enters the conversation history. It shows up in a small overlay instead.

Example
/btw what was the name of that config file again?

Mid-task, run /btw which files have you edited so far?. The answer appears in an overlay and your main conversation is untouched.

shortcut 2

2. /recap — one-line summary of where you are

Example
/recap

Claude Code generates a one-line summary of the session so far, capped at 400 characters.

After a few turns, run /recap. You should get one short line, not a paragraph.

shortcut 3

3. Double Esc — rewind to an earlier point

Press Esc twice with the prompt empty and the rewind menu opens. It lists every prompt you've sent this session. Pick a point, then choose:

Ask Claude to make a small edit to a file, then press Esc Esc on an empty prompt and choose Restore code. The file goes back.

shortcut 4

4. /branch — try a different approach without losing the original

Example — unnamed
/branch
Example — named
/branch try-redux-version

Creates a branch of the conversation at this point and switches you into it. The original is preserved and you can go back to it with /resume.

Run /branch experiment, send one message, then run /resume and pick the original conversation. Both should be there.

shortcut 5

5. Ctrl+S — stash a half-written prompt

Typing a long prompt and need to send something else first? Press Ctrl+S.

Type half a sentence, press Ctrl+S (prompt clears), send a quick message, then press Ctrl+S on the empty prompt. Your draft is back with the cursor where you left it.

rules to follow

🔑 Rules I'd follow

sources

Sources 🔗