Feature request: Copy last response to clipboard

Resolved 💬 2 comments Opened Feb 17, 2026 by jchula Closed Mar 17, 2026

Feature Request

Copy assistant response to clipboard via keybinding or command

Problem

When Claude Code produces a response that includes extended thinking/planning steps, there's no quick way to select and copy just the final response text. Users frequently need to copy responses to paste elsewhere (into code files, documentation, chat, etc.), and manually selecting around thinking blocks is tedious.

Proposed Solutions (any of these would help)

  1. Keybinding: A native keyboard shortcut (e.g., Cmd+Shift+C) that copies the last assistant response text to the clipboard
  2. Slash command: Something like /copy that copies the most recent response
  3. Hook support: Enhance the Stop hook event to include the response text in its input, enabling users to build their own clipboard integrations
  4. Per-response copy button/shortcut: A way to target a specific response in the conversation for copying

Current Workarounds

  • Manually selecting text in the terminal (difficult when thinking blocks are shown)
  • Toggling off extended thinking with /thinking before asking (loses the benefit of thinking)
  • Parsing the transcript file in a Stop hook (fragile and fires on every response)

Context

This came up while using Claude Code with extended thinking enabled. The thinking steps are valuable for understanding the reasoning, but when I need to grab the actual response, there's no efficient way to isolate it.

🤖 Generated with Claude Code

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