skills/clipboard/SKILL.md
Copy generated text to the user's macOS clipboard using pbcopy. Use this skill PROACTIVELY whenever you've just generated content the user will paste somewhere else -- emails, messages, social posts, bios, copy, outreach sequences, or any standalone text block. Also use when the user says "copy", "clipboard", "copy that", "put that on my clipboard", or "I need to paste this". Don't wait for the user to ask -- if you wrote something they'll clearly paste elsewhere, offer to copy it.
npx skillsauth add skinnyandbald/fish-skills clipboardInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Copy generated text content to the user's clipboard.
Use this automatically after generating any content the user will paste into another app:
Also use when the user explicitly asks to copy something.
Write the content to a temp file and pipe it to pbcopy. This avoids heredoc indentation issues that cause unwanted leading spaces:
TMPFILE=$(mktemp) && cat > "$TMPFILE" << 'CLIPBOARD'
[content here -- start at column 0, no leading indentation]
CLIPBOARD
pbcopy < "$TMPFILE" && rm "$TMPFILE"
IMPORTANT: The heredoc content MUST start at column 0 (no indentation). The Bash tool may indent your command, but the text between the heredoc markers must not have leading whitespace. If the content itself contains single quotes or special characters, the <<'CLIPBOARD' quoting handles it.
Alternative for short content (under ~1000 chars): use printf '%s' piped to pbcopy. But for longer emails and multi-paragraph content, the temp file approach is more reliable.
Strip markdown formatting before copying. The user is pasting into email clients, social platforms, or messaging apps -- not markdown renderers. Convert:
**bold** to plain text (no asterisks)[link text](url) to just the URL on its own line, or link text: url if context helps##) to plain text-) to bullet points (these are fine, most apps handle them)Don't include subject lines in the body. If the content is an email with a subject line, mention the subject line in your response text but don't include "Subject: ..." in the clipboard content. The user will type the subject into their email client's subject field separately.
Confirm what was copied. After copying, tell the user briefly: "Copied to clipboard." If there are placeholders they need to fill in (like [REPO LINK]), call those out.
One clipboard operation per turn. If you generated multiple pieces of content (e.g., an email + a social post), copy the primary one and mention you can copy the other if needed.
macOS: pbcopy (default -- this is Ben's setup)
Linux: xclip -selection clipboard or xsel --clipboard
WSL: clip.exe
Check uname if unsure, but default to pbcopy.
development
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
tools
Verify worktree plugin patches are intact after plugin updates. Checks compound-engineering and superpowers skills for Claude Code launch instructions.
development
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
development
Reviews the feature you just built and adds missing test coverage. Focuses on behavior that matters — not coverage metrics. Use after completing a feature to identify untested code paths, edge cases, and risk areas.