Skip to content
BENIBIX Learn

/copy Command

Also known as /copy, Copy last response

It copies Claude's last reply to the clipboard.

Think of it like

It is like tracing a picture so you can take it home.

Example

Claude writes Lucy a SQL query inside a long answer. She types /copy, picks just the code block, and pastes it into her database tool.

Why it matters

Selecting text with the mouse in a terminal often grabs line breaks and borders. /copy takes the clean text.

Definition

/copy puts Claude's last reply on your clipboard. /copy 2 takes the reply before that one, and so on. When the reply has code blocks, a picker lets you take one block or the whole reply. Press w in the picker to save the choice to a file instead. That helps over SSH, where the clipboard may not reach your own computer.

Example code

console
/copy 2
Copy the reply before the last one.

Common mistake

Selecting a long reply by hand and losing part of it to the scroll. /copy takes the whole thing at once.

Key takeaways

  1. 1
    Last reply. Or the Nth one back.
  2. 2
    Pick a block. When there is code.
  3. 3
    Or save to a file. Press w.

Learn it properly