Clean Copy

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.

mostafa-drz 48de4df 2 files · 12.9 KB Updated

File contents

mostafa-drz/claude-skills/tree/main/code/clean-copy commit 48de4df0b8

Frequently asked questions

npx skillmds@latest add mostafa-drz/clean-copy