ClaudeMods
☰
ZH-CN
● 0 人在线 · 浏览 0 次
赞助提交作品
GitHub 仓库 · 发布者 DJPalefaceSD

shot

用一条命令把剪贴板中的图片交给 Claude。截取屏幕的一部分,输入 /shot,Claude 就能得到图片,无需保存文件或查找路径。

DJPalefaceSD@DJPalefaceSD

DJPalefaceSD/rostech-mods/tree/main/plugins/shot

已翻译

关于这个 mod

Shot

用一条命令把剪贴板中的图片交给 Claude。截取屏幕的一部分,输入 /shot,Claude 就能得到图片,无需保存文件或查找路径。

  • /shot 会保存剪贴板图片,并在提示框中放入一条给 Claude 的消息。按 Enter 发送。
  • /shot is the band lined up? 会将你自己的问题与图片一起放入。

Shot 会先把图片保存为临时文件夹中的 PNG,然后在提示框中写入一条指向该文件的消息。Claude 会自行打开文件。Windows 使用系统剪贴板,Linux 使用 wl-paste 或 xclip,macOS 则在安装了 pngpaste 时使用它。图片会留在你的机器上。

已在 Windows 上的 Claude Code 2.1.287 测试。

安装

请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。

claude plugin marketplace add DJPalefaceSD/rostech-mods
claude plugin install shot
原文 / README

Shot

Hand Claude the picture on your clipboard in one command. Snip part of your screen, type /shot, and Claude gets the picture without you saving a file or finding a path.

  • /shot saves the clipboard picture and puts a message for Claude in your prompt box. Press Enter to send it.
  • /shot is the band lined up? puts your own question in with it.

Shot saves the picture as a PNG in your temp folder, then writes one message naming that file into your prompt box. Claude opens the file itself. It uses Windows' own clipboard on Windows, wl-paste or xclip on Linux, and pngpaste on macOS if you have it installed. The picture stays on your machine.

Tested with Claude Code 2.1.287 on Windows.

更多类似作品