Prompt Alchemy
A lightweight VS Code extension for optimizing AI prompts using configurable LLM providers.

Features
- Model Configuration — Support for OpenAI, Gemini, DeepSeek, and custom providers with secure API key storage.
- One-Click Optimization — Paste or type your prompt, click "Optimize", and get an improved version instantly.
- Editor Integration — Right-click selected text in the editor to send it directly to the optimizer sidebar.
- One-Click Copy — Copy the optimized prompt to your clipboard with a single click.
Getting Started
Installation
- Open VS Code
- Press
Ctrl+Shift+X to open the Extensions panel
- Search for Prompt Alchemy
- Click Install
Configuration
- Click the Prompt Alchemy icon in the Activity Bar to open the sidebar
- Expand the Model Configuration section
- Select your Provider (OpenAI, Gemini, DeepSeek, or Custom)
- Enter your API Key
- (Optional) Modify the Base URL if using a custom endpoint
- Set the Model Name (e.g.,
gpt-4o, gemini-1.5-pro, deepseek-chat)
- Click Save
Usage
- Open the Prompt Alchemy sidebar
- Enter your prompt in the Original Prompt text area
- Click Optimize
- View the improved prompt in the Optimized Prompt section
- Click Copy to copy the result to your clipboard
You can also select text in the editor, right-click, and choose Send to Prompt Alchemy to fill the input automatically.
Supported Providers
| Provider |
Default Base URL |
| OpenAI |
https://api.openai.com/v1 |
| Gemini |
https://generativelanguage.googleapis.com/v1beta |
| DeepSeek |
https://api.deepseek.com/v1 |
| Custom |
(user-defined) |
Development
Prerequisites
Build
npm install
npm run build
Watch
npm run watch
Package
npm run package
Lint
npm run lint
License
MIT
| |