Skip to content
Agentmart
Submit a tool

clipboard

Read or write the Linux clipboard.

Skill by mikeyobrien

IndexedMIT★ 375
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/mikeyobrien-clipboard-15079e

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Read or write the Linux clipboard. Use when copying/pasting text, transferring data between apps, or accessing clipboard contents.

Use cases: data, writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/clipboard

What's inside

Skill name
clipboard
Description
Read or write the Linux clipboard. Use when copying/pasting text, transferring data between apps, or accessing clipboard contents.
License
MIT
Instructions
87 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Clipboard Operations

## X11 (xclip)

### Install
```bash
# Debian/Ubuntu
sudo apt install xclip

# Arch
sudo pacman -S xclip

# Fedora
sudo dnf install xclip
```

### Read clipboard
```bash
xclip -selection clipboard -o
```

### Write to clipboard
```bash
echo "text to copy" | xclip -selection clipboard
```

### Copy file contents
```bash
xclip -selection clipboard < file.txt
```

### Copy command output
```bash
ls -la | xclip -selection clipboard
```

## X11 (xsel) -- alternative

```bash
# Read
xsel --clipboard --output

# Write
echo "text" | xsel --clipboard --input

# Clear
xsel --clipboard --delete
```

## Wayland (wl-clipboard)

### Install
```bash
# Debian/Ubuntu
sudo apt install wl-clipboard

# Arch
sudo pacman -S wl-clipboard

# Fedora
sudo dnf install wl-clipboard
```

### Read clipboard
```bash
wl-paste
```

### Write to clipboard
```bash
echo "text to copy" | wl-copy
```

### Copy file contents
```bash
wl-copy < file.txt
```

## Detect display server
```bash
echo $XDG_SESSION_TYPE
# Returns: x11, wayland, or tty
```

On headless/SSH systems, clipboard tools require a display server. Use files or pipes for data transfer instead.

From mikeyobrien/rho, MIT.

More from mikeyobrien/rho

Signals

Stars
375
Forks
29
Open issues
1
Last commit (this folder)
Feb 5, 2026 (8 months ago)
Last release
Mar 15, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
Website
rhobot.dev
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from mikeyobrien

Cite this page

clipboard skill. Agent Mart. https://agentmart.dev/skills/mikeyobrien-clipboard-15079e (last updated 2026-10-24)