Claude Code Slash Commands: The Ones That Actually Change How You Work

Claude Code ships with roughly 55 slash commands. Most of them are shortcuts. A handful of them are infrastructure. The commands that matter are the ones that build persistent context, plan before they execute, and let custom skills run your process the same way every time. This guide covers the ones that change how you work, and skips the ones you do not need yet.

Marlon Brand

Marlon Brand

Founder, Undeniable · Last updated April 2026

01Overview

The Problem Nobody Names

You use Claude Code every day. You open a session, explain your project, describe what you need, get good output, close the session. Tomorrow you do it again. From scratch.

Each session feels productive. You're getting work done. But zoom out and look at the pattern: you're spending five to ten minutes at the start of every session re-establishing context. Your project structure. Your preferences. Your tone of voice. The decisions you made last week that still apply today.

Run three or four sessions a day, and that's fifteen to forty minutes of pure repetition. Every day. Five days a week, that's roughly two to three hours gone. Over a year, you're looking at 100 to 150 hours of re-explaining things Claude already knew yesterday.

At your hourly rate... whether that's $100 or $200... that's $10,000 to $30,000 a year. Not on building. Not on shipping. On context recovery.

That's the Reset Tax. And most people don't see it because each individual session feels fine. The cost is invisible until you measure it.

I tracked my own sessions for a month. The context recovery time was worse than I expected... averaging 8 minutes per session, 4 sessions a day, 5 days a week. That's over 130 hours a year. For one person.

This isn't a prompting problem. It's an infrastructure problem. You're treating every conversation as disposable when the work you're doing is continuous.

Slash commands are how you fix that.

If you're new to Claude Code entirely, start with our free course at Learn Claude Code. This guide assumes you've opened it at least a few times.

02Categories

The Three Categories That Matter

Type / inside Claude Code and a menu appears. There are roughly 55 built-in commands, plus custom ones you can create yourself. That sounds like a lot because it is. You don't need most of them.

Anthropic markets slash commands as convenient shortcuts. That's technically true and completely misleading. Shortcuts save you keystrokes. The commands that matter save you hours... because they change the structure of how Claude operates, not just what it outputs.

Slash commands aren't shortcuts for typing less. They're operator-level controls that change how Claude works. Three categories:

Session commands

Affect the conversation you're in right now. /compact manages your context window. /cost shows what you've spent. /model switches which AI model you're using. /effort controls how hard the model thinks. These are dials you turn mid-session.

Persistent commands

Affect every conversation, now and in the future. /init creates a project memory file. /memory stores your personal preferences. /permissions controls what Claude can and can't touch on your system. These are infrastructure. Set them once, benefit forever.

Workflow commands

Orchestrate how you work across sessions and projects. /plan structures your thinking before execution. /batch parallelizes work across your codebase. /schedule runs tasks on a recurring basis. These are systems, not features.

Quick Start

Type /init and add your project rules. Type /memory and add your preferences. Type /compact when sessions get long. That's the foundation. Everything else in this guide builds on those three.

Most people stay in the first category. The ones who build something that compounds move into the second and third.

03Persistent Systems

The Commands That Build Persistent Systems

These are the commands that eliminate the Reset Tax. Each one creates something that persists across sessions... context that Claude remembers without you repeating it.

/init + CLAUDE.md

/init creates a file called CLAUDE.md in your project directory. This file is the first thing Claude reads when you start a session in that project. It's your project's memory.

What goes in it: your project structure, conventions, decisions you've made, things Claude should always know. “We use TypeScript. Tests go in __tests__. Don't add comments unless the logic isn't obvious. The API lives at /api/v2.”

The shift: instead of explaining your project every session, you explain it once. Claude starts every conversation already knowing the ground rules. That five to ten minutes of context-setting at the start of every session... gone.

Most people who try /init write a couple of lines and move on. The ones who get real value from it treat CLAUDE.md like a living document. Every time you catch yourself re-explaining something, add it to the file. Over weeks, it becomes a complete operating manual that makes Claude genuinely useful from the first message.

