Rechercher

PythonReactSEOPDF
GitHub Skill

clipboard

Copy text to the system clipboard. Use when user asks to copy something, send to clipboard, or similar requests.

kurko☆ 14 Étoiles du dépôt9 Forks du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

Voir la source ↗Guides

Instructions

Clipboard

Copy content to the user's system clipboard.

How to Copy

Use a heredoc to reliably handle multi-line content, quotes, and special characters:

cat << 'EOF' | pbcopy
Your content here.
Can span multiple lines.
Handles "quotes" and 'apostrophes' without escaping.
EOF

Platform Commands

  • macOS: pbcopy (copy) / pbpaste (verify)
  • Linux: xclip -selection clipboard or xsel --clipboard

After Copying

Verify the clipboard content worked:

pbpaste | head -3

If verification shows different content, the sandbox may be blocking clipboard access. In that case, inform the user and display the text directly so they can copy it manually.

Exemples

Consultez les exemples du dépôt source.

Voir la source ↗

Historique source

Date d’indexation
2026-01-20
Mise à jour de l’index
2026-01-26
Branch
main

Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!