Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Prompt Stash PanelNew to Visual Studio Code? Get it now.
Prompt Stash Panel

Prompt Stash Panel

abdoseadaa

|
1 install
| (0) | Free
Park an in-progress AI prompt — text plus screenshots and files — then copy it back into any chat box with one click.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

📌 Prompt Stash

Park an unfinished AI prompt — screenshots and all — and pick it up again later

VS Code Cursor Platforms 100% local License


The Prompt Stash panel: a stash holding a prompt and two screenshots, with the Copy button below

😩 The problem

You're halfway through a long prompt. Two screenshots pasted in, three paragraphs of context written.

Then the agent errors out. Or you realise you need to go check something first.

Now what? Cut it into a scratch file and you keep the words — and lose every screenshot. Leave it in the chat box and it's gone the moment you type something else.

✨ The fix

✍️  write  →  📌 stash  →  🔧 go fix the thing  →  📋 copy  →  ✅ paste it back

Prompt Stash keeps the whole draft together — text and images and files — in a sidebar panel, ready to copy back out whenever you are.


🎁 What you get

🗂️ As many drafts as you want

Every stash is a card, newest first, titled by its own first line. Text saves itself as you type — there's no save button to forget.

🖼️ Screenshots that stay put

Paste an image straight into a draft, or attach anything — a screenshot, a JSON dump, a log — with 📎. They live with the draft instead of evaporating when you clear the chat box.

🔍 A real look at what you attached

Hover a thumbnail, click it, and it opens full-panel — zoom with the wheel, the buttons or +/−, drag to pan, Esc to close. Zoom follows your pointer, so you can actually read the stack trace in that screenshot.

📋 One paste puts it back

Copy puts the prompt and every attachment path on your clipboard. One paste, and the assistant has the text and can read the images from disk.

Nothing gets focused, opened or clicked on your behalf. It copies. That's it.

🔄 The same stashes in VS Code and Cursor

Stashes live in your home folder, not inside either editor's private storage — so both see the same list. Park a draft in one, pick it up in the other.


🚀 Getting started

Click the 🔖 in the activity bar, or hit Ctrl+Shift+Alt+P.

I want to… Do this
🆕 Start a draft New, top right of the panel
🆘 Rescue a prompt I already typed Select it, Ctrl+C, then Ctrl+Alt+S — stashed without opening a thing
🖼️ Attach a screenshot Paste it straight into the draft
📥 Attach any file The 📎 button on the open card
🔍 Inspect an attachment Hover its thumbnail and click
📋 Use the draft Copy, then paste into any chat box
📂 Find the files on disk The 📁 icon in the header

⌨️ Commands

Command Keybinding
Prompt Stash: Open Prompt Stash Ctrl+Shift+Alt+P
Prompt Stash: Stash Clipboard Text Ctrl+Alt+S
Prompt Stash: Copy Latest Stash —

📎 How attachments reach the assistant

Copy gives you the prompt followed by the path of each attachment:

Fix this layout bug — the sidebar overlaps the content below 900px.

Attached files:
- /home/you/.prompt-stash/media/stash-1738.../att-1-shot.png

Paths rather than the pictures themselves, because the clipboard physically cannot carry both at once — and because paths work with assistants that refuse pasted images.

🤔 The longer version

A clipboard entry holds one item in alternative formats, not a list of things. Paste handlers pick a single format, and image data always beats text — so a prompt and three screenshots can never arrive in one paste.

Paths sidestep it: one paste, and any assistant that can read a file picks the images up from there. It's also the only approach that works with assistants that refuse pasted images outright, Claude Code included.

Pick the shape with promptStash.attachmentFormat:

Value Output Best for
🥇 paths (default) - /abs/shot.png under Attached files: Claude Code, terminal agents
📝 markdown A Markdown image link Anything that renders Markdown
💬 at-mentions @/abs/shot.png Cursor

🎨 Want a true inline image paste?

Image thumbnails also offer Copy as image, which puts real picture data on the clipboard — one image per click, for the reason above.

Editor Works?
Cursor ✅
Copilot Chat ✅
Claude Code extension ❌ discards pasted images — use Copy

Non-PNG images convert automatically, and if the system refuses the write, the file path is copied instead and the panel tells you so.


⚙️ Settings

Setting Default What it does
promptStash.storePath ~/.prompt-stash Where stashes and their files are kept
promptStash.attachmentFormat paths How attachment paths are written into the copied text
promptStash.maxAttachmentMb 20 Largest single attachment accepted

💡 Good to know

  • 🗑️ Deleting a stash deletes its attachments, so the folder never fills with files nothing points at.
  • 🔁 Changing storePath needs a window reload before attachments display again.
  • 📐 Text and images can't share one paste — a clipboard limitation, explained above.
  • 🖱️ Dragging files onto the panel doesn't work yet. VS Code hands file drags to the workbench before a side-panel extension can see them, so nothing reaches the card. Paste a screenshot or use 📎 instead.

🔒 Privacy

Everything stays on your machine. Stashes and attachments are plain files in your home folder, and the extension makes no network requests whatsoever. No accounts, no telemetry, no phoning home.


Built by Abdelrahman Seada

X LinkedIn

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft