Claude Code’s /copy Command
I’ve been using Claude Code as my daily driver for a while now, and today I discovered the /copy command. It copies Claude’s last response straight to your clipboard as markdown.
Before finding this, my workflow for grabbing a generated code snippet or shell command was embarrassingly manual — select text in the terminal, hope I got the boundaries right, paste it somewhere. With /copy, I just type it after any response and the whole thing lands in my clipboard, formatting intact.
Where this really shines is when Claude generates something multi-part — say a function plus its tests, or a sequence of shell commands. Instead of carefully selecting across scroll boundaries, /copy grabs the entire response. The markdown formatting means code blocks stay as code blocks when you paste into a GitHub issue or a Slack message.
It’s one of those small things that removes just enough friction to change how you work. I went from “let me carefully select this output” to “let me just /copy and move on.
47bccd9 @ 2026-02-19