Claude Code v2.1.261

1 month ago

Claude Code v2.1.261 shipped on September fourth. It adds a command that audits your loaded skills, two settings that let more command output through, and a flag for long subagent prompts. The rest is repair work, and the prompt you type into got most of it.

Ask

Ask about this presentation

Answers are generated from this presentation.

Chapters

  1. 0:00Claude Code v2.1.261
  2. 0:1801 — What's new
  3. 0:19/skill-doctor
  4. 0:37Output settings and the subagent prompt file
  5. 0:5802 — The prompt input
  6. 1:00Character order and word keys
  7. 1:2103 — Stops, resumes, Remote Control
  8. 1:24Stop and Remote Control state
  9. 1:47Resuming changed the request
  10. 2:0504 — Guardrails
  11. 2:07The delete prompt and packed diagram links
  12. 2:2905 — The VS Code extension
  13. 2:31The VS Code extension
  14. 2:54Read the full entry
Show transcript

Claude Code v2.1.261

Claude Code v2.1.261

Claude Code
v2.1.261

A skill auditor, bigger output limits, and a prompt input that stops dropping characters.

Claude Code running a test-coverage task in a terminal
CHANGELOG.md, 2.1.261 · demo.gif · anthropics/claude-code

Claude Code v2.1.261 shipped on September fourth. It adds a command that audits your loaded skills, two settings that let more command output through, and a flag for long subagent prompts. The rest is repair work, and the prompt you type into got most of it.

01 — What's new

Claude Code v2.1.261
01

>What's new

CHANGELOG.md, 2.1.261

The additions.

/skill-doctor

Claude Code v2.1.261

>Find out what your loaded skills cost you

> /skill-doctor
Shows
which loaded skills went unused
And
what each one costs in context
So
you can prune them
CHANGELOG.md, 2.1.261

Every skill you load sits in the context window whether Claude reaches for it or not. The new /skill-doctor command reports on that. It names the loaded skills that went unused and what each one costs you in context, so you can prune them. Run it in a session that has been going a while.

Output settings and the subagent prompt file

Claude Code v2.1.261

>More command output inline, long subagent prompts from a file

{
  "bashOutputMaxChars": 128000,
  "taskOutputMaxChars": 128000
}

128K characters is the ceiling for both.

claude --append-subagent-system-prompt-file ./subagent.md
CHANGELOG.md, 2.1.261

When a command prints more than Claude can take inline, the output goes to a file instead. Two new settings raise that ceiling: bashOutputMaxChars for shell commands, taskOutputMaxChars for background tasks. Either one goes up to 128K characters. And a subagent system prompt too long for the command line can now come from a file.

02 — The prompt input

Claude Code v2.1.261
02

>The prompt input

CHANGELOG.md, 2.1.261

The prompt you type into.

Character order and word keys

Claude Code v2.1.261

>Characters stopped scrambling, and word keys match Bash

Out of order
fast typing and key repeat scrambled or dropped characters
Word keys
Ctrl+W, Alt+F and Alt+D behave the way Bash does
keybindingFlavor
no longer has any effect
CHANGELOG.md, 2.1.261

If you type fast, or hold a key down and let it repeat, characters were landing in the prompt out of order, and some were dropped. That is fixed in the input layer, so it holds wherever you type. The word editing keys now match Bash. Ctrl+W deletes back to whitespace, and punctuation separates words. keybindingFlavor no longer has any effect.

03 — Stops, resumes, Remote Control

Claude Code v2.1.261
03

>Stops, resumes,
Remote Control

CHANGELOG.md, 2.1.261

Stopping, resuming, and Remote Control.

Stop and Remote Control state

Claude Code v2.1.261

>Stop lands, and Remote Control stops reporting stale state

Stop
ignored just after the first prompt in SDK and cloud sessions
Permission mode
stale when a phone or browser attached
SendMessage
said delivered for a machine that was offline
CHANGELOG.md, 2.1.261

A Stop sent just after the first prompt was ignored in SDK and cloud sessions, and the run finished anyway. It stops now. Remote Control showed a stale permission mode when a phone or browser attached, and left the spinner running after a turn ended. And a SendMessage to an offline machine read back as delivered. It now says delivery is queued until that machine reconnects.

