Skip to content

Can we add a "/copy-last" command to copy only the last response (like Codex)? #26240

Closed

Description

@kowshik24

Question

Hi team,

Currently, the /copy slash command copies the full session transcript. I was wondering if we could introduce a way to copy only the last assistant response (similar to how Codex does with their copy feature). This would make it easier to quickly grab and use just the last code output or answer, rather than the entire conversation history.

Is this feasible to implement alongside the current /copy?
Would you consider adding a /copy-last (or similar) command for this purpose?

Thanks for considering!

Activity

  1. github-actions commented on May 7, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    If your request is specifically about a quick "copy only the last response" shortcut (rather than an interactive picker), it may be worth adding a comment there to expand the scope, or confirming whether this is a distinct use case.

  2. mortalYoung commented on May 8, 2026

    @mortalYoung

    Maybe you could use ctrl+P and find Copy last assistant message as alternative

  3. kowshik24 commented on May 15, 2026

    @kowshik24
    Author

    Yeah got it! Thanks everyone!

  4. salehMomtaz commented on Aug 20, 2026

    @salehMomtaz

    Maybe you could use ctrl+P and find Copy last assistant message as alternative

    this helped a lot. thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions