clipboard

TotalClaw 作者 totalclaw

使用任何 OpenClaw 会话中的“xclip”与系统剪贴板(仅限文本)进行交互。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~xejrax-clipboard
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~xejrax-clipboard/file -o xejrax-clipboard.md
## 概述(中文)

使用任何 OpenClaw 会话中的“xclip”与系统剪贴板(仅限文本)进行交互。

## 原文

# Clipboard Skill

Interact with the system clipboard (text only) from any OpenClaw session. Uses `xclip` on Linux.

## Copy to Clipboard

Copy text to the clipboard:

```bash
echo "Hello, world!" | xclip -selection clipboard
```

## Paste from Clipboard

Output current clipboard contents:

```bash
xclip -selection clipboard -o
```

## Copy File Contents

Copy the contents of a file to the clipboard:

```bash
xclip -selection clipboard < /path/to/file.txt
```

## Install

```bash
sudo dnf install xclip
```