clipboard
Copy text to the system clipboard. Use when user asks to copy something, send to clipboard, or similar requests.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
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.
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!