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

PromptBox: AI Prompt Library

Lary tiandrazae Salomon

|
1 install
| (0) | Free
A prompt library for AI assistants (Claude Code, Cursor, Copilot) in your VS Code sidebar.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

PromptBox

A prompt library for AI assistants (Claude Code, Cursor, GitHub Copilot…), right in your VS Code sidebar. Keep your best prompts, fill in their variables, and paste or insert them in one keystroke.

PromptBox demo

Features

  • Searchable library: categories, tags and instant fuzzy search.
  • Variables: write {{language}} or {{code}} in a prompt and fill the values in a form, with a live preview.
  • Copy or insert: put the finished prompt on the clipboard or at the cursor of the active editor.
  • Starter pack: code review, refactor, tests and documentation prompts, ready on first launch.
  • Import / export: share your library as a plain JSON file.
  • Keyboard first: every action is reachable without a mouse.
  • Native look: follows your VS Code theme, including high contrast.
  • Private by design: no network access, no telemetry. Prompts stay on your machine.

Installation

  • VS Code Marketplace: search for "PromptBox" in the Extensions view (Ctrl+Shift+X), or run ext install larytiandrazaesalomon.promptbox-library from the Quick Open prompt (Ctrl+P).
  • Open VSX (VSCodium, Cursor, Windsurf…): install larytiandrazaesalomon.promptbox-library from the Open VSX registry.
  • From a .vsix: download it from the releases page, then run code --install-extension promptbox-library-<version>.vsix.

Usage

  1. Click the PromptBox icon in the Activity Bar.
  2. Click a prompt to expand it, fill in its variables, then choose Copy or Insert in editor.
  3. Use New (or the + in the view title) to add your own prompts.

Variables

Wrap a name in double braces: Review this {{language}} code: {{code}}. A variable left empty stays visible as {{name}} in the result, so you never miss one.

Commands and shortcuts

Command Shortcut What it does
PromptBox: Use a Prompt… Ctrl+Alt+P (Cmd+Alt+P on macOS) Pick a prompt, answer one input box per variable, insert or copy
PromptBox: Open Library Open the sidebar with the search field focused
PromptBox: New Prompt Open the editor to create a prompt
PromptBox: Import Library… Merge a JSON file into your library
PromptBox: Export Library… Save your library as a JSON file

Open the Command Palette (Ctrl+Shift+P) and type "PromptBox" to see them all. You can change any shortcut in Keyboard Shortcuts (Ctrl+K Ctrl+S).

In the sidebar: ↑ ↓ Home End move between prompts, Esc collapses a prompt, Ctrl+Enter copies from a variable field or saves in the editor.

Settings

Setting Default Description
promptbox.quickAction insert What Use a Prompt… does with the result: insert at the cursor or copy to the clipboard

Library file format

{
  "schemaVersion": 1,
  "prompts": [
    {
      "title": "Review this code",
      "body": "Review this {{language}} code:\n{{code}}",
      "category": "Code review",
      "tags": ["review"]
    }
  ]
}

A bare array of prompts is accepted too. id, createdAt and updatedAt are optional on import.

Roadmap

  • [ ] Multi-line input in the quick-use flow
  • [ ] Prompt folders and drag-and-drop ordering
  • [ ] Workspace-scoped libraries (shared through the repository)
  • [ ] Built-in variables ({{selection}}, {{file}}, {{clipboard}})
  • [ ] Favorites and recently used prompts
  • [ ] Localization

Ideas and bug reports are welcome in the issue tracker.

Development

npm ci
npm run build        # extension + webview
npm test             # unit tests (Vitest)
npm run test:smoke   # launches VS Code and checks activation

Press F5 in VS Code to run the extension in a development host. See docs/PUBLISHING.md for the release process.

License

MIT

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