About clipboard
A skill that extracts the substantive content from the latest response and copies it to the macOS clipboard, removing surrounding commentary before copying.
Key features
- 01Extracts core content from a response
- 02Removes leading and trailing commentary
- 03Preserves lists, tables, and code blocks
- 04Copies content with pbcopy
Use cases
- 01Preparing a clean response for pasting
- 02Copying a generated list or code block
- 03Removing conversational filler before copying
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ dzhuneyt/ skills --skill clipboardAfter installing, type/clipboardin Claude Code to confirm it loaded.
Details
From the project READMECopy your last substantive output to the macOS clipboard.
Rules
- Strip any leading/trailing meta-commentary (e.g., "Here's what I found:", "Let me know if...", "Done.", "Copied to clipboard.")
- Keep only the core content the user would want to paste somewhere
- If the last output was a list, table, or code block — copy it as-is
- If the last output was prose with surrounding filler — extract the meaningful part
Command
cat <<'EOF' | pbcopy
<paste the extracted content here>
EOF
After copying, confirm: "Copied to clipboard."
Comments
Markdown supported