Cmd. /copy
Copy a recent assistant response or selected code block.
Written and reviewed by Eric Han · Co-founder & CTO, reopt
Key takeaways
- Copy a recent assistant response or selected code block.
- Check the input surface and availability before using the examples below.
Purpose
Copy a recent assistant response or selected code block.
/copy [N]Availability
| Field | Value |
|---|---|
| Input surface | Running CLI prompt |
| Kind | Built-in |
| Status | Current reference |
| Aliases | — |
| Documented minimum | Not specified |
| Reviewed against | 2026-10-23 · Claude Code 2.1.308 |
The installed command menu and account or organization settings determine availability.
Examples
/copyEffects and persistence
Copies the selected response or supported content to the clipboard. Check the selected scope before pasting elsewhere.
Cautions
Check which response or code block you selected before pasting it into a ticket or shared document. From v2.1.295 the picker also lists quoted text, so a drafted message copies without its > markers.