Paste image

From cafe3310/public-agent-skills · View interactive version

Paste image is an AI agent skill from the GitHub repository cafe3310/public-agent-skills. 此技能提供一个脚本,用于将 macOS 剪贴板中的图片直接粘贴到指定的 PNG 文件。

How to use this skill

Skill file

技能: paste-image

描述

此技能提供一个脚本,用于将 macOS 剪贴板中的图片直接粘贴到指定的 PNG 文件。这是一种安全且可靠的方式,可以将用户的剪贴板中的图片数据获取到工作区。

何时使用

当需要从 macOS 系统的用户剪贴板中读取图片数据时,应使用此技能。例如,如果用户说“我的剪贴板里有一张图片,你能分析它吗?”。

命令

要使用此技能,请执行 run.sh 脚本,并将所需的输出路径作为参数。

paste-image/scripts/run.sh <输出路径>

参数

错误处理

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.