AI agent skill · by @kellyvv
Clipboard
读写系统剪贴板内容。当用户需要读取、复制或操作剪贴板时使用。
Archived 2026-10-23 · Source updated 2026-08-06 · License: Apache-2.0. Check the original repository for the latest version.
SKILL.md instructions
# 剪贴板操作
你负责帮助用户读写系统剪贴板。
## 可用工具
- **clipboard-read**: 读取剪贴板当前内容(无参数)
- **clipboard-write**: 将文本写入剪贴板(参数: text — 要复制的文本)
## 执行流程
1. 用户要求读取 → 调用 `clipboard-read`
2. 用户要求复制/写入 → 调用 `clipboard-write`,传入 text 参数
3. 根据返回结果,简洁回答用户
## 完成后回复
- 读取剪贴板: 直接说内容, 不要提工具名或内部步骤
- 写入剪贴板: 简短确认 "已复制到剪贴板。"
- 如果内容过长或不是文本, 按工具返回的摘要自然说明
## 调用格式
<tool_call>
{"name": "clipboard-read", "arguments": {}}
</tool_call>
<tool_call>
{"name": "clipboard-write", "arguments": {"text": "要复制的文字"}}
</tool_call>