GuidesClaude Code

Claude Code Cheat Sheet: 100+ Commands, Shortcuts and Hidden Features

The Claude Code commands worth knowing, explained in plain English, with examples of when you’d actually use them.

Last checked against Anthropic’s Claude Code docs on 16 October 2026. Claude Code changes fast, so we check this page every month.

  • 15 tips for non-coders
  • 100+ commands and shortcuts
  • Printable one-pager

Claude Code isn’t just for developers. If you work with files (docs, spreadsheets, content, research), it can read, write and organise them for you, right on your computer.

Most people only ever type plain requests. The commands below are the shortcuts that make it faster, cheaper and less likely to go off track.

How to use this page

Quick basics

  • Type / in Claude Code to see every command. Keep typing to filter the list.
  • A command only works at the start of your message. Anything after it is passed to the command.
  • Some commands depend on your plan, version or setup. If one doesn’t show up when you type /, update with claude update.

The Claude Code one-pager

Last checked against Anthropic’s Claude Code docs on 16 October 2026. theaiimpact.co/guides/claude-code-cheat-sheet

The 12 commands to learn first

CommandWhat it doesUse it when
/planClaude plans before it changes anythingThe task is big or risky
/btwAsk a side question without adding it to the chatQuick questions mid-task
/rewindUndo back to an earlier pointClaude went the wrong way
/contextShows what’s filling Claude’s memory for this chatIt’s getting slow or confused
/compactShrinks the chat but keeps the important bitsLong session, don’t want to start over
/clearStarts a fresh conversationMoving to a new task
/modelSwitch Claude modelsTrade speed for quality
/effortSet how hard Claude thinksTurn it up for tricky work
/memoryEdit Claude’s standing instructions (CLAUDE.md)Teach it how you work
/goalClaude keeps going until a goal is metLong jobs you want finished
/usageShows cost, plan limits and activityWork out what’s burning usage
/doctorChecks your setup and offers fixesSomething isn’t working

The 10 shortcuts to learn first

ShortcutWhat it does
EscStop Claude mid-answer (it keeps the work so far)
Esc EscOpen rewind (when the prompt is empty)
Shift+TabCycle permission modes, including plan mode
Shift+Enter or Ctrl+JNew line without sending
Ctrl+SStash your half-written prompt, then bring it back
Ctrl+VPaste an image (Alt+V on Windows)
Ctrl+RSearch your previous prompts
Ctrl+OOpen the detailed transcript
@Point Claude at a file
!Run a terminal command directly

Part 1: Start here. 15 Claude Code tips for people who don’t code

Each tip is one command, what it does, when to use it, and an example you can copy. The examples use business work (content, research, reports), not code.

Tip 1: Take the built-in tour

Command: /powerup

What it does: Runs quick interactive lessons, with animated demos, on Claude Code features.

When to use it: Your first week. It’s the fastest way to learn what’s possible.

Example:

/powerup

Tip 2: Give Claude a rulebook

Command: /init, then /memory

What it does: /init creates a CLAUDE.md file for the folder you’re working in, a set of standing instructions Claude reads at the start of every session. /memory lets you edit it later, and turn Claude’s automatic memory on or off.

When to use it: As soon as you start working in a new folder. Add your tone of voice, your rules, and anything you’re sick of repeating.

Example:

/init

Then add rules like: “Always write in Australian English. Never use em dashes. Save drafts to the /drafts folder.”

Tip 3: Make it plan first

Command: /plan

What it does: Puts Claude in plan mode. It looks at everything and proposes a plan, then waits for your OK before changing anything.

When to use it: Before any big or risky job, like reorganising a folder or rewriting lots of files.

Example:

/plan turn the 12 blog posts in /blogs into a 4-week content calendar, without editing the posts

Also: Press Shift+Tab to cycle into plan mode.

Tip 4: Ask a side question

Command: /btw

What it does: Asks a quick question about the session without adding it to the conversation, so it doesn’t distract Claude from the main task.

When to use it: Mid-task, when you want to check something without derailing the work.

Example:

/btw which files have you changed so far?

Tip 5: Undo when it goes wrong

Command: /rewind, or press Esc twice on an empty prompt

What it does: Rolls the conversation, the files Claude edited, or both back to an earlier point.

When to use it: Claude misunderstood you and changed the wrong things. Rewind instead of arguing with it.

Example:

/rewind

Tip 6: Stop it mid-answer

Shortcut: Esc

What it does: Stops Claude straight away. It keeps the work done so far, so you can redirect it.

When to use it: You can see it heading the wrong way. Don’t wait for it to finish.

Tip 7: Fix a slow, confused session

Commands: /context, then /compact

What it does: /context shows what’s filling Claude’s working memory for this chat, with suggestions. /compact shrinks the conversation into a summary so Claude has room to think again.

