PromptOS for VS Code
Search, insert, and save AI prompts without leaving your editor.
Setup
Get an API key — sign in to promptos.dev, then run in your browser console:
fetch('/api/ext/keys', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ name: 'VS Code' }) }).then(r => r.json()).then(console.log)
Copy the key value.
Sign in — open Command Palette (Ctrl+Shift+P) → PromptOS: Sign In → enter your server URL and API key.
Usage
| Action |
How |
| Search & insert a prompt |
Ctrl+Shift+, (or Cmd+Shift+, on Mac) |
| Browse recent prompts |
PromptOS: Show Recent Prompts in Command Palette |
| Save selected text as a prompt |
Select text → right-click → Save as PromptOS Prompt |
| Browse collections |
PromptOS Collections panel in the Explorer sidebar |
| Sign out |
PromptOS: Sign Out in Command Palette |
Variable substitution
Prompts with {{variable}} placeholders prompt you to fill each value before inserting. Press Escape at any point to cancel.
Commands
PromptOS: Search Prompts — QuickPick search across all accessible prompts
PromptOS: Show Recent Prompts — re-insert from your last 20 used prompts
PromptOS: Sign In — authenticate with an API key
PromptOS: Sign Out — clear stored credentials
PromptOS: Save as PromptOS Prompt — save editor selection to your library
| |