clipboard

Auto-copy code, commands, and shareable content to system clipboard. Proactively copies paste-worthy output; manually invoke with /copy.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "clipboard" with this command: npx skills add monkeyleet/skills/monkeyleet-skills-clipboard

Clipboard

Auto-copy to system clipboard, either proactively or via /copy.

Auto-copy (no prompt needed)

Copy automatically when output is clearly paste-worthy:

  • Commit messages, PR descriptions
  • Code snippets user asked to "write" or "generate"
  • Shell commands, curl, SQL queries (not executed)
  • Config files, templates, dotfiles
  • Critique/feedback meant for sharing

Append (Copied to clipboard) when auto-copying.

Don't auto-copy

  • Explanations, tutorials, answers
  • Code already written to files
  • Conversation, options, suggestions

Manual: /copy

  • /copy - copy last response
  • /copy <text> - copy specific text

Rich text copy (for reports, analysis, structured content)

Plain text with markdown syntax (e.g. *bold*, ```) does NOT render when pasted into rich text editors — Slack, Notion, Google Docs, email, Linear, etc. only parse markdown when typed, not pasted.

Solution: Set HTML on the clipboard. Rich text editors read public.html and render it natively.

macOS: osascript JXA

osascript -l JavaScript -e '
ObjC.import("AppKit");
var pb = $.NSPasteboard.generalPasteboard;
pb.clearContents;
var html = "<b>Title</b><br><pre>code block</pre>";
pb.setStringForType($(html), "public.html");
pb.setStringForType($("plain text fallback"), "public.utf8-plain-text");
'

Sets both HTML (for rich editors) and plain text (for terminals/plain editors) on the clipboard.

HTML conversion rules

GFMHTML
## Header<b>Header</b>
**bold**<b>bold</b>
_italic_<i>italic</i>
`code`<code>code</code>
``` blocks<pre>...</pre>
- item / • item• item<br> (or <ul><li>)
Pipe tables<pre> with manually aligned columns
[text](url)<a href="url">text</a>
---<br>
Newlines<br>
< in content&lt; (escape for HTML)

When to use rich vs plain

  • Rich (HTML): Reports, analysis, tables, anything with formatting meant for sharing
  • Plain (pbcopy): Code snippets, shell commands, URLs, raw text

Platform commands

  • macOS plain text: pbcopy / pbpaste
  • macOS rich text: osascript -l JavaScript (NSPasteboard, see above)
  • Linux: xclip -selection clipboard
  • WSL: clip.exe

Examples

User: Give me a curl to test the webhook
→ Plain text, use pbcopy

(Copied to clipboard)
User: /copy (after a markdown report with tables and bold)
→ Rich text, convert to HTML, use osascript JXA

(Copied to clipboard)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.

Repository SourceNeeds Review
160.9K94.2Kanthropics
Coding

remotion-best-practices

Use this skills whenever you are dealing with Remotion code to obtain the domain-specific knowledge.

Repository SourceNeeds Review
148.3K2.1Kremotion-dev
Coding

azure-ai

Service Use When MCP Tools CLI

Repository SourceNeeds Review
136.4K155microsoft
Coding

azure-deploy

AUTHORITATIVE GUIDANCE — MANDATORY COMPLIANCE

Repository SourceNeeds Review
136K155microsoft