Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.267 ·

Sandbox system prompt now tells Claude to use /copy when a clipboard tool fails inside the sandbox

Claude is now told to suggest running /copy when clipboard commands fail inside the sandbox

TierYou'll noticehow much it should matter to you
Useful3my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaSandboxwhat it touches
KindImprovementsin v2.1.267,
You'll notice

Claude is now told to suggest running /copy when clipboard commands fail inside the sandbox

What

When Claude Code runs commands in a sandbox (a restricted environment that limits what a command can access), clipboard tools like pbcopy, xclip, or wl-copy don't work because they can't reach the system clipboard from inside it. Claude's instructions now tell it that when this happens, it should put the text in a fenced code block and tell the user to run /copy themselves, rather than writing the text to a file for the user to copy manually.

The /copy command copies the last assistant response to the clipboard from outside the sandbox; when code blocks are present it shows an interactive picker so the user can select just the block they want, or press w to write the selection to a file instead, which is useful over SSH.

Why

This avoids Claude falling back to writing scratch files just to work around a clipboard command that can't run inside the sandbox, pointing the user instead to the built-in /copy workflow that already handles this case.

Read from
Names in the bundle/copy
What the documentation says
/copy Claude Code changelog modified, high confidence * Improved sandbox guidance so Claude suggests `/copy` when clipboard commands such as `pbcopy` fail inside the sandbox see the edit
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up /copy, on Troubleshooting. When Claude Code runs on a remote machine over SSH, it can't run a clipboard tool on your local machine. Outside tmux, when you select text in [fullscreen rendering](/docs/en/fullscreen) or run `/copy`, Claude Code sends the text to your t… troubleshooting see the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agrees/copy on Claude Code changelog
Anthropic's release notes agreeImproved sandbox guidance so Claude suggests /copy when clipboard commands such as pbcopy fail inside the sandbox

See this entry in the whole of v2.1.267 →