Claude Code v2.1.334 · 1 Dec 2026
The /branch command can now be hidden in some sessions
/branch now checks whether it should be available and is hidden when that check fails, where before it was always available
You'll notice Tier: how much it should matter to you
3 Useful: my rating, 1 to 5
2 Signal: worth watching, 1 to 5
Slash Commands Area: what it touches
Improvements Kind: in v2.1.334, 01 Dec 26
Improvements Section of the release
Unclear Which kinds of session hide /branch is not known.
What
/branch creates a branch of the current conversation at the point where you are, so you can try a different direction. It used to be available in every session. It now checks a condition first and is hidden when that condition says it should be.
Why
In some sessions /branch may not appear in the command list at all.
How sure we are
Something disagrees Something we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt Which kinds of session hide `/branch` is not known.
Anthropic's release notes agree Fixed a branch made with /branch under --agent losing the agent when resumed
See this entry in the whole of v2.1.334 →
1 Dec 2026 · 544 entries, this one is #76.
Use it now15 You'll notice322 Nothing to try yet40 Under the hood167
Open the release →
Names in this entry
slash /branch Create a branch of the current conversation at this point, so you can try a different direction without losing the conversation as it stands. Switches you into the branch and preserves the original, which you can return to with /resume. To run a copy as a separate background session instead of switching into it, use /fork; to hand a side task to a subagent that reports back into this conversation, use /subtask
Anthropic's note
Upstream's own release notes for v2.1.334 name something this entry names, so the two are probably about the same change. Probably: the pairing is made on a shared name rather than on the words around it.
Fixed a branch made with /branch under --agent losing the agent when resumed
Is this right?
0
0
Feedback
What's wrong with this entry?
Hard to understand Too vague Looks wrong Not relevant to me Too long Missing the detail I wanted Duplicate of another card
Clear Learned something new I can act on this Good catch
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
← Previous · 75 of 544
Apps built on Claude Code get more detail about how a local command ran and ended
You'll notice SDK
In v2.1.334 Improvements release-page order
Next → · 77 of 544
Resuming a session no longer always restarts leftover background agents
You'll notice Background Agents