/memory

If CLAUDE.md is project memory, /memory is personal memory. It stores preferences that follow you across every project... your coding style, your communication preferences, how you like output formatted.

The distinction matters. CLAUDE.md says “this project uses Tailwind and deploys to Vercel.” /memory says “I prefer concise responses, I use VS Code, and I want you to explain your reasoning before making changes.”

CLAUDE.md lives in your project folder and can be shared with a team. Memory is personal and follows your account.

/permissions

/permissions controls exactly what Claude can do on your system. Which files it can read, which commands it can run, what it needs to ask about first.

This isn't about fear. It's about trust with guardrails. You want Claude to edit files in your src/ directory without asking every time. You don't want it running rm -rf without a conversation first.

The default permissions work fine for most people. But if you're using Claude for anything serious... client work, production code, systems that handle real money... configuring permissions is how you go from “I hope it doesn't break anything” to “I know exactly what it can touch.”

/compact + /context

Every conversation has a context window... the amount of information Claude can hold in its head at once. Long sessions fill it up. When it's full, Claude starts forgetting things from earlier in the conversation.

/context shows you a visual grid of what's using your context window right now. It's a diagnostic tool... you can see exactly how much space your conversation, your files, and your tools are consuming.

/compact reclaims that space. It compresses the conversation history, keeping the important parts and dropping the noise. Clearing your desk without throwing away your notes.

/compact isn't about saving tokens or reducing costs. It's about preserving what matters. A compact conversation where Claude remembers your key decisions is more useful than a bloated one where the important context is buried under 200 messages of back-and-forth.

When to use it: when your session starts feeling sluggish, when Claude starts forgetting decisions from earlier, or when you're about to start a new phase of work within the same session. You can even pass instructions: /compact focus on the database migration decisions to tell it what to prioritize.

/resume

/resume lets you pick up a previous session exactly where you left off. Not a new conversation about the same topic... the actual session, with all its context intact.

This changes the mental model completely. Sessions aren't disposable anymore. They're persistent workstreams you return to by name. You can /rename a session to “client-dashboard-rebuild” and come back to it three days later without losing a single decision.

The combination of /init (project memory) + /memory (personal preferences) + /resume (session persistence) is what eliminates the Reset Tax entirely. Claude remembers your project, remembers you, and remembers what you were working on. You open a session and start working. That's it.

04Workflow

The Commands That Change How You Plan and Ship

The previous section was about memory. This one is about workflow... the commands that change how you move from idea to finished work.

/plan + /ultraplan

/plan puts Claude into planning mode. Instead of immediately writing code or making changes, it reads the codebase, thinks through the approach, and presents a plan for your approval before touching anything.

Without /plan, you describe what you want, Claude starts building, and you course-correct along the way. With /plan, you align on the approach first, then execute. I started using /plan on anything that touches more than two files. The number of “wait, that's not what I meant” moments dropped to almost zero.

/ultraplan takes it further. It drafts the plan in a dedicated session, lets you review it in your browser, and then executes it... either remotely or in your terminal. The difference: /plan is thinking before doing. /ultraplan is architecture before building.

For anything that touches more than two or three files, or anything where the wrong approach would cost you an hour of undo work, planning first pays for itself immediately.

/rewind

/rewind is version control for conversations. If Claude goes down the wrong path... wrong approach, wrong file, wrong assumption... you rewind to a checkpoint and try again. The code changes revert too.

This isn't undo. Undo removes the last action. /rewind takes you back to a specific point in the conversation with all the context intact up to that moment. You keep everything that was right and discard everything that went wrong.

The practical impact: you stop being afraid of letting Claude try ambitious approaches. If it doesn't work, you rewind. The cost of experimentation drops to near zero.

/diff

/diff opens an interactive viewer showing every change Claude has made... both uncommitted changes overall and what changed in each turn of the conversation.

Before you commit anything, you can see exactly what was modified. No surprises. No hunting through files to figure out what changed.

/batch

