/copy
A Claude Code slash command, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
Copy the last assistant response to clipboard. Pass a number N to copy the Nth-latest response: /copy 2 copies the second-to-last. When code blocks are present, shows an interactive picker to select individual blocks or the full response. Press w in the picker to write the selection to a file instead of the clipboard, which is useful over SSH
Anthropic's own wording. Read off Commands, captured 2026-09-28.
In the changelogs
8Releases whose published page names /copy.
-
v2.1.295
/copycan now copy quoted passages as well as code blocksThe
/copypicker now lists quoted passages from a reply alongside code blocks, so you can copy a quote on its ownfound in this entry's text, named in this entry
-
v2.1.283
The /copy picker and command list change in screen-reader mode
In screen-reader mode, w in the /copy picker writes the full response to a file, and the command list shows as a plain column
found in this entry's text, named in this entry
-
v2.1.281
Copy picker requires pressing Escape twice to cancel
Cancelling the /copy block picker now takes two presses, with a "Press again to cancel" prompt after the first
found in this entry's text, named in this entry
-
v2.1.281
Settings UI shows effective defaults for gitignore and /copy toggles
The settings screen now shows the default for the gitignore and /copy picker toggles when you haven't set them
found in this entry's text, named in this entry
-
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
found in this entry's text, named in this entry
-
v2.1.121
iTerm2 Clipboard Integration
found in this entry's text
-
v2.1.77
/copy N— Copy Earlier Responsesfound in this entry's text
-
v2.1.63
Copy Full Response Setting
found in this entry's text
First cited
2The earliest release whose published evidence quoted /copy was v2.1.77, 16 Mar 2026. That is the oldest release this project wrote about it, so it is a floor on the name's age and not the release that introduced it. It is not a presence reading: which builds carried the name is the table below.
Presence across releases
0The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the slash command does. All slash commands.