Quay lại kỹ năng
clipboard
bởi xejrax
Coding Agents & IDEs—Chưa có đánh giá
Đánh giá của bạn
Tóm tắt
Interact with the system clipboard (text only) using `xclip` from any OpenClaw session.
Mô tả
Kỹ năng này làm gì
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.
Khi nào nên dùng
- 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
Quy trình ví dụ
ĐẦU VÀO
User asks: Copy the contents of config.json to my clipboard
AGENT
- 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
ĐẦU RA
config.json contents are now in the system clipboard, ready to paste anywhere
Yêu cầu
- xclip package installed (sudo dnf install xclip)
Cài đặt
clawhub install xejrax/clipboardChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.