Claude Code commands for November 2026 - a tester's cheat sheet by session moment
A Claude Code command cheat sheet for testers, organised by session moment: start, task, parallel work, change review and housekeeping. Documentation as of 11 November 2026.
The official Claude Code command table has more than 100 entries. You do not need to know all of it. It is enough to know what to reach for at a specific moment of your work, which is why I organised this cheat sheet by session moment: starting in a repository, working on a task, working in parallel, accepting a change and housekeeping between sessions.
The scope is deliberately narrow: commands that matter in a tester’s everyday work. The descriptions come from the official command table as read on 11 November 2026; locally, claude --version printed 2.1.322 at that time. This is a cheat sheet checked against the documentation, not a report from testing every command. Command availability may depend on the version, platform, plan and organisation settings.
Two places where you type commands
Commands that start with claude are run in the system terminal. Commands that start with a slash are typed inside an active session.
To begin with, four terminal commands described in the CLI documentation are enough:
claude --version
claude
claude -c
claude -r "login-analysis"
The first prints the version, the second starts a conversation, the third continues the most recent conversation in the current directory, and the fourth returns to a session identified by name or ID. The name login-analysis is an illustrative example.
Start in the directory of the right project: continuing a conversation about a different task mixes up context and expectations.
Cheat sheet by session moment
In an active session, type / to see your own menu. Below are 21 commands from the official table. The “What it does” column summarises the documentation, and the last column contains illustrative examples from a tester’s work.
| Moment | Command | What it does | When to reach for it (illustrative example) |
|---|---|---|---|
| Start | /init |
Creates a starter CLAUDE.md for the project. |
Your first session in a repository with tests. |
| Start | /memory |
Editing CLAUDE.md files, turning automatic memory on and off, viewing its entries. |
You add a note on how to run the tests that require an API. |
| Start | /permissions |
allow, ask and deny rules for tools. |
You decide which commands require a permission prompt. |
| Start | /mcp |
Managing connections to MCP servers. | You check whether the server needed for the tests is connected. |
| Start | /doctor |
A review of the installation, settings and CLAUDE.md with suggested fixes. |
The session behaves differently from what you expect. |
| Task | /plan |
Plan mode. | You agree on the scope of a change to the test framework. |
| Task | /model |
Changing the model, saved as the default for new sessions. | You move from small fixes to a difficult analysis. |
| Task | /effort |
Reasoning effort level. | You are looking for the cause of a flaky test. |
| Task | /context |
A visualisation of context usage. | The conversation already contains a lot of logs. |
| Task | /compact |
A summary of the conversation to free up context. | You continue a long investigation after a failure. |
| Task | /goal |
Session goal: Claude keeps working across turns until the condition is met. | You have a measurable condition for when the work ends. |
| Task | /rewind |
Rewinding the conversation or the code to an earlier point. | An experiment with a fix went in the wrong direction. |
| Parallel | /subtask |
A background subagent that inherits the whole conversation. | You delegate a log review alongside the main thread. |
| Parallel | /fork |
A copy of the conversation in a new background session. | You want to check a second hypothesis separately. |
| Parallel | /tasks |
A view of background work. | You check what is still running. |
| Review | /diff |
A review of changes in the working tree. | You assess the scope of the fixes in the tests. |
| Review | /code-review |
A review of the current changes or of a specified PR (pull request), branch or path. | You look for bugs before you commit them yourself. |
| Review | /verify |
Confirms that a change works by building, running and observing the application. | You want proof from a running application. |
| Housekeeping | /clear |
A new conversation with an empty context. | You move on to a completely different task. |
| Housekeeping | /resume |
Returning to an earlier conversation. | You come back to an interrupted task. |
| Housekeeping | /usage |
Session cost and plan limits. | You check consumption during an experiment. |
Pick one or two commands from each moment and tie them to your own rhythm: understand the problem, agree on the approach, make the change, look at the result, check the behaviour.
Starting in a repository
In a new repository you start with /init and /memory; how project instructions work is described in the Claude Code memory documentation. Read and correct the generated file before you start relying on it.
From a tester’s perspective, good instructions are specific: where the tests live, how to run them, which environment is meant for trial runs and how to recognise the result. The slogan “take care of quality” explains nothing.
An illustrative example: the project has unit tests and tests that require a running API. The instructions should help tell these suites apart. Then the result “could not connect to the service” has a chance of being described as an environment limitation, not as proof of a bug in the changed code.
Three commands are left outside the table. /import brings over configuration from Codex, Gemini CLI or Cursor. /hooks shows the hooks configuration. /fewer-permission-prompts scans the session history and adds an allowlist of read-only commands.
During a task
A bigger change: /plan
Plan mode is for getting to know the project and preparing an approach before anything changes in the sources. The details of its behaviour and permissions depend on configuration; they are described in the plan mode documentation. I would reach for it wherever a badly defined scope will drag a series of unnecessary fixes behind it.
Let’s say you want to reduce the flakiness of the login tests. Instead of ordering a rebuild of the framework straight away, start like this (illustrative example):
/plan Analyse the login tests and the available results of their runs.
Separate confirmed problems from hypotheses.
Propose the smallest change that will let us check the most
likely cause. Point out the files, the verification method and open questions.
The value of this prompt lies in demanding evidence and limiting the scope. A good plan lets you notice missing data before you start judging a finished implementation.
A long conversation: /context and /compact
Context is the material the model bases its next answer on: among other things, the conversation history and the results of the tools it used (see the context window documentation). /context shows how much of it is already taken, and you can add to /compact what should be kept (illustrative example):
/compact Keep the goal of the task, the confirmed causes,
the rejected hypotheses, the paths to the logs and the agreed verification method.
This is not a guarantee that every detail will be preserved. A decision that has to survive further work should be written to a project file, and you should check that it was written. In the login example, the most important thing is to distinguish the observed timeout from the hypothesis about its cause.
The automatic compaction threshold is set with /autocompact. Why a long session loses quality in the first place is explained in the post on context engineering.
Going back: /rewind
/rewind has the aliases /checkpoint and /undo. The checkpointing documentation marks the limit of this feature: it is not a copy of the whole environment.
A file changed only by shell commands may not be tracked. If Claude edited that file earlier with its own tools in the current conversation, later changes made from the shell may already be covered by the rewind. External changes and the work of parallel sessions need attention too. That is why /rewind does not replace repository history or a copy of your data.
Effort, session goal and advisor
These features have their own posts on the blog:
/effortacceptslow,medium,high,xhigh,maxorauto, and/effort ultracode onand/effort ultracode offturn ultracode on and off - see the post on ultracode./goalaccepts a condition orclear- see the post on the session contract./advisoraccepts a model name oroff; the advisor is a second model consulted at key moments - see the post on the second opinion.
That leaves /btw, a side question that does not go into the conversation history, and /fast, which is fast mode.
Parallel work
Left outside the table are, among others:
/background- detaches the current session, which keeps running in the background,/batch- a large change split into 5-30 independent units,/workflows- a view of workflow progress,/deep-research- a research workflow with a cited report,/loop- repeating a prompt,/schedule- tasks scheduled in the cloud (formerly “routines”).
Background work does not reduce the number of changes to look at, it increases it. Before you start a third thing in parallel, decide who will read the results of the first two. Why split work between agents at all is described in the post on subagents.
Before accepting a change
/code-review has the alias /review. It accepts the level low, medium, high, xhigh, max or ultra, as well as the flags --fix and --comment.
I would treat /diff and /code-review as one element of a review, after which you still have to relate the code to the expected behaviour. A convenient interface and a convincing description do not prove that the test will detect the right problem. When changing a login test, I would ask:
- whether the new assertion checks the expected result,
- whether the test now passes because an important condition was removed,
- whether the fix also works for invalid data,
- in which specific scenario the changed test should fail.
Outside the table: /security-review analyses changes for vulnerabilities. /simplify reviews them for possible simplifications and applies those simplifications. /run launches the project’s application. /autofix-pr is a cloud session that watches a PR and pushes fixes after CI failures or reviewer comments.
A good summary of an agent’s work says what was run and what was observed. If a service or data was missing, that has to stay visible. “A fix was prepared” and “it was confirmed to work in a given environment” are two different stages of work.
Between sessions and housekeeping
How to find an earlier conversation is described in the session management documentation. Resuming with /resume does not release you from checking the current state of the files again.
The rest is housekeeping:
/recap- a one-sentence summary of the session,/costand/stats- aliases of/usage,/branch- branching off the conversation,/insights- an HTML report with an analysis of recent sessions,/release-notes- the changelog.
What has arrived since the summer
The dates come from the official “What’s new” overview. On the day I read it, 11 November 2026, the overview ended with the week of 7-11 September 2026, so I do not date later changes here.
| Week (2026) | What arrived |
|---|---|
| 6-10 July | /doctor as a full review of the installation |
| 13-17 July | /fork |
| 20-24 July | /code-review runs as a background subagent |
| 3-7 August | messages between sessions |
| 10-14 August | fork mode enabled by default in interactive sessions |
| 17-21 August | /design (research preview) and the “Concise” response style |
| 31 August - 4 September | /skill-doctor and a live-refreshing /diff panel |
| 7-11 September | the claude plugin eval terminal command |
Of this list, in my opinion two items matter to a tester: code review running in the background and the live-refreshing /diff panel. Both concern the moment when you decide whether to accept a change.
What is no longer there
If you use an older cheat sheet, three commands may not work. The official table marks them as removed:
/vim- removed in v2.1.92; use/configand editor mode instead,/pr-comments- removed in v2.1.91; it is enough to ask Claude directly,/ultraplan- removed; use plan mode instead.
Your own command is your own process
The / menu can also contain skills and commands provided by extensions. So slash notation does not mean a feature built into the CLI. How to add your own instructions and how to invoke them is described in the skills documentation. For this reason the cheat sheet leaves out commands from third-party plugins: they will be different in every installation.
The list of available skills is shown by /skills. /skill-doctor shows how much context each skill costs and how often it is used.
An illustrative example: a team prepares its own test review process and gives it a command. The name is then a team agreement. Its value depends on the instructions: the required evidence, the evaluation criteria, the available tools and the way uncertainty is presented.
Summary
A command makes sense when it is pinned to a moment of work. To start with, I suggest three habits: a plan before a bigger change, looking at the actual scope of the fixes and writing down important findings. There is a command for each: /plan, /diff and /memory.
The rest of the table can wait until you hit the moment when it is needed. The command catalogue changes, which is why this cheat sheet carries a date: 11 November 2026, version 2.1.322.
Sources and further reading
This post was co-created with the help of AI.