hacker news Hacker News
  1. new
  2. show
  3. ask
  4. jobs
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.

loading...