When to use it: Long sessions where Claude starts forgetting things or getting slow.

Example:

/compact keep the brand voice decisions and the final headline list

Starting a new task?: Use /clear for a completely fresh conversation.

Tip 8: Give it a finish line

Command: /goal

What it does: Sets a goal. Claude keeps working across turns until the goal is met.

When to use it: Bigger jobs where you’d otherwise keep typing “keep going”.

Example:

/goal every product page in /products has a 150-word description and a meta description under 155 characters

Tip 9: Research with sources

Command: /deep-research

What it does: Runs many web searches on one question, cross-checks sources and writes a cited report.

When to use it: Competitor research, market questions, anything where you need sources.

Example:

/deep-research what are the top 5 AI tools Australian marketing agencies are using in 2026, with pricing

Tip 10: Make a deck or a design

Commands: /slides and /design

What it does: /slides makes a presentation from your brief. /design drafts mockups, landing pages or posters.

When to use it: You’ve done the thinking in Claude Code and want something to show people.

Example:

/slides a 6-slide summary of the content calendar for our team meeting

Tip 11: Have it check something on repeat

Command: /loop

What it does: Runs a prompt again and again while your session stays open. Give it an interval, or leave it out and Claude sets the pace.

When to use it: Watching for something to change.

Example:

/loop 30m check the /inbox folder for new briefs and summarise any you find

Want it to run when your computer is off?: /schedule sets up routines that run in the cloud.

Tip 12: Talk instead of typing

Command: /voice

What it does: Turns on voice dictation. Needs a Claude.ai account.

When to use it: Long briefs. Talking is faster than typing.

Example:

/voice

Tip 13: Stop the permission pop-ups

Command: /fewer-permission-prompts

What it does: Looks at what Claude has asked permission for before, and adds a list of safe, read-only actions so it stops asking every time.

When to use it: You’re clicking “yes” to the same harmless request over and over.

Example:

/fewer-permission-prompts

Tip 14: See what’s using your plan

Command: /usage

What it does: Shows session cost, plan usage limits and activity. /cost does the same.

When to use it: You’re hitting limits and want to know why.

Pair it with: /model and /effort. A lighter model or lower effort on simple jobs makes your plan go further.

Tip 15: Let Claude coach you

Command: /insights

What it does: Builds a report on how you use Claude Code: your projects, where things go wrong, and features to try.

When to use it: After a few weeks of use. It’s like a review of your habits.

Example:

/insights

Bonus shortcut: Ctrl+S stashes a half-written prompt and clears the box. Press it again on an empty prompt to bring it back.

One AI tool or system you can use, every week. Free. Get the newsletter →

Part 2: The full Claude Code reference

Everything worth knowing, grouped by job. Commands marked “Dev” are mainly for people working with code.

Sessions and context

CommandWhat it does
Start a new conversation. Add a name to label the old one so you can find it in /resume
Shrink the conversation into a summary. Add instructions for what to keep
Show what’s filling the context window, with suggestions
Set how full the context gets before Claude compacts automatically, for example /autocompact 500k
Go back to an earlier session
Name the current session
Branch the conversation to try another direction without losing the original
Roll the conversation and/or files back to an earlier point. Also /undo
A one-line summary of the session so far
Side question that isn’t added to the conversation
Copy Claude’s last response. /copy 2 copies the one before
Export the conversation as plain text
Simple view: just your last prompt, a one-line summary of what Claude did, and the answer
Leave Claude Code. Also /quit

Model, thinking and control

CommandWhat it does
Switch models and save it as your default
Set reasoning effort: low to xhigh, max or auto. Available levels depend on the model
Toggle fast mode
Let Claude consult a second model for guidance at key moments
Enter plan mode, optionally with a task
Keep working until a condition is met
Manage what Claude can do without asking
Auto-build a list of safe actions so it asks less
Open settings, or set one directly with key=value
Version, model, account and connection

Memory and skills

CommandWhat it does
Create a CLAUDE.md file for this folder
Edit CLAUDE.md files and manage automatic memory
List your skills. A skill is a reusable workflow Claude loads when it’s relevant
Pick up new or changed skills without restarting

Where instructions live:

  • ~/.claude/CLAUDE.md: your personal instructions, for every project
  • ./CLAUDE.md: project instructions, shared with your team
  • ./CLAUDE.local.md: your private notes for this project

Where skills live:

  • ~/.claude/skills/: available in all your projects
  • .claude/skills/: this project only

Tools and connections

CommandWhat it does
Manage connected tools (MCP servers) like Gmail, Notion or your database
Manage plugins
View automations that run on Claude Code events
Claude in Chrome settings
Give this session access to another folder
Move the session to another folder and keep the conversation
Control this session from claude.ai or the Claude app
Continue this session in the Claude desktop app (macOS or x64 Windows)
Voice dictation

Making things

