返回技能列表
clipboard
由 xejrax 提供
Coding Agents & IDEs—暂无评分
你的评分
简介
Interact with the system clipboard (text only) using `xclip` from any OpenClaw session.
描述
该技能的功能
Reads from and writes to the system clipboard using xclip on Linux. Works from any OpenClaw session without opening a GUI application.
Gives agent sessions direct clipboard access that shell redirection alone cannot provide.
何时使用
- Copy a command's output to paste into a browser form
- Transfer file contents to the clipboard without opening an editor
- Paste clipboard text into a running script
- Share terminal output with a colleague via clipboard
- Capture a URL or token from clipboard for use in a command
示例工作流
输入
User asks: Copy the contents of config.json to my clipboard
智能体
- 1
Locate config.json on the filesystem
- 2
Run
xclip -selection clipboard < config.jsonto load the file into the clipboard - 3
Confirm the operation completed without error
输出
config.json contents are now in the system clipboard, ready to paste anywhere
前置要求
- xclip package installed (sudo dnf install xclip)
安装
clawhub install xejrax/clipboard运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。