/md-copy
Format final answer as markdown and copy to clipboard. Use when user says "copy as markdown", "md copy", "copy formatted", "clipboard", or wants the session's final answer formatted and copied.
Claude Code
$ npx -y skills add umputun/cc-thingz --skill md-copy --agent claude-code
Codex
$ npx skills add umputun/cc-thingz --skill md-copy -a codex -y
Cursor
$ npx skills add umputun/cc-thingz --skill md-copy -a cursor -y
Gemini CLI
$ npx skills add umputun/cc-thingz --skill md-copy -a gemini-cli -y
GitHub Copilot
$ npx skills add umputun/cc-thingz --skill md-copy -a github-copilot -y
OpenCode
$ npx skills add umputun/cc-thingz --skill md-copy -a opencode -y
Windsurf
$ npx skills add umputun/cc-thingz --skill md-copy -a windsurf -y
SKILL.md
md-copy.SKILL.mdname: md-copy
description: Format final answer as markdown and copy to clipboard. Use when user says "copy as markdown", "md copy", "copy formatted", "clipboard", or wants the session's final answer formatted and copied.
allowed-tools: Bash
Markdown Copy
Extract the final answer from this session, convert it to proper markdown format, and copy to clipboard.
Formatting Rules
1. **No heading elements** (`#`, `##`, etc.) — use **bold** for section titles instead 2. Convert any ASCII tables to proper markdown tables 3. Use *italic* for emphasis and minor notes 4. Preserve code blocks with proper language tags 5. Keep bullet lists and numbered lists 6. Remove any leading spaces or bullet headers (bullet-style) 7. Give the content a nice descriptive title (as bold text, not heading)
Workflow
1. Identify the final answer/response in this session 2. Format it according to the rules above 3. Write formatted text to a timestamped temp file:
tmpfile="/tmp/claude-md-copy-$(date +%s).txt"
cat > "$tmpfile" << 'EOF'
<formatted content>
EOF
4. Copy to clipboard and remove temp file:
if [[ "$OSTYPE" == "darwin"* ]]; then
pbcopy < "$tmpfile"
elif command -v xclip &> /dev/null; then
xclip -selection clipboard < "$tmpfile"
elif command -v xsel &> /dev/null; then
xsel --clipboard --input < "$tmpfile"
else
echo "No clipboard tool found" >&2
fi
rm -f "$tmpfile"5. Report success with character count
Read more
name: md-copy description: Format final answer as markdown and copy to clipboard. Use when user says "copy as markdown", "md copy", "copy formatted", "clipboard", or wants the session's final answer formatted and copied. allowed-tools: Bash
Markdown Copy
Extract the final answer from this session, convert it to proper markdown format, and copy to clipboard.
Formatting Rules
1. **No heading elements** (`#`, `##`, etc.) — use **bold** for section titles instead 2. Convert any ASCII tables to proper markdown tables 3. Use *italic* for emphasis and minor notes 4. Preserve code blocks with proper language tags 5. Keep bullet lists and numbered lists 6. Remove any leading spaces or bullet headers (bullet-style) 7. Give the content a nice descriptive title (as bold text, not heading)
Workflow
1. Identify the final answer/response in this session 2. Format it according to the rules above 3. Write formatted text to a timestamped temp file:
tmpfile="/tmp/claude-md-copy-$(date +%s).txt" cat > "$tmpfile" << 'EOF' <formatted content> EOF
4. Copy to clipboard and remove temp file:
if [[ "$OSTYPE" == "darwin"* ]]; then
pbcopy < "$tmpfile"
elif command -v xclip &> /dev/null; then
xclip -selection clipboard < "$tmpfile"
elif command -v xsel &> /dev/null; then
xsel --clipboard --input < "$tmpfile"
else
echo "No clipboard tool found" >&2
fi
rm -f "$tmpfile"5. Report success with character count
Things to make Claude Code even better — hooks, skills, and commands, organized as a marketplace of independent plugins. This is an unapologetically opinionated set.
Other skills on cc-thingz.
More skills from other plugins.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
ask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Questions about md-copy.
- Which coding agents can use md-copy?
- md-copy installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

