/mdcopy:mdcopyfrom mdcopy
Use when the user wants to paste markdown into Mail, Google Docs, Slack, or Word as real formatting (not raw ** or
Ships in mdcopy. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This plugin ships a small macOS-only script that runs Pandoc (GFM → HTML), applies light CSS, and puts HTML on the system pasteboard so Paste preserves headings, lists, tables, links, and inline code.
pandoc on PATH: brew install pandoc.After install, the executable lives at:
${CLAUDE_PLUGIN_ROOT}/bin/mdcopy
Run it with bash if the executable bit was lost in transit, or chmod +x once:
chmod +x "${CLAUDE_PLUGIN_ROOT}/bin/mdcopy"
| Mode | Command |
|---|---|
| File | "${CLAUDE_PLUGIN_ROOT}/bin/mdcopy" path/to/file.md |
| Stdin | printf '%s' "$body" | "${CLAUDE_PLUGIN_ROOT}/bin/mdcopy" |
| Clipboard is markdown (TTY, no pipe) | "${CLAUDE_PLUGIN_ROOT}/bin/mdcopy" |
Stderr prints a success line when the pasteboard was updated. Tell the user to Paste in the target app.
For stable, copy-paste instructions (skills, automation, or fetching over HTTPS), use the repo root LLM.txt:
https://raw.githubusercontent.com/The-Focus-AI/mdcopy/main/LLM.txt
README.md — “Mail.app paste examples” (small markdown samples + screenshots).examples/rich-text-demo.md — tables, nested lists, blockquotes, code.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
mdcopy@focus-marketplace is listed by the-focus-ai/claude-marketplace — review the source before installing
npx claudepluginhub the-focus-ai/claude-marketplace --plugin mdcopy