PromptOS — Prompt Library for VS Code
Access your entire AI prompt library without leaving your editor. Search, insert, save, and organize prompts across Claude, GPT, Gemini, and more — all from the Command Palette or a keyboard shortcut.
Getting Started
Step 1 — Create a free account
Go to prompt-os-library.vercel.app and sign in with Google or GitHub.
Step 2 — Generate an API key
- Navigate to prompt-os-library.vercel.app/settings
- Scroll to the API Keys section
- Click Create Key, give it a name (e.g.
VS Code), and copy the key — it starts with pos_
Keep this key private. You can revoke and regenerate it from Settings at any time.
Step 3 — Sign in to the extension
- Open the Command Palette:
Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac)
- Run
PromptOS: Sign In
- Paste your API key
You're ready. Your prompt library is now available inside VS Code.
Features
Search and insert prompts
Press Ctrl+Shift+, (Mac: Cmd+Shift+,) to open a fuzzy-search picker over your entire library. Select a prompt to insert it at your cursor — instantly.
Variable substitution
Prompts with {{variable}} placeholders will prompt you to fill in each value before inserting. Press Escape at any point to cancel without inserting.
Example: A prompt like Explain {{topic}} to a {{audience}} becomes interactive — the extension asks for topic and audience before inserting the completed text.
Save prompts from your editor
Highlight any text → right-click → Save as PromptOS Prompt to add it to your library without switching tabs.
Recent prompts
Re-use your last 20 prompts via PromptOS: Show Recent Prompts — no searching required when you're in a flow.
Open the PromptOS Collections panel in the Explorer sidebar (Ctrl+Shift+E) to browse your organized collections and insert prompts with a single click.
Keyboard Shortcuts
| Action |
Windows / Linux |
Mac |
| Search & insert a prompt |
Ctrl+Shift+, |
Cmd+Shift+, |
| Open Command Palette |
Ctrl+Shift+P |
Cmd+Shift+P |
| Open Explorer sidebar |
Ctrl+Shift+E |
Cmd+Shift+E |
Commands
All commands are available in the Command Palette (Ctrl+Shift+P):
| Command |
Description |
PromptOS: Search Prompts |
Fuzzy search across your entire prompt library |
PromptOS: Show Recent Prompts |
Quick-insert from your last 20 used prompts |
PromptOS: Sign In |
Connect to your PromptOS account |
PromptOS: Sign Out |
Disconnect and clear stored credentials |
PromptOS: Save as PromptOS Prompt |
Save selected editor text to your library |
Requirements
- VS Code 1.80 or later
- A free PromptOS account
Troubleshooting
"Unauthorized" error on sign in
Prompts not loading / stale results
- Sign out (
PromptOS: Sign Out) and sign back in to refresh your session
- Check your internet connection — the extension fetches from the PromptOS API
Shortcut conflict
- If
Ctrl+Shift+, conflicts with another extension, rebind it via File → Preferences → Keyboard Shortcuts and search for PromptOS: Search Prompts
Links