Command reference ยท Cursor CLI
/copy
Copies an earlier own message to the clipboard.
/copy copies an earlier message you sent in the session to the clipboard.
โ WHEN TO USE IT?
Reuse a previously used prompt in a different session
/copy โ select the matching message, then paste it into a new chat
โ WHEN NOT TO?
The agent's full response should be copied, not your own message
/copy applies to your own messages, not agent responses.
Better: Manually select and copy the agent response in the terminal
SOURCES
- Cursor Docs โ Slash Commands โ cursor.com