es617

Clip Unwrap — Development skill for Claude Code

Development community

Fix hard-wrapped terminal output when copy-pasting from TUI apps like Claude Code.

How to install Clip Unwrap

This entry records only its repository, not the path inside it, so there is no exact command to give. Open es617/clip-unwrap and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Clip Unwrap does

Fix hard-wrapped terminal output when copy-pasting from TUI apps like Claude Code. System-wide hotkey, no dependencies.

Alternatives in Development

  • Claude API — Build apps with the Claude API or Anthropic SDK 94.1k ★
  • Crypto Research Command — Think hard and execute comprehensive cryptocurrency research by calling all crypto analysis agents in parallel 3.4k ★
  • Reset Content Gen — Reset apps/content-gen to fresh state for new voice-based agentic coding experiments 296 ★

README

clip-unwrap

Fix hard-wrapped terminal output when copy-pasting from TUI apps like Claude Code, Codex CLI, and others.

Terminal apps insert hard newlines at the terminal width. When you copy text, those line breaks come with you — breaking prose pasted into email/Slack, and splitting shell commands across lines.

**clip-unwrap** is a system-wide hotkey that silently rewrites your clipboard: unwrapping hard line breaks while preserving code blocks, paragraph breaks, lists, and shell continuations.

![demo](docs/demo.gif)

How it works

There are two modes depending on your setup:

**2-step (unwrap + auto-paste):**

  1. Copy text from the terminal (Cmd+C / Ctrl+C)
  2. Press the hotkey — unwraps and pastes in one shot

This requires granting Accessibility permission to Shortcuts.app (macOS). It's a one-time setup — some apps trigger the prompt automatically, others don't. To add it manually: **System Settings → Privacy & Security → Accessibility** (under the Privacy list) → click **+** → add **Shortcuts.app**.

**3-step (unwrap only, no Accessibility needed):**

  1. Copy text from the terminal (Cmd+C / Ctrl+C)
  2. Press the hotkey — silently rewrites the clipboard
  3. Paste normally (Cmd+V / Ctrl+V)

If you don't want to deal with Accessibility permissions, use the 3-step version — just skip the Run AppleScript action in the shortcut.

**Note:** Cmd+Option+V is "Paste and Match Style" in some apps (e.g. TextEdit) and may not trigger the shortcut. Pick a different hotkey if you hit conflicts.

What it preserves

  • Code blocks (triple backticks) — untouched
  • Paragraph breaks (blank lines) — kept as-is
  • Bullet/numbered lists (- , * , 1. ) — line breaks preserved
  • Shell line continuations (\ at end of line) — not joined

Setup

macOS (Shortcuts.app)

**Quick install:** [Import the shortcut from iCloud](https://www.icloud.com/shortcuts/b3de90fbbc6b419d9b13d6f6f7251594), then assign a keyboard shortcut in Shortcut info (i).

**Manual setup:**

  1. Open