AI Clean Copy — AI skill for Claude Code
CJK-aware clipboard cleaner for AI agent TUIs (Claude Code, Codex CLI) on macOS.
How to install AI Clean Copy
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open kindtree/ai-clean-copy and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What AI Clean Copy does
CJK-aware clipboard cleaner for AI agent TUIs (Claude Code, Codex CLI) on macOS. Fork of andersmyrmel/claude-copy with display-width heuristics, marker cleanup, and list reflow.
Alternatives in AI
- Humanizer-zh: 去除 AI 写作痕迹 — 你是一位文字编辑,专门识别和去除 AI 生成文本的痕迹,使文字听起来更自然、更有人味 5k ★
- Agentboard — Web GUI for tmux optimized for AI agent TUIs, with support for iOS safari and mac w/ keyboard shortcuts 410 ★
- Ralph Loop — A long-running AI agent loop 292 ★
README
ai-clean-copy
**English** · [简体中文](README.zh-CN.md)
**Copy from the [Claude Code](https://claude.com/claude-code) or [Codex CLI](https://github.com/openai/codex) terminal UI. Paste clean text. Every time.**
The clipboard cleaner that understands CJK — 中文 / 日本語 / 한국어 wraps rejoin perfectly, `修改` never becomes `修 改`.
    
Select text in an agent TUI, hit `⌘C`, and your clipboard fills with rendering junk: 2-space margins on every line, `⏺` `❯` `⎿` (Claude Code) or `•` `›` (Codex) markers, `✻ Worked for 11s` spinner lines, and hard line breaks at the terminal width that shred your paragraphs.
**ai-clean-copy** is a tiny [Hammerspoon](https://www.hammerspoon.org/) interceptor that catches `⌘C` in your terminal, scores how agent-TUI-like the copied text is, and cleans it *before you paste* — conservatively, so code, tables, and everything non-agent pass through untouched.
The junk above is plain English — margins, stray markers, a paragraph shredded across lines. CJK gets a whole extra failure mode on top (see [below](#why-cjk-needs-its-own-fork)); a CJK before/after:
- ⏺ 修复方案如下:
-
- 这个方案的关键在于我们可以直接复用 Hammerspoon 提供的 eventtap 机制来拦截快捷键,不需要修
- 改任何系统设置就能生效。
-
- ✻ Worked for 11s
+ 修复方案如下:
+
+
Related Skills
Clean Slop
AI Slop Cleaner — Post-Implementation Code Quality Sweep
Clean Mac Jev
macOS disk cleaner using a model cascade: Jev (TypeSafe) classifies hundreds of cache folders for cents, Claud
Codecat VSCode
Concatenate selected files and copy to clipboard and use for LLM chat
P Copy Deslopifier
Brand/voice-neutral cleanup of AI-sounding copy
Council Cleanup
Clean up the LLM Council working directory and temporary files created in .council/.
System Cleanup
Agent Skill: safely clean Windows with any AI coding agent (Trae / Claude Code / Cursor / CodeBuddy / ZCode) -
Related Agents
UX Bar Raiser
Holds the UX and UI bar for an app, web or terminal. Audits the running app against Nielsen's heuristics, WCAG
Watermark Text Cleaner
Dispatch to scrub invisible / hidden watermark characters from a TEXT file: zero-width spaces, bidi controls,
Transport Verifier
Runs live end-to-end checks of a delivery transport (Herdr socket, MCP server, Claude Code or Codex hook, Open