claude-code-copy-markdown
Installation
SKILL.md
Claude Code Copy Markdown
Copy Claude Code's response as clean Markdown to the macOS clipboard (pbcopy).
Why this skill exists
Claude Code renders output richly in the terminal — box-drawing tables, indented lists, colored text, etc. This looks great in the terminal, but when you copy-paste it elsewhere, line breaks get mangled and tables fall apart. Asking "write that to a markdown file" every time is tedious. This skill reduces that to a single action.
Workflow
- User says "copy this", "copy as markdown", etc.
- Identify the previous response (or the part the user specified)
- Reformat the content as proper Markdown
- Pipe it to
pbcopy - Confirm completion
Formatting rules
Convert the previous response into clean Markdown following these rules.