Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>PromptOS - Prompt LibraryNew to Visual Studio Code? Get it now.
PromptOS - Prompt Library

PromptOS - Prompt Library

PromptOS

| (1) | Free
Search, insert, and save AI prompts without leaving VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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

  1. Navigate to prompt-os-library.vercel.app/settings
  2. Scroll to the API Keys section
  3. 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

  1. Open the Command Palette: Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac)
  2. Run PromptOS: Sign In
  3. 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.

Collections sidebar

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

  • Make sure you copied the full API key including the pos_ prefix
  • If the key is expired or revoked, generate a new one at prompt-os-library.vercel.app/settings

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

  • Website
  • Source code
  • Report an issue
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft