360 Secure SkillHub
360 安全技能中心

clipboard-manager-tool

核心功能含查看当前剪贴板、保存/设置内容、管理剪贴板历史(查看、搜索、恢复、清空)。典型场景:需找回过往复制内容、批量管理复制记录等。通过自然语言指令触发,输出格式化内容或历史列表,适配Windows、macOS、Linux多平台。

yushimohuang
yushimohuang
热度 69.36
最近更新 2026-05-17 13:53:39
分类:效率依赖:代码执行 / 读写文件应用场景:任务管理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add clipboard-manager-tool
Metadata
name
clipboard-manager
description
Clipboard history management. Use when user says "copy to clipboard", "paste from clipboard", "clipboard history", or wants to manage copied items.

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 "<text>"

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 "<keyword>"

Restore from History

When user says: "restore clipboard item X"

bash skills/clipboard-manager-1.0.0/scripts/clipboard.sh restore <index>

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')"