CommandWhat it does
Cited research report from many web searches
Make a presentation
Draft mockups, landing pages or posters

Agents and background work

CommandWhat it does
Hand a side task to a background helper while you keep working. Its result comes back to this chat
Send the whole session to the background and free up your terminal
Copy this conversation into a new background session
See background work in this session
Split a big job into 5 to 30 pieces and run them in parallel. Shows you a plan first
Now just reminds you to ask Claude to create or manage agents in plain English
Open agent view to watch background sessions

Automation

CommandWhat it does
Repeat a prompt while the session stays open
Set up routines that run in the cloud
Dev: a cloud session watches your pull request and pushes fixes

Reviewing and fixing work

CommandWhat it does
See every change Claude has made
Check your setup and offer fixes
Turn on debug logging and troubleshoot this session
Cost, plan limits and activity. Also /cost
Report on how you use Claude Code
Dev: review your changes, for example /code-review high --fix. Also /review
Dev: check your branch for security problems
Dev: four review agents look for cleanup and apply fixes
Dev: launch your app and see the change working, not just passing tests
Dev: build, run and observe the app to confirm a change works

Make it yours

CommandWhat it does
Change the colour theme
Colour the prompt bar for this session
Set up the status line
Edit your keyboard shortcuts
Write an onboarding guide for a teammate from your last 30 days of use
Interactive feature lessons

All keyboard shortcuts worth knowing

Shortcuts can vary by terminal. On a Mac, some Option shortcuts need “Option as Meta” turned on in your terminal settings.

ShortcutWhat it does
EscStop Claude mid-answer, or close a dialog
Esc EscClear your draft, or open rewind if the prompt is empty
Ctrl+CInterrupt, or clear the input. Press twice on an empty prompt to exit
Ctrl+DExit (press twice)
Shift+TabCycle permission modes
Option+P / Alt+PSwitch model
Option+O / Alt+OToggle fast mode
Shift+Enter or Ctrl+JNew line
Ctrl+SStash or restore your prompt
Ctrl+VPaste an image (Cmd+V in iTerm2, Alt+V on Windows)
Ctrl+RSearch previous prompts
Ctrl+OToggle the detailed transcript
Ctrl+BSend running tasks to the background
Ctrl+TShow or hide Claude’s task checklist
Ctrl+GEdit your prompt in your text editor
Ctrl+LRedraw the screen if it looks garbled
@Mention a file
!Run a terminal command and let Claude see the result

Terminal commands (power users)

CommandWhat it does
Start Claude Code
Start with a prompt
Run once without the chat window, then exit
Continue your last session in this folder
Resume a session by name or ID
Start a session with a name
Update Claude Code
Check your install without starting a session
Watch background sessions
Dev: work in a separate copy of your repo (a git worktree)

Useful flags

FlagWhat it does
Choose the model, for example --model sonnet
Set reasoning effort
Start safely in plan mode
Give Claude another folder
Start with a particular agent
Pre-approve specific tools
Start as a background session
Set the auto-compact window for this session
Turn on the advisor for this session
Turn on Claude in Chrome
Start with all customisations off, to troubleshoot a broken setup
Structured output for automations (with -p)
Cap the number of steps (with -p only)
Stop at an estimated spend on API calls (with -p only). This doesn’t cap a Claude subscription
Dev: start in a separate git worktree

FAQs

Do I need to know how to code to use Claude Code?

No. Claude Code works with any files on your computer, not just code. You can use it for content, research, reports and organising documents. You type in plain English, and the commands on this page just make it faster.

How do I see every command?

Type / in Claude Code. You’ll see every command available to you, and you can keep typing to filter the list.

A command on this page doesn’t work for me. Why?

Some commands depend on your version, plan or setup. Run claude update first. Some, like /voice, need a Claude.ai account, and /desktop needs macOS or x64 Windows.

What’s the difference between /clear and /compact?

/clear starts a brand new conversation. /compact keeps the same conversation but shrinks it into a summary, so Claude keeps the important context.

What’s the difference between /loop and /schedule?

/loop repeats a task while your Claude Code session is open. /schedule sets up routines that run in the cloud, so they keep going when your computer is off.

Is CLAUDE.md the same as memory?

Close. CLAUDE.md holds the rules you write on purpose. Claude Code also has automatic memory, where it notes useful things itself. /memory manages both.

How often is this page updated?

We check it against Anthropic’s docs every month. The date at the top shows the last check.

Start with three

Don’t try to learn 100 commands. Learn /plan, /rewind and /compact this week. They’ll save you more time than all the others put together. Then come back for the rest.

Get one free AI tool every week

The tools, prompts and systems we actually use. Free, unsubscribe anytime.

Get the newsletter

Want your team using Claude properly?

We train teams to use Claude and Claude Code on real work, in person in Sydney or online.

Explore more AI guides →