/batch is the scale command. It analyzes your codebase, breaks a large task into 5 to 30 independent units, spawns a separate agent for each one in isolated copies of your code, and each agent opens its own pull request when it's done.

One command. Parallel execution across your entire codebase. Each change isolated so nothing conflicts.

This is the command that turns “I need to rename this pattern across 40 files” from a full afternoon into 15 minutes. Or “update every API endpoint to the new authentication format” from a terrifying manual process into a reviewable set of pull requests.

/autofix-pr

If you work with code or manage a development team, this one matters. /autofix-pr watches your current pull request. When automated checks fail or a reviewer leaves a comment, Claude automatically pushes a fix.

The workflow shift: review stops being a back-and-forth where someone context-switches every time a flag goes up. Claude handles the mechanical fixes. Your team handles the judgment calls.

05Portability

The Commands That Let You Work From Anywhere

Your Claude Code session isn't tied to a window anymore. These commands let you move your work between devices, interfaces, and input methods without losing context.

/desktop

Started a session in your terminal and want to continue on the desktop app? /desktop moves it over. Your full conversation, your context, your files... all of it.

/teleport

The reverse of /desktop. If you started a session on claude.ai (the web interface), /teleport pulls it into your local terminal. Now you have full access to your filesystem, your tools, your development environment.

/remote-control

/remote-control makes your terminal session controllable from claude.ai on any device. Start a complex build on your desktop, walk to a meeting, and keep directing it from your phone. We wrote a full setup walkthrough at Claude Code Remote Control.

/voice

/voice enables push-to-talk voice dictation. Instead of typing your instructions, you talk. Claude transcribes and executes.

Some of the best work happens when you can think out loud instead of typing precisely. “Look at the user authentication flow, find where the session token gets created, and add logging so I can see what's happening when it expires”... that's easier to say than to type.

These four commands together mean your Claude session is infrastructure that follows you. Terminal to desktop. Desktop to web. Web to phone. Keyboard to voice. The session is the constant. The interface is interchangeable.

06Custom Skills

Custom Skills: Where It Gets Real

Everything above is built-in. The commands ship with Claude Code. But the real infrastructure play is building your own.

Custom skills are markdown files that live in .claude/skills/... either in your project directory (project-level) or in your home directory (personal, follows you everywhere). Each skill is a folder with a SKILL.md file that contains instructions Claude follows when you invoke it.

Here's what one looks like:

.claude/skills/
  client-report/
    SKILL.md

And the SKILL.md file:

---
name: client-report
description: Generate a weekly client performance report
allowed-tools: Read, Grep, Bash(git:*)
---

Generate a weekly performance report for the client. Include:

1. Ad spend vs. budget (pull from analytics export)
2. Cost per lead this week vs. last week
3. Top 3 performing creatives with spend and CPA
4. One specific recommendation based on the data

Format as markdown. Keep it under 500 words.
Use exact numbers, not percentages alone.

Type /client-report and Claude executes it. Every time. Same structure, same quality, same format. No re-explaining the template. No forgetting to include the recommendation section.

The examples are endless. A coach who onboards every client the same way builds a /client-onboard skill. A consultant who audits websites builds a /site-audit skill. An agency owner who generates proposal drafts builds a /proposal skill.

Three scope levels:

ScopeLocationWho Uses It
Personal~/.claude/skills/your-skill/SKILL.mdYou, across all projects
Project.claude/skills/your-skill/SKILL.mdAnyone working on this project
PluginInstalled via plugin systemAnyone who installs the plugin

Personal skills follow your account. Project skills live in the repo and can be shared with your team through version control. Plugin skills are distributed to anyone who installs them.

The settings block at the top of the file (called frontmatter) controls behavior. allowed-tools restricts what the skill can access. model specifies which AI model to use (you might want a faster model for simple tasks). disable-model-invocation: true means the skill only runs when you explicitly type the command, never automatically.

You can also pass arguments. /client-report acme-corp fills in $ARGUMENTS with “acme-corp” inside the skill, so the same skill works for every client. More advanced options exist for power users... positional arguments, file inclusion, shell commands... but the basics above cover most use cases.

