Paste clipboard images into the VS Code integrated terminal as absolute file paths — reliably on macOS.
Agent workflows often need “here is a screenshot path” in the terminal. Saving files by hand or flaky [CLIP] helpers breaks the flow. This extension saves the clipboard image as a temp PNG and types the absolute path into the active terminal.
Smart fallback: if the clipboard is not an image, normal text paste still works.
| Technique | Benefit |
|---|---|
| Deterministic JXA | Uses script return values instead of fragile console.log capture |
| execFile + temp scripts | Avoids shell injection / buffer issues from string piping |
| /usr/bin/osascript | Bypasses PATH / env conflicts inside VS Code’s terminal |
Requires macOS (osascript / JXA) and VS Code ^1.80.0.
Images are written as local temporary PNG files. Nothing is uploaded to olbin.dev.
Related: All projects