What Is Vibe Coding? A Plain Guide
Vibe coding explained: building software by telling an AI what you want, without reading the code. What it's good for, the risks and who it suits.
Read the articleOctober 27, 2026 · 10 min read
Claude Code commands are short instructions that start with a slash and control Claude Code inside a session, for example /model to switch models or /resume to return to an earlier conversation. Type / into the input field and you immediately see the commands available to you. To get started, 15 commands are enough, and I show them here with a table and a short explanation each.
Claude Code is Anthropic's tool that lets Claude work directly in your files, in the terminal, in the desktop app or in your editor. I work with it every day. My fifteen AI employees run on Claude Team, some also on open models or through the API. Everything about the commands comes from Anthropic's official command reference, retrieved on October 26, 2026. If you have not set up Claude Code yet, start with Claude Code: A Guide for Beginners. All AI basics are on my AI Basics page.
A session is an ongoing conversation with Claude Code in a folder. In it, you write normal messages and Claude works. A command is something else: it controls Claude Code itself, such as which model runs or whether the conversation starts over. Because commands begin with /, they are also called slash commands.
Three rules from the docs help you read any command list:
/rename quote-miller./usage, run immediately.| What you want | Command | What it does according to the docs |
|---|---|---|
| See help | /help |
shows help and the available commands |
| Set up a project | /init |
creates a starter CLAUDE.md for the project |
| Maintain the house rules | /memory |
opens the CLAUDE.md files, turns auto memory on or off |
| Switch models | /model |
switches the model and saves it as your default |
| Plan first, then change | /plan |
switches into plan mode |
| Set permissions | /permissions |
manages what Claude may do without asking, what it must ask about and what is forbidden |
| See what fills the context | /context |
shows context usage as a colored grid |
| Condense the conversation | /compact |
summarises the conversation so far, optionally with a focus |
| Start over | /clear |
starts a new conversation with empty context |
| Continue an old conversation | /resume |
opens an earlier conversation by name, ID or picker |
| Name the session | /rename |
gives the session a name |
| Rewind | /rewind |
rolls the conversation and code back to an earlier point |
| Review changes | /diff |
shows the changes in your folder, including Claude's |
| See usage | /usage |
shows session cost, plan limits and stats |
| Check your setup | /doctor |
looks for problems in installation and settings and proposes fixes |
/help is the first command to remember. It shows what exists.
/init creates a starter CLAUDE.md in a new project. That is a text file with instructions that Claude Code reads at every start, your house rules for this project. With /memory you edit it later and see what Claude has noted for itself with auto memory. What good first house rules look like is in the section "CLAUDE.md as your first house rule" of my guide for beginners. How CLAUDE.md and AGENTS.md get along is explained in CLAUDE.md vs AGENTS.md: What Survives.
/model switches the model. Without an argument, it opens a picker. Important for beginners: according to the docs, the switch is saved as your default for new sessions. If you only want to switch for the current session, press s on a row in the picker. Which models exist is in Claude Models: Opus, Sonnet, Haiku, Fable.
Before switching modes for more speed, check the cost and context implications in Claude Code Fast Mode: Cost and Switching.
/plan switches into plan mode before a larger change. In plan mode, Claude reads files and writes a plan but doesn't edit your files. If you add a description right away, such as /plan sort the customer list by postcode, Claude starts on that task directly. /permissions opens the rules for what Claude may do without asking. What permissions and the sandbox mean in detail is in Claude Code Security: Permissions and Sandbox.
Everything Claude has in front of it in a session is called context. It is limited. What that means is explained tool-neutrally in Context and Context Windows in AI Explained.
/context shows what is taking up space and suggests where to save. With /context all you see every item./compact summarises the conversation so far and frees up space without ending the conversation. You can add a focus so the important parts stay in the summary./clear starts a new conversation with empty context. According to the docs, the project's memory stays in place. The old conversation is not gone: you bring it back with /resume.What survives a summary and how Claude Code condenses on its own is covered in detail in Claude Code Context Window and Compaction.
/resume opens a picker with your earlier conversations. To find things there, give sessions a name with /rename, for example /rename invoice-template. /clear also takes a name, and the old conversation then appears under it in the picker.
/rewind is the reverse gear. You roll back the conversation, the code or both to an earlier point. According to the docs, you can also use it to summarise only part of the conversation from a selected message.
My most common mistake at the start was to wave changes through without reading them. That is what /diff is for: it shows what has changed in your folder, including what Claude edited.
/usage shows what the session has used and where you stand against your plan's limits. /doctor checks your setup, finds problems in installation, settings and CLAUDE.md, and proposes fixes that Claude only applies after you confirm.
As soon as you extend Claude Code, more commands come into play. They are not among the first 15, but you will meet them quickly:
| Command | What for | Explained in detail in |
|---|---|---|
/mcp |
manage connections to MCP servers, that is, to external tools and services | Set Up a Claude MCP Server |
/plugin |
install and manage plugins | Claude Code Plugins: Install, Build, Trust |
/hooks |
view configured hooks | Claude Code Hooks: Rules That Always Apply |
/agents |
reminds you to create subagents by asking Claude | Claude Code Subagents: Best Practices |
/remote-control |
make the session available for remote control from claude.ai | Claude Code Remote Control from Your Phone |
/statusline |
set up the status line below the input field | Claude Code Statusline: Setup and Examples |
According to the docs, you create your own commands as skills. How skills, subagents and agents fit together is in Claude Subagents, Skills, Agents. Which extension is for what is sorted out in Claude Code Extensions: Plugins, Mods, Skills.
Besides the commands, four keys from the interactive mode docs help you:
Esc stops the current answer so you can redirect. What Claude has done so far stays.Esc twice clears your draft if there is text in the input field. With an empty field, it opens the rewind menu, like /rewind.Shift+Tab cycles through the permission modes in turn, from the normal mode via automatically accepting edits to plan mode.! at the start runs a command directly in the shell, for example ! ls, and Claude responds to the result./agents opened its own menu; today the command only reminds you to ask Claude for a subagent. When in doubt, what /help shows you is what counts.For the relationship between a local repository and GitHub, read What Is Git? Git and GitHub for Beginners.
Type / into the input field. Claude Code then shows all commands available to you and filters the list as soon as you type more letters. /help shows the help with the available commands.
With /resume. Without an argument, it opens a picker with your earlier conversations; with a name or an ID you jump straight in. Give important sessions a name with /rename first, and you will find them more easily.
Yes. According to Anthropic, your own commands are skills: a file with instructions that you then call with /name. Claude Code already ships with some of these bundled skills itself, for example /doctor.
Either it does not exist on your plan, system or version, or the tutorial is out of date. Claude Code hides commands that are not available to you. If you type one anyway, it reports an unknown command.
Start your next session with /help, name it with /rename, and check once with /context what is already loaded before you give the first task. If you are still missing the basics of Claude Code, Claude Code: A Guide for Beginners is the step before this one. If you would rather practise the commands in a course with a quiz and a badge, Anthropic's free courses are in Claude Code Course: Options and Learning Path. The next step is Claude Code Context Window and Compaction, which is about long sessions. How others organise their sessions and AI employees is something we discuss in my community AI Employee Framework.
Vibe coding explained: building software by telling an AI what you want, without reading the code. What it's good for, the risks and who it suits.
Read the articleCopilot, ChatGPT and Claude in Excel: what they can do, which plans they need and where the vendors themselves see the limits. Explained simply.
Read the article
Kevin Welter
Developer, IT architect, author of technical books (Kubernetes, cloud infrastructures) and speaker. Runs his business with an AI workforce of fifteen AI employees and shows solo business owners in his community how to hire their first AI employee.
Your first AI employee up and running within an hour
Join the community$5/month founding price, first 50 members