md-copy

md-copy is a skill for Claude Code from umputun/cc-thingz. It costs 44 tokens per session (374 once invoked), scanned A, original, MIT.

A command that formats the session's final answer as Markdown, a plain-text format for structured documents, and copies it to the computer's clipboard.

In plain words
What is it for?
Use it when you want to paste a clean Markdown version of the final response into a document, issue, README, or editor.
Why use it?
It removes the need to reformat headings, tables, lists, code blocks, and emphasis before pasting the answer elsewhere.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the workflow plugin — 6 skills shipped together

Good fit Use it when you want to paste a clean Markdown version of the final response into a document, issue, README, or editor.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/umputun/cc-thingz/md-copy
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add umputun/cc-thingz --skill md-copy
Clone the repo
git clone --depth 1 https://github.com/umputun/cc-thingz

Made for: Claude Code.

Or install workflow, the plugin that ships this one along with the rest of its 6 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for md-copy

README.md
[![agentmods](https://agentmods.dev/badge/skills/umputun/cc-thingz/md-copy.svg)](https://agentmods.dev/skills/umputun/cc-thingz/md-copy)
Your own site
<a href="https://agentmods.dev/skills/umputun/cc-thingz/md-copy"><img src="https://agentmods.dev/badge/skills/umputun/cc-thingz/md-copy.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 374 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.00374
Opus 5 $0.00022 $0.00187
Sonnet 5 $0.00009 $0.00075
Haiku 4.5 $0.00004 $0.00037

Measured 8d ago against content hash af7597d12bcb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

md-copy scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/workflow/skills/md-copy/SKILL.md · 46 lines

What it actually says

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
  1. 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"
  1. Report success with character count
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 46 lines · 44 tokens per session scan A af7597d12bcb

Subscribe to this mod's changes

md-copy is a skill published in the GitHub repository umputun/cc-thingz (468 stars, last pushed 14d ago), licensed MIT. It adds 44 tokens to every session and 374 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.