Back to skills
clipboard
by xejrax
Coding Agents & IDEs—Not yet rated
Your rating
Brief
Interact with the system clipboard (text only) using `xclip` from any OpenClaw session.
Description
What This Skill Does
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.
When to Use It
- 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
Example Workflow
INPUT
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
OUTPUT
config.json contents are now in the system clipboard, ready to paste anywhere
Requirements
- xclip package installed (sudo dnf install xclip)
Installation
clawhub install xejrax/clipboardRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.