This is the point where you stop prompting and start building a system. Each skill you create is a piece of infrastructure that compounds. Your onboarding process doesn't depend on you remembering the steps. Your reporting doesn't depend on you writing the same prompt correctly each time. The system handles the consistency. You handle the judgment.

A configured set of custom skills is what turns Claude from a chatbot into a Digital Employee... persistent, reliable, and working the way you documented. We first named this concept in our Claude vs ChatGPT comparison. Custom skills are how you actually build it.

If setting all this up feels like a lot... that's exactly the kind of infrastructure we build for clients. But most people are surprised how far they get on their own once they have the right commands.

07Skip These

The Commands You Don't Need (Yet)

Claude Code has roughly 55 built-in commands. We've covered the ones that transform how you work. Here's what's left and who actually needs them.

Power user territory

  • /mcp connects Claude to external tools and services (databases, APIs, specialized systems). Powerful, but you need it when you need it... not before.
  • /agents manages subagent configurations. Relevant when you're orchestrating multiple AI agents for complex workflows. Most people won't touch this for months.
  • /hooks automates actions around tool events (run a linter every time Claude edits a file, for example). Useful for teams with strict workflows.
  • /sandbox isolates Claude's execution environment. Platform-specific, mostly relevant for security-sensitive work.
  • /setup-bedrock and /setup-vertex configure enterprise AI provider backends. You know if you need these.

Nice to know

  • /export saves your conversation as a text file. Useful for documentation or sharing context with someone.
  • /powerup runs interactive tutorials that teach you Claude Code features with animated demos. Worth running once when you're getting started.
  • /insights and /stats show your usage patterns... what you work on, how you use Claude, session history. Interesting but not a workflow shift.
  • /cost and /usage show what you're spending and where your plan limits stand. Good hygiene, not a workflow change.

None of these are bad commands. They're just not the ones that change how you work. Skip them until you have a specific reason to learn them.

08FAQ

Common Questions, Straight Answers

// Free download

The Claude Code Slash Commands Cheatsheet

Every command covered in this guide on a single page. Print it, pin it above your monitor, or keep it open in a tab. No email required.

Download the Cheatsheet (PDF)

More from the Lab

--meta-ads

How We Cut Cost Per Lead from $16 to $5.43

The creative strategy framework behind it. Same budget, same targeting. Different creative.

Read
--meta-ads

Meta Ads Credit Card Deadline: What to Do Before April 1st

How to switch billing, what it means for cash flow, and the exact message to send each type of client.

Read
--lead-gen

Facebook Lead Forms vs Landing Pages

Which funnel setup actually converts and when to use each.

Read
--ai-tools

Claude vs ChatGPT for Coaches and Consultants

Which AI actually does the work? Architecture, persistence, and compounding compared.

Read
--ai-tools

Control Your Computer From Your Phone Using Claude

Step-by-step Remote Control setup. No coding required. 10 minutes.

Read
--gemini

Gemini Multimodal: The AI That Sees Your Work

When to use Gemini instead of Claude or ChatGPT. Video, photos, recordings, and image generation for coaches and consultants.

Read
--email-deliverability

Get Out of Spam — Or Keep Losing Revenue in Silence

Why your emails land in spam and the infrastructure framework for fixing it.

Read
--ai-motion-control

AI Motion Control: Cinematic Video with Higgsfield

Create cinematic AI video using Higgsfield. No camera crew, no budget.

Read
--free-tool

Clean Copy — Make AI Text Sound Human

Free browser tool that strips AI tells from your copy. Paste, pick a mode, get human output.

Try it
--free-course

Learn Claude Code — Free 5-Lesson Video Course

Set up VS Code with Claude Code, build a landing page, and deploy live with Vercel. Five lessons, no coding experience required.

Watch free

Ready to Skip the DIY?

We build AI infrastructure like this for one client per quarter. CLAUDE.md files, custom skills, and the workflow systems underneath.

// One client per quarter

Apply to Work With Undeniable

No commitment. No pitch deck. Just a straight conversation about what's possible.