PromptCase for VS Code
Your prompt library, one keystroke away — in whichever AI chat you already use.
PromptCase captures the prompts you write across AI tools and keeps them in one
searchable library. This extension brings that library into VS Code: search it,
copy a prompt, improve a draft with AI, and save the good ones — all without
leaving the editor.
Works alongside any AI chat extension — GitHub Copilot Chat, Claude, Cline,
Continue, whatever you use next.
📖 More details, screenshots and help:
promptcase.dev/products/vscode
Why it works everywhere
VS Code deliberately prevents one extension from typing into another
extension's chat box. Rather than pretend otherwise, PromptCase is built around
the clipboard — the one channel every chat accepts:
Pick a prompt → it's copied → paste it into your chat.
That's the whole model. No per-tool integrations to break, nothing that only
works in a file editor.
Features
🔍 Search your library — Ctrl+Alt+P / Cmd+Opt+P
Type to search across every prompt you've saved. Press Enter and the full
prompt is on your clipboard, ready to paste. Open it any time from the
PromptCase item in the status bar.
On a Mac the shortcut is ⌘⌥P — Command plus Option. VS Code's keybinding
file spells the ⌥ key alt, which is why Keyboard Shortcuts displays it as
cmd+alt+p; the key you actually press is Option.
A dedicated PromptCase view in the Activity Bar (and a section in the
Explorer, if you prefer it there):
- Favourites and Recent, four each to start, with Load 15 more…
- Hover a prompt to preview its contents
- Click it to copy
✨ Enhance a prompt
Copy a rough draft from any chat box, hit Enhance, and PromptCase AI rewrites it
into a sharper prompt — informed by how you write prompts. The result lands
back on your clipboard. You always see exactly what will be sent before it
leaves your machine.
Requires AI Brain enabled on your PromptCase account.
💾 Save clipboard as prompt
Wrote something good in a chat? Copy it and save it straight to your library,
tagged as VS Code.
Getting started
- Install this extension.
- Click the PromptCase icon in the Activity Bar → Connect PromptCase.
- Generate a token from
promptcase.dev/dashboard/devices/vscode-token
(or Devices → Connect Device → VS Code Extension on the dashboard) and
paste it — either the
pc_tok_… token on its own, or the whole JSON block
(the JSON is better: it lets the connection renew itself instead of expiring).
No PromptCase account yet? Create one at promptcase.dev.
Commands
All commands are available from the Command Palette (Ctrl+Shift+P / Cmd+Shift+P):
- PromptCase: Search Library — keyboard shortcut
Ctrl+Alt+P / Cmd+Opt+P
- PromptCase: Enhance Prompt
- PromptCase: Save Clipboard as Prompt
- PromptCase: Connect / PromptCase: Disconnect
Search Library is the only command with a default shortcut; assign your own to
any command in Keyboard Shortcuts.
Privacy
- Your access token is stored in VS Code's encrypted SecretStorage — never
in a settings file, never synced.
- The extension talks only to promptcase.dev, and only when you act: search,
copy, save, or enhance. There is no background telemetry and no analytics.
- Enhance is the only feature that sends prompt text to an AI provider, it
requires AI Brain to be explicitly enabled on your account, and it shows you
the text before sending it. Secrets are redacted server-side before any text
reaches a model.
- PromptCase: Disconnect revokes the token on the server and clears it
locally.
Details: Privacy Policy ·
Terms
Also from PromptCase
- MCP server — expose your library as
tools and slash commands inside Claude Code, Cursor, Codex and other MCP
clients.
- Browser extension — capture the prompts you write on 13 AI chat sites.
- CLI (
npm i -g promptcase) — sync prompts from Claude Code, Codex,
Cursor, Cline, Copilot and more.
Support
Questions, bugs or feedback: promptcase.dev/contact
Licence
MIT