These are the 51 built-in Claude Code commands I tried live on a real web app, with every prompt from the video ready to copy. They follow the order of the video. It starts with what is filling Claude's memory and goes through sessions, usage limits, permissions, customizing, automation, testing and security. It ends with the command that undoes Claude's mistakes in about two seconds.
Anthropic's agentic coding tool that works in your terminal, IDE, desktop app and on the web.
I left out /init, /clear and /model because you already know those. Everything below is a real Claude Code command or flag. Most of the demos ran on StreakFlow, a habit tracking web app I'm building, and a few ran on DayFlow, another project of mine. Some of these commands only exist in recent versions, so run claude update before you follow along.
Memory and context: why Claude gets forgetful
1. /context: see what is filling Claude's memory
Claude Code can only hold a certain amount of information at once. That's called the context window, and you can think of it as Claude's short-term memory. When it fills up, Claude starts forgetting earlier instructions and making odd mistakes.
Type /context and press Enter. You get a colored grid that shows exactly what is filling Claude's memory right now: the system prompt, the built-in tools, your CLAUDE.md memory file, the conversation so far and the free space left.
On a fresh session, mine showed 50k of 1m tokens used (5%). The system prompt took 6.5k, system tools 26.9k, MCP tools 11k, MCP server instructions 2k, memory files 1.2k and skills 6.4k, with 917k free. So my MCP tools (307 of them) were using about 11,000 tokens before I had typed a single prompt.
MCP servers are plug-ins that connect Claude to other apps. Every one you connect costs memory, even when you don't use it. If a project doesn't need one, open /mcp, switch it off and get that space back (more on that in command 32). This is the first command I run when Claude starts acting strange. Nine times out of ten, the answer is right there in the grid.
2. /compact with your own instructions
You've probably seen Claude Code compact the conversation on its own when memory gets full. It summarizes everything so far, throws away the long version and keeps going. The problem is that you don't get to choose what it keeps, and sometimes it throws away the one detail you needed.
The part most people miss is that you can type instructions right after the command, and Claude builds the summary around them. This is the exact one I used:
/compact Keep every decision we made about the payment flow and the database structure, the full list of bugs we still need to fix, and the names of the files we changed. Drop the debugging back-and-forth and everything about the landing page.It took about 11 seconds. Then Claude re-read the files it needed (the README, the gamification test file and the Today screen). To check that the important parts survived, I asked: "Which bugs are still open?"
Claude remembered that all 15 bugs it had found were fixed and checked on both the dev server and the production build. It also listed the three behaviours it had left alone on purpose: freezes only cover days where you did nothing at all, the week strip won't let you log days before a habit existed, and adding a new habit can take away today's "perfect day". It even pointed out that my compact note mentioned a payment flow and a landing page, and StreakFlow has neither.
To be honest, a summary is still a summary, and small details can get lost. I only compact at a natural break, like right after finishing a feature. I never do it in the middle of fixing a bug.
3. /btw: a quick side question that doesn't clutter your context
Every question you ask Claude gets added to the conversation and stays there, using up memory. If I'm in the middle of a build and just want a quick answer, I don't want that answer sitting in my context forever.
In the demo, Claude was busy moving DayFlow's backend from Supabase to Firebase and was in the middle of an npm install. While it worked, I asked this:
/btw What is the difference between Supabase and Firebase, in two sentences?Open-source Postgres backend platform with auth, storage, realtime, edge functions and vector search via pgvector.
The answer showed up in a small side panel. It explained that Supabase is built on PostgreSQL with Row Level Security, and that Firebase is built around Firestore, a NoSQL document database. The main task kept running the whole time. When I closed the panel, the main conversation carried on as if I had never asked.
One honest note: /btw is for quick questions only. It can't edit files or run anything. It only answers from what's already in the session.
4. /memory: edit Claude's long-term memory
The CLAUDE.md file from the /context grid is Claude's long-term memory. It's a plain text file Claude reads at the start of every session. Most people never open it, or they let /init write it once and forget about it.
/memory lets you pick which file to edit: user instructions (saved in ~/.claude/CLAUDE.md, applies to every project) or project instructions (saved in ./CLAUDE.md). There's also a shortcut to the auto-memory folder. I opened the project file, which opens in your default text editor (set $EDITOR or $VISUAL to use a different one). Then I added these rules:
Rules:
- I am not a developer. Explain every change in one or two plain-English sentences.
- Never delete files or database tables without asking me first.
- Before saying a feature is done, run the app and check that it works.Now every session in this project starts with those rules. Keep the file short, because everything in it costs memory in every single session.
5. /add-dir: work across more than one folder
By default, Claude Code can only see the folder you opened it in. But projects often live in more than one folder, like a website in one and a mobile app in another.
Type /add-dir followed by the path to the other folder. In the demo I added my second DayFlow folder. Claude asked me to confirm ("Yes, for this session") and then said the folder was added as a working directory, with /permissions to manage it. Now Claude can read and edit both folders in the same conversation, so a request like "make the mobile app use the same colors as the website" actually works. You can do the same at startup with claude --add-dir.
6. The @ sign: point Claude at the exact file
Most people say "fix the bug on the dashboard page", and then Claude spends a while searching the whole project for the right file. That searching costs time and usage.
Instead, type @, start typing the file name and pick it from the list. Here's the prompt I used:
@.gitignore Add index.html into .gitignoreClaude read that exact file (28 lines) with no searching and added the line at line 29 in about 12 seconds. It also warned me that this is a Vite project, where the root index.html is the app's entry point. Ignoring it would leave it out of git, so anyone who cloned the repo couldn't build the app. It offered to narrow the pattern to /index.html. Hold on to that warning, because it comes back in command 45.
You can mention whole folders the same way. It's a small habit, but over a full day of building it saves a lot of usage.
Sessions: pick up exactly where you left off
7. /resume and claude --continue
Say you closed your terminal yesterday in the middle of a build. Most people open Claude Code again and explain the whole project from scratch. You don't need to.
/resume lists your past conversations in this project, with when each one happened and what it was about. You can search them, press Space to preview one, or press Ctrl+R to rename one. I picked my StreakFlow session and the whole conversation came back exactly where I left it, compact summary and all. Because the full history returns, Claude remembers every decision we made and I don't spend usage re-explaining anything.
There's a faster version. When you start Claude Code from the terminal, type claude --continue, or just claude -c. It jumps straight back into your most recent conversation in that folder with no menu at all. If you want the menu from the terminal, use claude --resume. I use claude -c pretty much every morning.
8. /rename: find important sessions in a second
After a week, the /resume list is full of sessions you don't recognize. So whenever I start something important, I name it:
/rename Personal Habit Tracking Web AppClaude confirmed "Session renamed to: Personal Habit Tracking Web App", and the terminal tab title changed too. It now shows up in /resume under that name, and I can jump straight in from the terminal with claude --resume "Personal Habit Tracking Web App".
9. claude --fork-session: experiment without touching your good session
Say I'm happy with where a conversation is, but I want to try something risky, like a completely different checkout design. If I just continue, the experiment gets mixed into my good session.
So I start Claude like this:
claude --continue --fork-sessionThat makes a brand new copy of the conversation with all the history, and the original stays untouched. If the experiment works, great. If it doesn't, I resume the original and it's as if it never happened. It works with claude --resume too.
10. /export: save a whole conversation
Sometimes a session holds something valuable, like a long explanation of how your payments work or the plan for a big feature. /export asks whether you want the whole conversation copied to your clipboard or saved to a file in the current folder. In the demo I picked the clipboard and got "Conversation copied to clipboard". I use it to save big plans so I can hand them to a new session, a teammate or even a different AI tool.
11. /copy: grab Claude's last answer cleanly
Copying Claude's answer straight out of the terminal is messy, with odd line breaks and extra spaces everywhere. /copy puts Claude's last response on your clipboard cleanly, and /copy N grabs the Nth-latest one. When Claude writes me a customer email or a product description, I type /copy and paste it wherever I need it.
Usage limits and your account
12. /usage: know where you stand before you hit the limit
If you're on a Claude Pro or Max plan, you've probably been in the middle of a big build, with everything going well, when you hit your limit and had to wait for it to reset.
Anthropic's family of proprietary large language models (Opus, Sonnet, Haiku tiers) for reasoning, coding and agents.
/usage shows how much of your current session you've used, how much of your weekly limit is gone and when each one resets. That lets me plan. If I'm at 80% of my session, I don't start a huge new feature. I do the small fixes first, or switch to a lighter model with /model, and save the heavy work for after the reset. That one habit stops me from getting cut off mid-build.
One honest note: this is built for the subscription plans. If you pay per use through the API, /cost shows what your session has cost so far.
13. /stats: the bigger picture
/usage tells you about right now, and /stats shows the bigger picture: your Claude Code use day by day, how many sessions you've had, your favorite model and even your streak. It's a good check on whether you're getting your money's worth from your plan.
14. /insights: a coach for how you work
/insights goes a step further. It looks back through your past sessions and writes a report on how you use Claude Code: what you mostly work on, where things keep going wrong and specific suggestions, like rules worth adding to your CLAUDE.md. It takes a little while to run, and you open the report in your browser. It reads a lot of your history, so it uses some of your usage too. Once every week or two is plenty.
15. /fast: quicker responses when you don't need deep thinking
Sometimes you don't need Claude to think harder, you need it to go faster, like when you're making lots of small design tweaks. /fast turns on fast mode for much quicker responses, and typing it again turns it off. Be careful, though: fast mode draws from usage credits at a higher rate, so it can cost more. On my plan it wouldn't even turn on until I switched usage credits on. Check how it works on your plan before you leave it on all day.
16. /extra-usage (now /usage-credits): an emergency button
Say /usage shows you're about to hit the limit in the middle of a launch, and you can't wait hours for a reset. On Pro and Max plans, this lets you set up extra usage so you can keep working past your limit and pay for what you use. When I typed /extra-usage, it told me the command had been renamed to /usage-credits and asked me to log in first. I logged in, got "Login successful", and from there you can set a spending limit so there are no surprises. I keep it as an emergency button, not something I rely on every day.
17. /status: everything on one screen
When something feels off, like Claude being on the wrong account or acting differently than usual, /status shows it all on one screen: your version, your model, the account you're logged into and whether everything is connected. It's the first thing I check before I start panicking.
Permissions and safety nets
18. /permissions: fewer popups and a locked .env file
By default, Claude Code asks before it does anything risky, like running a command or editing a file. That's a good thing, but after the fiftieth "can I run npm run dev?" popup it gets old fast.
/permissions opens a menu with a few tabs, including three lists: Allow, Ask and Deny. In Allow, I add the safe commands I run all the time, like starting the app and running tests. These are the exact rules I added:
Allow: Bash(npm run dev)
Allow: Bash(npm run test:*)
Deny: Read(./.env)
Deny: Read(./.env.*)Now Claude runs those commands without asking. The Deny list is the one most people never touch, and it matters more. These rules mean Claude can never read my .env file, where my secret keys live, like my Stripe and Supabase keys. Even if Claude decides it wants to look in there, it's blocked.
Be careful with the Allow list. Never allow something broad like every terminal command, because then your safety net is gone.
19. /plan: approve the plan before any code changes
This one changed how I build features. Normally you ask for a feature and Claude starts editing files straight away. In plan mode, Claude can read your project and research, but it can't change anything. It comes back with a step-by-step plan and waits for your approval. This is what I asked for:
/plan Add a referral system: each user gets a unique invite link, and when a friend signs up with it, both get one month free. Show me every file you will change and every database change before you start.It listed its key design choices, the database changes and the new tables it planned to add. If anything in the plan looks wrong, you say so before a single line is written, which is much cheaper than fixing it afterwards.
One honest note: I had started this session with bypass permissions on, and Claude Code warned me that in that case plan mode won't stop to ask before most edits. If you want the full safety net, start a normal session first. You can also switch plan mode on and off with Shift+Tab.
20. claude --permission-mode: choose how careful Claude is at startup
This flag sets Claude's caution level when you start it:
claude --permission-mode acceptEdits
claude --permission-mode planacceptEdits lets Claude edit files without asking every time, but it still asks before running commands. I use it for lots of design tweaks when I trust the direction. plan starts you straight in plan mode, so nothing changes until you approve the plan.
21. /sandbox: speed and safety together
This is the smarter way to get fewer permission popups. Instead of allowing commands one by one, /sandbox runs Claude's terminal commands inside a safe box. They can only touch your project folder and only reach the websites you approve, and inside that box Claude can run commands without asking every time. It works on Mac and Linux, and on Windows through WSL, which is a Linux setup that runs inside Windows.
22. /privacy-settings: decide how your conversations are used
On Pro and Max plans, a setting decides whether your conversations can be used to help improve Claude, and many people have never checked it. /privacy-settings takes you straight there. If you build for clients or work with private data, it's worth thirty seconds.
Make Claude Code feel like yours
23. /statusline: a custom info line, written for you
The line at the bottom of Claude Code can show whatever information you want, all the time, and you don't have to build it yourself. Type /statusline and describe what you want in plain English. This is exactly what I typed:
/statusline Show the current model name, the project folder name and the current git branch, separated by small dividers. Keep it short so it always fits on one line.Claude wrote the small script and saved it to my settings. The first version didn't work because it needed a tool called jq that isn't installed on my computer. So Claude rewrote it without jq, tested it again, and it worked. It now shows which model I'm on and which project folder I'm in, with small dividers between them. The branch only shows up inside a git project, and the folder it tested isn't one, so that part was left out for now.
A git branch is basically a separate copy of your project where you can try changes safely. With this line I always know which model is burning my usage, and I never let Claude change the wrong copy of my app. If something looks off, tell Claude what's wrong and it fixes the script in one message.
24. /config: the settings panel most people don't know exists
/config is a simple list you move through with the arrow keys. You can turn auto-compact on or off, change the theme, choose your editor mode and a lot more. Spend two minutes in there once and Claude Code will feel like it was made for you.
25. /theme: colors that are easier on your eyes
If you work in a bright room or find the default colors hard to read, /theme switches between light and dark themes, and there are colorblind-friendly versions too. I picked Light mode and it said the theme was set to light, but my terminal still looked dark, even after a test message. That's because the setting picks text colors to suit your terminal. It doesn't change the background itself. It's a small thing, but you stare at this screen for hours.
26. /keybindings: change the keyboard shortcuts
/keybindings opens the file where Claude Code's keyboard shortcuts live. If a shortcut clashes with your terminal or you want one that's easier to reach, you can change it. If editing a settings file sounds scary, ask Claude to change the shortcut for you.
27. /terminal-setup: make Shift+Enter add a new line
Have you ever pressed Enter to start a new line in your prompt and sent your half-written message instead? In some terminals, like the one inside VS Code, /terminal-setup fixes that by making Shift+Enter start a new line. Many modern terminals already support it, so if Shift+Enter works for you, skip this one. I use Windows Terminal, which already supports it, so /terminal-setup just told me it couldn't be set up from that terminal. If your terminal doesn't support it, you can also type a backslash and press Enter to add a new line.
Automation: hooks, subagents, skills, plugins and MCP
28. /hooks: a sound the second Claude finishes
This is where Claude Code starts to feel like magic. A hook is an automatic action that runs at a set moment, every time, without you asking, for example every time Claude finishes a task.
A big feature can take Claude ten or fifteen minutes. I go make a coffee, come back, and find it finished ages ago and has just been sitting there. So I added a hook that plays a sound the moment Claude finishes. The easiest way is to ask Claude to set it up:
Set up a Claude Code hook in my user settings that plays a short notification sound every time you finish responding, and also whenever you are waiting for my permission. Use a sound command that works on my operating system. Test that the sound actually plays, then tell me where I can see the hook inside the /hooks menu.Then I opened /hooks to check. The hook was there under the Stop event, which fires every time Claude finishes responding, and a second one was under Notification, for when Claude is waiting for my permission. I gave Claude a task, walked away, and the sound played when it was done.
Hooks can also format your code automatically after every edit, or block Claude from touching certain files. One warning, though: hooks run real commands on your computer automatically, so only add ones you understand or that Claude has explained to you.
29. /agents: build your own QA tester
Subagents are your own specialist helpers inside Claude Code. Each one has its own job, its own instructions and, most importantly, its own separate memory. When it goes off and does a big task, it doesn't clutter your main conversation.
When I typed /agents, it told me the old setup wizard has been removed. Now you just ask Claude to create the subagent, so I described the one I wanted:
Create a sub-agent: A QA tester for my web app. When I give it a feature, it reads the relevant code and lists every way a real user could break it: empty fields, wrong passwords, double clicks, slow connections and logged-out users. Then it runs the app's tests and checks the feature step by step. It never fixes anything itself. It returns a short report with each bug, how serious it is, how to reproduce it, and which file it is in.Claude wrote the full instructions, gave it read-only tools so it can never edit my files, and saved it as qa-tester for all my projects. Now I just ask for it by name:
Use the qa-tester agent to test the signup flow.It ran in the background, tested the whole signup flow and came back with a short report of what was broken. That included a critical bug: the app couldn't even start because a package it needed was missing. My main conversation stayed clean. Subagents use your plan's usage too, so if you run several at once, keep an eye on /usage.
30. /skills: recipe cards Claude loads only when needed
A skill is like a recipe card for Claude: a folder of instructions for one specific job, like writing in your brand voice. Claude only loads a skill when it's needed, so the rest of the time it costs very little memory. /skills shows every skill Claude has available right now and how much memory each one costs. My /context grid earlier showed 34 skills at 6.4k tokens.
To make a new skill, just ask Claude:
Create a project skill called brand-voice. It should contain our tone of voice rules: friendly, short sentences, no jargon, and always talk to the user as 'you'. Use it whenever you write any text a user will see in the app, like buttons, error messages and emails.Claude created the brand-voice skill with my four rules, plus a few before-and-after examples. You might need a fresh session before it kicks in. After that, every button, error message and email Claude writes for the app sounds like the same brand.
31. /plugin: install a setup someone else already built
Plugins are bundles other people have made: commands, subagents, skills, hooks and MCP connections packaged together. /plugin opens a marketplace where you can browse them and install one in a couple of clicks. Plugins can run code on your computer, so only install them from sources you trust.
32. /mcp: manage your connected apps
/mcp shows every MCP server you have, whether it's connected, and lets you log in to the ones that need an account. It's also where you switch off the ones you aren't using to free up the memory you saw in /context.
33. claude mcp add: connect a new app
This is how you connect a new app in the first place, straight from the terminal. Here's how I connected Notion so Claude can read my product notes:
claude mcp add --transport http notion https://mcp.notion.com/mcpI pasted it into Claude Code and Claude ran it for me. After a restart, /mcp showed Notion waiting for me to log in. By default a server is only added for the folder you're in, so add --scope user if you want it in every project. Once you're logged in, you can say "read the feature spec in my Notion and build it" and Claude actually reads it. Only connect servers from companies you trust, because they get access to your data.
Terminal power moves
34. /tasks: see what's running in the background
Sometimes Claude starts something that keeps running, like your app's dev server. You can push a running command into the background with Ctrl+B and keep chatting. /tasks shows everything running in the background, lets you check what it's printing and lets you stop it. Mine said no tasks were running, which is what you want to see, and it means no more mystery apps running on your computer.
35. The ! sign: run a terminal command directly
Type an exclamation mark at the start of your message and whatever follows runs straight in the terminal, without Claude having to think about it:
! npm run devIt's faster, and Claude spends no usage deciding what to run. The output is added to the conversation, so if something errors, I just say "fix that" and Claude already sees the error.
36. claude -p: one question, one answer, no chat
The p stands for print. Claude answers one thing, prints the answer and exits:
claude -p "Read this project and explain in five plain-English bullet points what the app does."It's handy for quick questions, and it's how people plug Claude into scripts and automations. By default it can't do anything that needs your permission, so it works best for reading and answering.
37. claude --append-system-prompt: a one-session instruction
This adds your own instruction on top of Claude's built-in ones for the whole session:
claude --append-system-prompt "I am not a developer. Before every change, explain what you are about to do in one plain-English sentence."I use it when I want one session to behave differently without touching my memory file. If you want the instruction every time, put it in CLAUDE.md with /memory instead.
38. claude --worktree: two Claudes, two copies, no collisions
A worktree is a separate copy of your project in its own folder, on its own branch. This command starts Claude inside a fresh copy like that:
claude --worktree new-dashboardThat way one Claude can redesign the dashboard while another fixes bugs, at the same time, without overwriting each other's work. Your project needs to be in git, and you'll need to merge the work back in when you're happy with it, but you can ask Claude to do that part for you.
Editor, browser, cloud and GitHub
39. /ide: connect Claude Code to your editor
If you use an editor like VS Code or Cursor, /ide connects Claude Code to it.
AI code editor and coding agent, with a CLI and cloud agents you can check on from web or mobile.
When I ran it, it said it couldn't find a matching editor, because my open editor was on a different folder than the one Claude was working in. Open your editor on the same project folder, with the Claude Code extension installed, and it connects. Then Claude can see which file you have open and what you've highlighted, so you can just say "fix this", and you see Claude's changes side by side inside your editor.
40. /chrome: let Claude click through your app
/chrome connects Claude Code to your Chrome browser, so Claude can open your app, click through it like a real user, fill in forms and read errors in the browser console. This is the prompt I used:
Open my app at localhost:3000, sign up with a new test account and go through the whole onboarding. Tell me anything that looks broken or confusing, and check the browser console for errors.Claude clicked through my signup flow by itself and then gave me a full report. The app wouldn't build at first, so it installed the missing package and got it running. It then listed eight confusing things, like night owls not being able to pick late working hours, and reported a clean console. You need the Claude in Chrome extension and a paid Claude plan. Use test accounts, never your real logins.
41. /teleport: move a cloud session into your terminal
You can also run Claude Code in the browser at claude.ai/code, even from your phone. I can start a task while I'm out, then at my desk type /teleport, pick the session, and it pulls the code and the conversation into my terminal. Your project needs to be on GitHub for this to work.
42. /install-github-app: Claude inside your GitHub issues
/install-github-app walks you through connecting Claude to your GitHub project. It warned me that the GitHub command-line tool wasn't installed, let me continue anyway and sent me to the browser to install the Claude GitHub app, which finished with "GitHub App installed". You can then set up GitHub Actions so you can mention @claude in an issue or pull request and Claude works on it right there. A pull request is a proposed change you review before it goes into your app. Once it's set up, I can write "@claude the signup button is broken on mobile" in an issue and Claude opens a fix for me to review.
Reviews and security
43. /review: a senior-developer review of a pull request
When a pull request is waiting, /review asks Claude to review it the way a senior developer would. It explains what the change does, spots bugs and points out anything risky before you accept it. It's most useful when someone else, or another Claude session, made the change.
44. /security-review: Claude as your security team
This is the one I wish every beginner knew about. When you build apps with AI, it's easy to ship something that works but isn't safe: exposed secret keys, users seeing other users' data, forms that attackers can abuse. Few things wreck your hard work faster than an insecure app.
Before I push a big change, I type /security-review. It's meant to review the changes on your current branch the way a security engineer would. In my demo it stopped straight away, because it has to run inside a git repository and my project folder wasn't one. Make sure your project is in git first, and ask Claude to set that up if it isn't.
When it runs, it lists every issue it finds, how serious each one is and exactly where it lives. A typical example is an API route that lets anyone read user data without logging in. An API route is basically a back door your app uses to fetch data, and that bug leaves it with no lock. You'd never notice it just by clicking around your app. When the review finds issues like that, this is the prompt I use to fix them:
Fix every high and medium severity issue from that security review, one at a time. After each fix, explain in one plain-English sentence what was wrong and what you changed. Do not change anything else in the app.This command checks your recent changes, not your whole app from top to bottom, and your project needs to be in git. If your app handles payments or sensitive data, it's a good first line of defense, but it doesn't replace a professional audit.
45. /code-review: the heavyweight review
/code-review runs in the background, so I could keep working. When it finished, it had found a real problem: the index.html line we added to .gitignore with the @ sign would break the app for anyone who downloads it fresh. So the warning from earlier was right. It also found that the app's lint check (basically a spell-checker for code) now fails with 25 errors.
/code-review ultra goes further. It sends your current branch to the cloud, where several Claude agents review it at the same time from different angles. If your project is on GitHub, /code-review ultra followed by a pull request number reviews that pull request instead. I save ultra for big changes, like right before a launch. It takes longer and it's billed, so check the cost before you run it on every small change. You do get three free ultra reviews to try it. If you see /ultrareview somewhere, that's the older name for the same thing.
Keeping Claude Code healthy
46. /doctor: check your installation
If Claude Code is acting broken, like it won't start properly or a command doesn't work, /doctor checks your installation and tells you what's wrong. Run it before you spend an hour googling an error.
47. claude update: get the newest commands
Claude Code gets new features all the time, and some commands in this video didn't exist a few months ago. claude update installs the latest version straight away. Mine said I was already up to date. If a command from this list doesn't show up for you, an old version is the most likely reason.
48. /release-notes: see what's new
After you update, /release-notes shows what changed. This is how I find most of these hidden commands. Spend two minutes on it after every update and you'll always be ahead.
49. /login and /logout: switch accounts in seconds
/login lets you switch accounts without reinstalling anything, whether that's between a personal plan and a work plan or from your subscription to an API key. /logout signs you out completely, which matters on a shared computer.
50. /feedback: report a bug in Claude Code itself
If you find a real bug in Claude Code, /feedback sends a report straight to Anthropic with details about your session. It can include parts of your conversation, so don't send it from a session that has secret keys in it.
The most powerful one: /rewind
51. /rewind: undo Claude's mistakes in seconds
This is my favorite. Every time you send a prompt, Claude Code quietly saves a checkpoint of your files, and most people have no idea it does that.
Here's a situation that happens to everyone. You ask Claude to redesign your dashboard, and it breaks the layout and changes files you never asked it to touch. You used to spend the next twenty minutes asking Claude to undo its own mess. Now you type /rewind, or press Escape twice.
You get a list of every prompt you've sent in the session, and next to each one it tells you whether it changed any code. In the demo I picked my Chrome testing prompt from earlier. That one hadn't changed any code, so Claude told me the conversation would go back to before that message and the code would stay as it was. When a prompt did change files, you can restore the code and the conversation, only the conversation, or only the code. Restore both and the files come back exactly as if the redesign never happened.
This lets you experiment without fear. Try the bold design or the risky feature, and if it goes wrong, you're one command away from safety.
It does have limits. Rewind doesn't track changes made by terminal commands, like Claude deleting a file with a command, and it doesn't track edits you make outside Claude Code. It's not a replacement for git, so use both.
Wrapping up
Those are 51 built-in commands, each shown live on StreakFlow and DayFlow. With them I could see what was filling Claude's memory, keep the right details through a compact, stay inside my usage limits, lock my .env file and build my own QA tester and brand-voice skill. Code review caught a .gitignore mistake I had made earlier in the video. The demos weren't all smooth: /security-review and /statusline's branch display both needed a git project, and /theme didn't change my terminal background. If you only start with three, make them /context, /permissions and /rewind.
Found this useful? Get the whole directory inside your AI assistant.
Claude, Cursor, Codex or VS Code can search AI tools, MCP servers and skills for you, and set them up. Free, no account.