← 返回 Skills 市场
yushimohuang

clipboard-manager-tool

作者 yushimohuang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
322
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install clipboard-manager-tool
功能描述
Clipboard history management. Use when user says "copy to clipboard", "paste from clipboard", "clipboard history", or wants to manage copied items.
使用说明 (SKILL.md)

Clipboard Manager

Manage clipboard history with save, search, and recall capabilities.

File Location

clipboard-history.md in workspace root

Commands

Save Current Clipboard

When user says: "save clipboard", "copy this to history"

bash skills/clipboard-manager-1.0.0/scripts/clipboard.sh save

Get Current Clipboard

When user says: "what's in clipboard", "show clipboard"

bash skills/clipboard-manager-1.0.0/scripts/clipboard.sh get

Set Clipboard

When user says: "copy this to clipboard: X"

bash skills/clipboard-manager-1.0.0/scripts/clipboard.sh set "\x3Ctext>"

Show History

When user says: "clipboard history", "show copied items"

bash skills/clipboard-manager-1.0.0/scripts/clipboard.sh history [--limit 10]

Search History

When user says: "find in clipboard history: X"

bash skills/clipboard-manager-1.0.0/scripts/clipboard.sh search "\x3Ckeyword>"

Restore from History

When user says: "restore clipboard item X"

bash skills/clipboard-manager-1.0.0/scripts/clipboard.sh restore \x3Cindex>

Clear History

When user says: "clear clipboard history"

bash skills/clipboard-manager-1.0.0/scripts/clipboard.sh clear

History Format

# Clipboard History

## [1] 2026-03-10 10:30:45

Pasted content here


## [2] 2026-03-10 10:25:12

Another copied item

Platform Support

OS Support
Windows ✅ (powershell/clip)
macOS ✅ (pbcopy/pbpaste)
Linux ✅ (xclip/xsel)

Response Format

When showing clipboard:

📋 **Current Clipboard:**

Content here...

When showing history:

📋 **Clipboard History** (last 5)

[1] 2026-03-10 10:30 - "Meeting notes..."
[2] 2026-03-10 10:25 - "API endpoint: https://..."
[3] 2026-03-10 10:20 - "console.log('test')"
安全使用建议
This skill appears to do exactly what it claims: local clipboard access and a saved history file. Before installing, verify and fix the script path referenced in SKILL.md (or ensure the file is installed at skills/clipboard-manager-1.0.0/scripts/clipboard.sh), and be aware that the tool will write clipboard contents to clipboard-history.md in the workspace root. Because clipboards often contain sensitive data, consider adding clipboard-history.md to .gitignore, restricting file permissions, or removing sensitive items from history. Also note the trim_history implementation looks buggy and could corrupt the history file; review/patch that function if you plan to rely on it. Finally, ensure required platform binaries (pbcopy/pbpaste, xclip/xsel, or PowerShell/clip) are available.
功能分析
Type: OpenClaw Skill Name: clipboard-manager-tool Version: 1.0.0 The skill manages clipboard history by logging content to a local file (`clipboard-history.md`), which poses a privacy risk as it may capture sensitive data like passwords or API keys in plain text. The `scripts/clipboard.sh` file contains shell injection vulnerabilities where user-provided text is piped directly into commands (e.g., `echo "$text" | pbcopy` and `grep ... "$keyword"`) without sanitization. While the behavior aligns with the stated purpose, the lack of input validation and the inherent risk of clipboard logging make it a security concern.
能力评估
Purpose & Capability
The skill's name/description match its behavior: it reads and writes the system clipboard and stores history in a markdown file. It legitimately needs write access to the workspace to store clipboard-history.md. Minor inconsistency: SKILL.md commands reference 'skills/clipboard-manager-1.0.0/scripts/clipboard.sh' while the provided manifest shows scripts/clipboard.sh at the package root, so the runtime path in the instructions may not exist as written.
Instruction Scope
SKILL.md confines the agent to running the included shell script for save/get/set/history/clear/search. The instructions do not request additional credentials or read unrelated system files. However, the instructions reference a specific path that doesn't match the file manifest (packaging mismatch) which may cause the agent to fail to run the script unless paths are corrected.
Install Mechanism
No install spec is present and the skill is instruction+script only. Nothing is downloaded or written by an installer step. This minimizes install-time risk.
Credentials
No environment variables or external credentials are requested (good). The script does persist clipboard contents to workspace/clipboard-history.md — this is expected for a history tool but means any sensitive data copied to the clipboard (passwords, tokens, private keys) will be saved in plaintext in the workspace. The user should be aware and treat the history file appropriately (gitignore, permissions, encryption) or avoid saving sensitive clipboard contents.
Persistence & Privilege
The skill does not set always:true and does not attempt to modify other skills or global agent settings. It only writes its own history file in the workspace root, which is within its scope.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clipboard-manager-tool
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clipboard-manager-tool 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of Clipboard Manager. - Manage clipboard history: save, search, recall, and clear clipboard items. - Supports basic clipboard operations: get, set, and show history. - Compatible with Windows, macOS, and Linux. - Provides command-line scripts for all clipboard actions. - Displays clipboard content and history in a clear, readable format.
元数据
Slug clipboard-manager-tool
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

clipboard-manager-tool 是什么?

Clipboard history management. Use when user says "copy to clipboard", "paste from clipboard", "clipboard history", or wants to manage copied items. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 322 次。

如何安装 clipboard-manager-tool?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install clipboard-manager-tool」即可一键安装,无需额外配置。

clipboard-manager-tool 是免费的吗?

是的,clipboard-manager-tool 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

clipboard-manager-tool 支持哪些平台?

clipboard-manager-tool 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 clipboard-manager-tool?

由 yushimohuang(@yushimohuang)开发并维护,当前版本 v1.0.0。

💬 留言讨论