Resuming changed the request

Claude Code v2.1.261

>A resumed session lost part of its context

Hook output and other context around parallel tool calls went missing on resume, which changed the resumed request.

claude -p --resume ./transcript.jsonl
# malformed session id -> now resumes under a fresh one
CHANGELOG.md, 2.1.261

Resuming a session was losing hook output and other context around parallel tool calls, so the conversation you came back to was not the one you left. And resuming from a transcript file would adopt a malformed session ID recorded inside it. It now resumes under a fresh one.

04 — Guardrails

Claude Code v2.1.261
04

>Guardrails

CHANGELOG.md, 2.1.261

What now stops and asks you first.

The delete prompt and packed diagram links

Claude Code v2.1.261

>A wrapped delete and a packed diagram link both stop for approval

rm -rf "$@"
sh -c "rm -rf $TARGET"

Both shapes now raise the safety prompt.

A link that packs your content into a public diagram renderer's URL counts as an upload: not auto-approved unless you asked for it.

CHANGELOG.md, 2.1.261

The safety prompt for a dangerous delete now catches two more shapes: a recursive force delete on positional parameters, and the same command inside a double quoted shell script. Those are the shapes a wrapper script hides a delete in. Auto mode also treats a link that packs your content into a public diagram renderer as an upload to that site, so it is not approved for you.

05 — The VS Code extension

Claude Code v2.1.261
05

>The VS Code
extension

CHANGELOG.md, 2.1.261

The VS Code extension.

The VS Code extension

Claude Code v2.1.261

>The VS Code extension edits MCP servers and shows what is open

MCP servers
an Add server form, and a Remove action
Session list
a hollow ring for a session open in a terminal or another window
Model picker
one flat list, without models your organization disabled
CHANGELOG.md, 2.1.261

In the VS Code extension, the MCP servers dialog got an Add server form and a Remove action, so a server goes in without leaving the editor. A session already open in a terminal or another window now carries a hollow ring instead of looking closed. And the model picker is one flat list, with the models your organization disabled dropped from it.

Read the full entry

Claude Code v2.1.261

Claude Code
v2.1.261

github.com/anthropics/claude-code

The release page for this tag
CHANGELOG.md · anthropics/claude-code

The full entry sits at the top of CHANGELOG.md in the repository, and on the release page for this tag. Claude Code v2.1.261.

Up next

1:39

Claude Code's /claude-api now moves your code to the new Claude API version

@claude-code · 7 hours ago

1:30

Claude Code v2.1.305 works again on Vertex and Bedrock, and its Linux sandbox can run Chromium

@claude-code · 1 day ago

1:35

Claude Code’s /auto-mode-setup teaches auto mode your project, and resume warns before it eats your 5-hour limit

@claude-code · 2 days ago

1:54

Claude Code v2.1.302 turns fork subagents on in the Agent SDK and VS Code, and standalone Claude Design closes December 14

@claude-code · 5 days ago

1:36

Claude Code v2.1.301: switching to a smaller model now summarizes your long conversation first

@claude-code · 6 days ago

2:06

Claude Code v2.1.300: one rejected MCP tool no longer fails every turn of your conversation

@claude-code · 1 week ago

1:53

Claude Code v2.1.299: come back from a break without reprocessing your whole session

@claude-code · 1 week ago

1:46

Claude Code v2.1.296: Claude can read a large file in one call

@claude-code · 1 week ago

1:36

Claude Code: hooks can now block an action when they fail

@claude-code · 1 week ago

1:39

Claude Code v2.1.293: Claude Haiku 5.5 becomes the default Haiku model, and finished work stays finished after a compaction

@claude-code · 2 weeks ago

1:32

Claude Code: subagents run at the effort you ask for, plugins install from a marketplace in one command, and network-path reads ask first

@claude-code · 2 weeks ago

1:23

Claude Code v2.1.290: WebSearch refills by the hour, WebFetch says what it left unread, and scheduled tasks stop going missing

@claude-code · 2 weeks ago