Agent skill

Clipboard

by mikeyobrien in mikeyobrien/rho

Read or write the Linux clipboard. An agent skill from mikeyobrien/rho.

MITAuto-check: notes

Install Clipboard

skills CLI
$ npx skills add mikeyobrien/rho --skill clipboard -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mikeyobrien/rho clipboard --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mikeyobrien/rho.git skills-src && mkdir -p .claude/skills && cp -r skills-src/platforms/linux/skills/clipboard .claude/skills/clipboard && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
clipboard
GitHub stars
373
Token cost
~333 tokens
SKILL.md length
50 words
Files
1
Skills in repo
35
Repo updated
First seen
Licence
MIT

At a glance

Read or write the Linux clipboard. An agent skill from mikeyobrien/rho.

  • Copying/pasting text
  • SKILL.md covers X11 (xclip), X11 (xsel) -- alternative, Wayland (wl-clipboard) and Detect display server
  • Calls apt and dnf
  • Transferring data between apps

What it does

Clipboard is an agent skill from mikeyobrien/rho. Read or write the Linux clipboard. Use when copying/pasting text, transferring data between apps, or accessing clipboard contents.

Its SKILL.md is about 330 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Linux. The repository describes itself as: An AI agent that stays running, remembers across sessions, and checks in on its own. macOS, Linux, Android. Built on Pi. The licence is MIT.

When your agent uses it

  • Copying/pasting text
  • Transferring data between apps
  • Accessing clipboard contents

Example prompts

  • “/clipboard”

What it can do on your machine

Read from SKILL.md and the folder at commit 073a3ee. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • apt
    • dnf

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Clipboard loads about 333 tokens when it runs. Until then it costs about 35 tokens; SKILL.md has 50 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~35
When it runs · the whole SKILL.md, loaded when a task matches
~333

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteRuns commands with sudoSKILL.md:13
    sudo apt install xclip
  • NoteRuns commands with sudoSKILL.md:16
    sudo pacman -S xclip
  • NoteRuns commands with sudoSKILL.md:19
    sudo dnf install xclip
  • NoteRuns commands with sudoSKILL.md:60
    sudo apt install wl-clipboard
  • NoteRuns commands with sudoSKILL.md:63
    sudo pacman -S wl-clipboard
  • NoteRuns commands with sudoSKILL.md:66
    sudo dnf install wl-clipboard

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from mikeyobrien/rho at commit 073a3ee, republished under its MIT licence (© mikeyobrien). 50 words, ~333 tokens.

