Show HN: Claude-copy – Copy Claude Code output to clipboard

Copy Claude Code output to clipboard with keyboard shortcuts. Kitty + iTerm2. - clementrog/claude-copy
4 points by crog 218 days ago github.com 2 comments
Summary not yet generated for this article.

Original Text

I use Claude Code all day. The single best habit I've added: paste its output into a second model before letting it execute. Catches bad plans before they ship.

The friction was copying. Terminal selection is unreliable — ANSI codes, scroll position, font size all break it. Annoying enough that you skip the review.

claude-copy fixes this. It doesn't scrape the terminal. It finds the focused tab's PID, maps it to the right Claude Code session in ~/.claude/, and reads the JSONL transcript directly. Instant, clean output every time.

Three shortcuts:

  Cmd+Shift+C → active tab last Claude Code response
  Cmd+Shift+P → active tab plan (from .claude/plans/)
  Cmd+Shift+A → active tab last AskUserQuestion prompt + answer options
Also works as a CLI: claude-copy-last --plan | pbcopy

Install:

  git clone https://github.com/clementrog/claude-copy.git && cd claude-copy && ./install.sh
Auto-detects Kitty vs iTerm2. macOS only, Python 3.8+.

Looking for contributors for Ghostty, Warp, Zed terminal support, and Linux.

Comments (2 of ) ⌛

Loading more comments... ⌛
Scroll down to load more comments
No comments available.
Type to search HN and engineering blog articles
Press Escape to close  |  ↑↓ to navigate  |  Enter to open