clean-copy

Solid

Cleans terminal-formatted text and copies it to the macOS clipboard via pbcopy, formatted for the target platform (Gmail, Slack, LinkedIn, plain, markdown). Strips uniform leading indentation, trailing whitespace, and soft-wrapped paragraphs that come from copying out of a terminal, then applies platform conventions (Slack `*bold*` vs Gmail plain prose, etc.). Use when the user wants to paste a draft from the chat into Gmail, Slack, LinkedIn, or any other tool without nightmare terminal formatting (extra whitespace, hard wraps, indented blocks) coming along.

AI & Automation 4 stars 0 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 83/100

Stars 20%
23
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Clean Copy Clean a draft from the conversation (or a pasted/file source) and copy it to the clipboard, formatted for a specific platform. The goal: a paste that looks right in Gmail / Slack / LinkedIn on the first try, with zero manual cleanup. ## Preferences Before starting, use the `Read` tool to read `~/.claude/skills/clean-copy/preferences.md`. If the file does not exist, treat as "no preferences set" and use defaults below. **Defaults:** - default-platform: `gmail` - default-source: `last` (most recent assistant draft in the conversation) - reflow-paragraphs: `true` (rewrap soft-wrapped paragraphs into single lines) - bullet-style: `-` (preserve as-is) - preview-after-copy: `true` (show first 12 lines + char count) ## Command routing Check `$ARGUMENTS`: - **`help`** → display help, stop - **`config`** → interactive setup, stop - **`reset`** → delete `~/.claude/skills/clean-copy/preferences.md`, confirm, stop - **anything else** (including empty) → run the skill ### Help ``` Clean Copy — Clean terminal-formatted text and copy to clipboard for a target platform Usage: /clean-copy <platform> Clean latest draft, format, pbcopy /clean-copy Use default platform from preferences /clean-copy config Set defaults (default platform, reflow, etc.) /clean-copy reset Clear preferences /clean-copy help This help Platforms: gmail Plain prose, bullets as "- ", no markdown rend...

Details

Author
mostafa-drz
Repository
mostafa-drz/claude-skills
Created
7 months ago
Last Updated
yesterday
Language
HTML
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

paste

When you want to clean and reformat content (usually from your terminal) for pasting into Slack, Notion, Twitter/X, LinkedIn, email, GitHub, or plain text. Strips ANSI codes, box-drawing chars, terminal prompt artifacts, and applies destination-specific formatting. Default input is the clipboard (read via `pbpaste`); default output is both the clipboard (`pbcopy`) and a chat preview. Triggers on "/paste", "/paste [destination]", "clean this for X," "format for slack/notion/twitter/linkedin/email/github," "render as markdown," "paste-ready," "strip formatting," "make this copy-pastable." Default destination is plain. Also scans for secrets (API keys, tokens, .env values) and warns before copying anything sensitive.

825 Updated 3 weeks ago
coreyhaines31
AI & Automation Listed

ctrl-clip

⧉ Copy a message to the system clipboard cleanly formatted — no blockquote pipes, no terminal bars, no Claude commentary. Use whenever you draft a message the user will paste (Slack, Teams, PR comment, email) to add a clickable "⧉ ctrl + click" copy link under it, and when the user says "/ctrl-clip", "copy that", "put it on the clipboard" (in any language). Optional argument picks the target format: slack (default), md, plain.

1 Updated 1 weeks ago
geanruca
Code & Development Listed

copy-to-clipboard

Format text/messages nicely based on context and copy to clipboard using pbcopy. Use when the user wants to draft and copy a message, email, post, or any text to their clipboard. Triggers on "copy to clipboard", "draft a message", "write an email and copy it", "copy this", or any request to prepare and copy text for pasting elsewhere.

2 Updated 3 days ago
magnusrodseth