Download SKILL.mdSave it as .claude/skills/clipboard/SKILL.md (or your agent's skills folder).
name
clipboard
description
Read or write the Linux clipboard. Use when copying/pasting text, transferring data between apps, or accessing clipboard contents.

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.

© mikeyobrien, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in platforms/linux/skills/clipboard of mikeyobrien/rho.

Open the folder on GitHubat commit 073a3ee

Compare with similar skills

Clipboard next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Clipboard compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Clipboard this skillmikeyobrien/rho373—~333Automated safety check: NotesMIT
Configuring Horizoncoollabsio/coolify63k4 repos~898Automated safety check: PassMIT
Model Usageopenclaw/openclaw392k1 repos~637Automated safety check: PassMIT
Engine Whats Newflutter/flutter179k—~978Automated safety check: PassBSD-3-Clause
Openclaw Live Updateropenclaw/openclaw392k—~3.7kAutomated safety check: PassMIT
Upgrade Browserflutter/flutter179k—~1.1kAutomated safety check: PassBSD-3-Clause

Similar skills

  • Configuring Horizon

    coollabsio/coolify

    A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.

    63k GitHub starsUsed in 4 repos~898 tokens
    Backend & APIsAuto-check passed
  • Model Usage

    openclaw/openclaw

    Summarize CodexBar local cost logs by model for Codex or Claude, including current or full breakdowns.

    392k GitHub starsUsed in 1 repo~637 tokens
    Auto-check passed
  • Engine Whats New

    flutter/flutter

    Generates the "what's new" release summary and diff file for changes in the Flutter engine (//engine/src/flutter) between two releases (e.g., 3.47 vs 3.44).

    179k GitHub stars~978 tokensUpdated today
    MobileAuto-check passed
  • Openclaw Live Updater

    openclaw/openclaw

    Maintain the canonical live OpenClaw main checkout, macOS LaunchAgent-managed Gateway, local macOS app, exact-head main CI, and recurring full release validation.

    392k GitHub stars~3.7k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Upgrade Browser

    flutter/flutter

    Upgrade browser versions (Chrome or Firefox) in the Flutter Web Engine and/or Framework tests.

    179k GitHub stars~1.1k tokensUpdated today
    MobileAuto-check passed
  • K8s Security Policies

    Cybereason-Public/owLSM

    Comprehensive guide for implementing NetworkPolicy, PodSecurityPolicy, RBAC, and Pod Security Standards in Kubernetes.

    280 GitHub starsUsed in 12 repos~2k tokens
    Backend & APIsAuto-check passed

More from mikeyobrien/rho

All 35 skills in this repo
  • Rho Cloud Onboard

    mikeyobrien/rho

    Register an agent email address on Rhobot Mail (name@rhobot.dev).

    373 GitHub stars~1.4k tokensUpdated 9 days ago
    Auto-check passed
  • Install Rho

    mikeyobrien/rho

    Install and configure Rho from scratch (Doom-style init.toml + sync).

    373 GitHub stars~1.6k tokensUpdated 9 days ago
    Auto-check: notes
  • Open URL

    mikeyobrien/rho

    Open URLs and launch apps on Android. An agent skill from mikeyobrien/rho.

    373 GitHub stars~480 tokensUpdated 9 days ago
    Auto-check passed
  • Release Changelog

    mikeyobrien/rho

    Keep CHANGELOG.md idiomatic (Keep a Changelog) and cut a tag-based GitHub release that triggers npm publish CI.

    373 GitHub stars~1.4k tokensUpdated 9 days ago
    Auto-check passed
  • Rho Cloud Email

    mikeyobrien/rho

    Manage agent email at name@rhobot.dev via the Rhobot Mail API.

    373 GitHub stars~2.6k tokensUpdated 9 days ago
    Auto-check passed
  • Tasker XML

    mikeyobrien/rho

    Create Tasker profiles and tasks via XML for Android automation.

    373 GitHub stars~3.1k tokensUpdated 9 days ago
    Auto-check passed

Works with

Questions about Clipboard

What does Clipboard do?

Read or write the Linux clipboard. An agent skill from mikeyobrien/rho. Clipboard is an agent skill from mikeyobrien/rho. Read or write the Linux clipboard.

When should I use Clipboard?

Clipboard fits situations like: copying/pasting text; transferring data between apps; accessing clipboard contents.

How do I install Clipboard in Claude Code?

Run `npx skills add mikeyobrien/rho --skill clipboard -a claude-code`. Or copy the skill folder (platforms/linux/skills/clipboard in mikeyobrien/rho) into .claude/skills/clipboard in your project. Claude Code loads it when a task matches its description.

How do I install Clipboard in Codex?

Run `npx skills add mikeyobrien/rho --skill clipboard -a codex`. Or copy the skill folder (platforms/linux/skills/clipboard in mikeyobrien/rho) into .agents/skills/clipboard in your project. Codex loads it when a task matches its description.

Can I use Clipboard in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mikeyobrien/rho --skill clipboard -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/clipboard, .gemini/skills/clipboard, .github/skills/clipboard and .opencode/skills/clipboard in your project.

What does Clipboard need to run?

Going by SKILL.md and its folder, Clipboard needs the command-line tools its instructions call (apt and dnf).

Does Clipboard access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Clipboard safe to install?

Our automated static check of SKILL.md found notes only (runs commands with sudo), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Clipboard use?

Clipboard is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Clipboard use?

About 333 tokens (SKILL.md is roughly 1.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Clipboard?

Skills that share tags, products or a category with Clipboard: Configuring Horizon (coollabsio/coolify, 63k stars), Model Usage (openclaw/openclaw, 392k stars), Engine Whats New (flutter/flutter, 179k stars) and Openclaw Live Updater (openclaw/openclaw, 392k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Clipboard?

mikeyobrien (a GitHub user) maintains it in mikeyobrien/rho, which has 373 GitHub stars. The repository holds 35 skills in this directory. The repository was last updated on October 1, 2026.

Source: mikeyobrien/rho on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.