Score & rewrite prompts without leaving your editor.
The same AI prompt enhancer that lives in your browser now ships as a native IDE extension. Select a prompt in VS Code or Cursor, fire one command, and get scores, clarifying questions and a rewrite — right where you write code.
- Free & MIT-licensed
- Classify + Optimize in one command
- Secret-storage API key
- Works with self-hosted API
# VS Code: Marketplace
code --install-extension aipromptfixer.ai-prompt-fixer
# Cursor: Open VSX (default registry)
# Extensions pane → search "AI Prompt Fixer" → Install
# Optional: point at the classify API
# Settings → Extensions → AI Prompt Fixer
# apf.classifierBaseUrl = "https://your-api.example.com"
# Run "APF: Set Classifier API Key" to save the keyWhere it runs today.
VS Code
Install from the Visual Studio Marketplace. Works on macOS, Linux and Windows with VS Code 1.85+.
Cursor
Published to Open VSX, so Cursor users install it in one click from the Extensions pane. No VSIX gymnastics required.
JetBrains
IntelliJ, WebStorm, PyCharm, Android Studio and the rest of the JetBrains family — on the roadmap, same classify/optimize API under the hood.
One command, four flows that match how you already work.
The IDE extension mirrors the browser experience: classify the prompt, optimise it, apply it. Without the context switch of opening ChatGPT.
Fix a prompt from the editor
Select text in any file — a prompt draft, a Markdown note, a template — right-click, pick “APF: Fix Selected Prompt”, and choose Replace, Insert below, Copy or Open in sidebar.
Command Palette flow
Cmd/Ctrl+Shift+P → APF shows every command. Open the Prompt Fixer tool window, set your API key, or fix the current selection in one keystroke.
Webview sidebar
The activity-bar panel hosts the same live coach you get in the browser: scores, tips, clarifying questions and a one-click apply.
Works with your own API
Point the extension at our hosted classify API, a self-hosted instance, or the local one you run in development — all via a single setting.
Everything in the palette.
Three commands cover the whole extension. Two are one-off, the third is the one you will keep coming back to.
| Command |
|---|
APF: Fix Selected Prompt Classifies and optimises the current selection, line or clipboard, then offers Replace / Insert below / Copy / Open in sidebar. |
APF: Open Prompt Fixer Focuses the Prompt Fixer panel so you can paste, iterate and apply rewrites. |
APF: Set Classifier API Key Stores the x-api-key in secure storage (per machine). Submit an empty value to clear it. |
Two knobs. Sane defaults.
apf.classifierBaseUrlBase URL of the classify API. /classify and /optimize are appended.
default: http://127.0.0.1:3001
apf.platformOptional tag sent with each request: chatgpt, claude, gemini, perplexity, copilot or unknown.
default: unknown
Saved in the editor secret storage (per machine). Clear them by running the Set API Key command with an empty value.
Same privacy story as the browser extension
The IDE extension sends only the prompt you explicitly select to the classify API. Prompt text is processed in-memory and never persisted. API keys live in the editor secret storage — never in your repo, never in settings.json.
Read the full privacy policyInstall & integration questions.
Ship better prompts without leaving your editor.
Prefer the browser? The Chrome, Edge and Firefox add-ons still cover every major AI chat tool.