Copy Cursor CLI's raw output

Feature request for product/service

Cursor CLI

Describe the request

Would be nice if there’s a /copy command so we can copy the Markdown output from agents in Cursor CLI. And a /export command too

Hi @bao, This is a great idea! I agree that a dedicated copy slash command would be useful. We have an internal feature request raised for this. Do you mind providing a bit more info on what you would expect to see from an export command? Is export like exporting the entire chat transcript?

Yep the entire chat transcript. Can support either text file output or JSON output.

@kevinn Anything that mimics the /copy behavior from Claude Code CLI or Codex CLI would be greatly appreciated. It is an integral part of my existing workflow and transitioning to use cursor-agent without it has become very clunky.

I use /copy to copy the raw markdown version of the model’s most recent response (output tokens) to my clipboard.

2 Likes

It would also be nice to have the ability to copy the prompt too. Sometimes I typed a prompt in and then wanted to send that prompt to my coworker for some cross check, but just selecting and copy from the terminal would cut it by lines. Weird use case but just putting it out there :sweat_smile:

Thanks for weighing in! I tried a few workarounds that I thought might be helpful but I couldn’t get a decent outcome. So a copy command would probably be the best option I see.