clipboard

SKILL.md

Clipboard

Platform Detection

Detect the platform and use the correct clipboard command:

Platform Command
macOS pbcopy
Linux (X11) xclip -selection clipboard
Linux (Wayland) wl-copy
WSL / Windows clip.exe

Rules

  • Use echo -n (not printf) when piping to the clipboard command — printf fails in sandboxed environments
  • Always confirm to the user that the text was copied
Weekly Installs
1
GitHub Stars
2
First Seen
6 days ago
Installed on
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1