P9 ON THE GRID · MEDIUM · WHAT YOUR HANDS DO
Hand Claude the picture on your clipboard in one command.
/shot
/shotsaves 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.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.
Nothing goes to any service from the mod itself. Here is each thing, plainly.
What it sends, and where.
$.process.run starts the saver program below on your machine. $.prompt.fill writes text into your prompt box without sending it.Which programs it runs, and why.
powershell.exe -NoProfile -Command with this script:`` Add-Type -AssemblyName System.Windows.Forms; $i = [System.Windows.Forms.Clipboard]::GetImage(); if ($i) { $p = Join-Path $env:TEMP ("shot-" + (Get-Date -Format yyyyMMdd-HHmmss) + ".png"); $i.Save($p); $p } ``
wl-paste:`` sh -c 'p="${TMPDIR:-/tmp}/shot-$(date +%Y%m%d-%H%M%S).png"; wl-paste --type image/png > "$p" 2>/dev/null && [ -s "$p" ] && echo "$p"' ``
xclip:`` sh -c 'p="${TMPDIR:-/tmp}/shot-$(date +%Y%m%d-%H%M%S).png"; xclip -selection clipboard -t image/png -o > "$p" 2>/dev/null && [ -s "$p" ] && echo "$p"' ``
pngpaste if you installed it:`` sh -c 'p="${TMPDIR:-/tmp}/shot-$(date +%Y%m%d-%H%M%S).png"; pngpaste "$p" 2>/dev/null && echo "$p"' ``
/shot.What it puts in the prompts it submits.
Here is a screenshot I just took: <the PNG's path>, a blank line, then the words you typed after /shot.Look at it and tell me what you see.What each hook does.
session.start: adds the /shot command.command.run for shot: saves the clipboard picture, then fills your prompt box with the message above.BOX 1 add the garage (once)
/plugin marketplace add DJPalefaceSD/rostech-modsBOX 2 fit Shot
/plugin install shot@rostech