clipboard
Copy text to the system clipboard. Use when user asks to copy something, send to clipboard, or similar requests.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
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 clipboardorxsel --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)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!