用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/taracodlabs/aiden --skill clipboard-history命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | clipboard-history |
| description | Read/write Windows clipboard text, HTML, images, history (PowerShell) |
| category | windows |
| version | 1.0.0 |
| platform | windows |
| tags | clipboard, copy, paste, history, windows, powershell, text |
| license | Apache-2.0 |
Read and write Windows clipboard content, access clipboard history (Win+V), and manipulate clipboard data — text, HTML, and file lists — via PowerShell.
Get-Clipboard
Set-Clipboard -Value "Hello from Aiden!"
Get-Process | Out-String | Set-Clipboard
Set-Clipboard -Value "C:\Users\<you>\Documents\report.pdf"
Set-Clipboard -Value $null
Add-Type -AssemblyName System.Windows.Forms
[System.Windows.Forms.Clipboard]::GetText([System.Windows.Forms.TextDataFormat]::Html)
Add-Type -AssemblyName System.Windows.Forms
[System.Windows.Forms.Clipboard]::ContainsImage()
Add-Type -AssemblyName System.Windows.Forms
$img = [System.Windows.Forms.Clipboard]::GetImage()
if ($img) {
$img.Save("$env:USERPROFILE\Desktop\clipboard-image.png")
Write-Host "Saved to Desktop"
} else {
Write-Host "No image on clipboard"
}
# Clipboard history requires Windows 10 1809+ and history enabled in Settings
# Use the ContentDeliveryManager workaround or UWP API via PowerShell
Add-Type -AssemblyName Windows.ApplicationModel
$history = [Windows.ApplicationModel.DataTransfer.Clipboard,Windows.ApplicationModel,ContentType=WindowsRuntime]
# Note: full UWP clipboard history requires a packaged app context
# For CLI use, pipe history via the built-in Win+V UI or a third-party tool
Write-Host "Open Win+V to view clipboard history interactively"
"Copy the output of dir to clipboard"
→ Get-ChildItem | Out-String | Set-Clipboard
"Put my public IP address on the clipboard"
→ (Invoke-RestMethod -Uri 'https://api.ipify.org').Trim() | Set-Clipboard
"Clear whatever is on the clipboard"
→ Set-Clipboard -Value $null
Set-Clipboard requires PowerShell 5.1+ on Windows; earlier versions use clip.exe as fallbackSystem.Windows.Forms assembly — only available on Windows