{"name":"\/copy","slug":"copy","family":"slash","title":"Slash commands","noun":"slash command","description":"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","description_source":"docs","described_by":{"doc":"claude-code\/commands","title":"Commands"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.319","builds":0,"mined_builds":159,"first_cited":{"version":"2.1.77","released_at":"2026-03-16 22:16:52","spans":2}},"aliases":[],"entries":[{"version":"2.1.295","anchor":"copy-picker-now-lists-blockquotes-as-well-as-code-blocks","heading":"\/copy can now copy quoted passages as well as code blocks","line":"The `\/copy` picker now lists quoted passages from a reply alongside code blocks, so you can copy a quote on its own","released_at":"2026-10-08 18:22:58","reason":"found in this entry's text, named in this entry"},{"version":"2.1.283","anchor":"screen-reader-mode-copy-picker-and-slash-command-list-rend","heading":"The \/copy picker and command list change in screen-reader mode","line":"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","released_at":"2026-09-25 18:46:11","reason":"found in this entry's text, named in this entry"},{"version":"2.1.281","anchor":"copy-picker-requires-pressing-escape-twice-to-cancel","heading":"Copy picker requires pressing Escape twice to cancel","line":"Cancelling the \/copy block picker now takes two presses, with a \"Press again to cancel\" prompt after the first","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text, named in this entry"},{"version":"2.1.281","anchor":"settings-ui-shows-effective-defaults-for-gitignore-and-copy","heading":"Settings UI shows effective defaults for gitignore and \/copy toggles","line":"The settings screen now shows the default for the gitignore and \/copy picker toggles when you haven't set them","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text, named in this entry"},{"version":"2.1.267","anchor":"sandbox-system-prompt-now-tells-claude-to-use-copy-when-a-c","heading":"Sandbox system prompt now tells Claude to use \/copy when a clipboard tool fails inside the sandbox","line":"Claude is now told to suggest running \/copy when clipboard commands fail inside the sandbox","released_at":"2026-09-09 18:25:42","reason":"found in this entry's text, named in this entry"},{"version":"2.1.121","anchor":"iterm2-clipboard-integration","heading":"iTerm2 Clipboard Integration","line":null,"released_at":"2026-04-27 19:39:46","reason":"found in this entry's text"},{"version":"2.1.77","anchor":"copy-n-copy-earlier-responses","heading":"\/copy N \u2014 Copy Earlier Responses","line":null,"released_at":"2026-03-16 22:16:52","reason":"found in this entry's text"},{"version":"2.1.63","anchor":"copy-full-response-setting","heading":"Copy Full Response Setting","line":null,"released_at":"2026-02-28 02:43:42","reason":"found in this entry's text"}],"entries_total":8,"docs":[{"source":"claude-code","path":"commands","title":"Commands","documented":true},{"source":"claude-code","path":"changelog","title":"Claude Code changelog","documented":false},{"source":"claude-code","path":"sandboxing","title":"Configure the sandboxed Bash tool","documented":false},{"source":"claude-code","path":"settings-reference","title":"All settings","documented":false},{"source":"claude-code","path":"terminal-config","title":"Configure your terminal for Claude Code","documented":false},{"source":"claude-code","path":"troubleshooting","title":"Troubleshooting","documented":false},{"source":"claude-code","path":"vs-code","title":"Use Claude Code in VS Code","documented":false},{"source":"claude-code","path":"whats-new\/2026-w18","title":"Week 18 \u00b7 April 27 \u2013 May 1, 2026","documented":false}],"docs_total":8,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/slash\/copy","family_url":"https:\/\/changelogs.core-directive.com\/reference\/slash.json"}