Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Prompt LibNew to Visual Studio Code? Get it now.
Prompt Lib

Prompt Lib

Prompt Lib

|
4 installs
| (0) | Free
Manage and use AI prompts seamlessly within VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

PromptLib - AI Prompt Management Extension

PromptLib is a powerful Visual Studio Code extension that helps you manage, organize, and share AI prompts directly within your development environment. Whether you're working with ChatGPT, Claude, or other AI tools, PromptLib streamlines your workflow by providing quick access to your prompt library.

✨ Features

🎯 Quick Prompt Insertion

  • Command Palette Integration: Use Insert Prompt from Prompt Lib command to quickly insert prompts into any file
  • Smart Snippet Support: Prompts are inserted as VS Code snippets with proper formatting
  • Active Editor Integration: Seamlessly insert prompts into your current cursor position

📚 Centralized Prompt Library

  • Cloud Synchronization: Connect to your PromptLib account to access your prompts from anywhere
  • Real-time Updates: Your prompt library stays synchronized across all your devices
  • Organized Collections: Browse and search through your organized prompt collections

🎨 Integrated Sidebar

  • Dedicated Activity Bar: Access PromptLib directly from the VS Code activity bar
  • Web-based Interface: Full-featured web interface embedded in VS Code

🚀 Getting Started

Installation

  1. Install the extension from the VS Code marketplace
  2. Open VS Code and look for the PromptLib icon in the activity bar

Method 1: Command Palette

  1. Open the command palette (Ctrl+Shift+P or Cmd+Shift+P)
  2. Type "Insert Prompt from Prompt Lib"
  3. Select a prompt from the dropdown list
  4. The prompt will be inserted at your cursor position

Method 2: Sidebar

  1. Click the PromptLib icon in the activity bar
  2. Browse your prompt library in the sidebar
  3. Click on any prompt to insert it into your active editor

⚙️ Extension Settings

This extension contributes the following settings:

  • promptlib.apiToken: Your API token from the PromptLib app (required for authentication)
  • promptlib.apiUrl: PromptLib API endpoint URL (defaults to http://localhost:4000/api/pl/prompt/vscode/list)

🎮 Commands

  • promptlib.insertPrompt: Insert Prompt from Prompt Lib - Opens a quick pick menu to select and insert prompts

📋 Requirements

  • Visual Studio Code version 1.102.0 or higher
  • Active internet connection for cloud synchronization
  • PromptLib account and API token (sign up at promptlib.cc)

🔧 Development Setup

For developers who want to contribute or run the extension locally:

# Clone the repository
git clone <repository-url>
cd promptlib

# Install dependencies
pnpm install

# Compile and watch for changes
pnpm run watch

# Run tests
pnpm run test

🐛 Known Issues

  • The extension requires an active internet connection to fetch prompts from the API
  • Large prompt libraries may take a moment to load initially
  • Development mode iframe may require manual refresh in some cases

📝 Release Notes

0.0.1

  • Initial release of PromptLib
  • Basic prompt insertion functionality
  • Sidebar integration with web interface
  • Command palette support
  • Theme-aware interface
  • Configurable API endpoints

📄 License

This extension follows the standard VS Code extension guidelines and best practices.

🔗 Links

  • Extension Guidelines
  • VS Code API Documentation

Enjoy managing your AI prompts with PromptLib! 🚀

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft