agentsclimarketplace

Clipboard

Skill MonkeyLeeT/skills/skills/clipboard

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

Install
npx -y skills add MonkeyLeeT/skills --skill clipboard

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.7 KB, 703 tokens by cl100k_base, as published. Nobody here has run it

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)

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,512. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.