| name | Copy |
| description | Copy the last substantive output (draft, code block, snippet) to the system clipboard via pbcopy. USE WHEN copy, clipboard, copy that, grab that. |
| version | 1.0.0 |
Copy — Clipboard Skill
When invoked, identify the most recent substantive content from the conversation (email draft, code block, config snippet, command, etc.) and pipe it to pbcopy.
Rules
- Identify the last meaningful output — prefer the most recent draft, code fence, or structured content the user would want on their clipboard.
- Use
printf '%s' '...' | pbcopy to avoid trailing newlines from echo.
- Escape single quotes in content with
'\''.
- Confirm with a one-liner: "Copied to clipboard."
- If ambiguous what to copy, ask the user.
Platform
- macOS:
pbcopy
- Linux:
xclip -selection clipboard (fallback)