Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>VacuumPromptsNew to Visual Studio Code? Get it now.
VacuumPrompts

VacuumPrompts

VacuumPrompts

| (0) | Free
Free AI token reducer for GitHub Copilot, Codex and ChatGPT
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VacuumPrompts for VS Code

Free AI token reducer for GitHub Copilot, Codex and ChatGPT.

This extension connects VS Code to the free VacuumPrompts app for Windows. The app trims wasted tokens from your prompts and redacts secrets before they leave your PC. The extension lets you do the same with any text you select in the editor, and shows whether the app is running.

You need the VacuumPrompts app. The extension does no optimizing of its own: it sends your selection to the app running on your computer. Download VacuumPrompts for Windows (free).

Token savings: a ChatGPT prompt trimmed from 90 to 82 tokens with the filler struck out

What it does

  • Status bar: VacuumPrompts: on, off, paused or not installed. Click it to open the app, start it, or get the download link.
  • VacuumPrompts: Optimize Selection corrects and compresses the selected prompt.
  • VacuumPrompts: Correct Wording fixes spelling and wording only. Hindi and Hinglish are kept as written.
  • VacuumPrompts: Copy Accepted Prompt copies the last prompt you accepted.
  • VacuumPrompts: Open Requests View opens the app on its Requests page, where every Copilot, Codex and ChatGPT request it handled is listed with its token count.

Optimize Selection and Correct Wording are also on the editor's right-click menu when text is selected.

Spelling correction shown side by side in the VacuumPrompts app

Review before you copy

Nothing changes without your say-so:

  1. Select a prompt and run Optimize Selection or Correct Wording.
  2. Pick a target profile, language and format.
  3. VS Code opens a read-only diff of your text and the app's version, with the token counts before and after.
  4. Choose Accept, Accept and Copy or Reject.

Only an accepted preview can be copied. Editing a document, changing settings or starting a new review clears it. The extension never edits your files and never sends anything to Copilot Chat itself: pasting is up to you. Token counts describe the selected text, not Copilot's full request or your bill.

Secret redaction: an email, phone number and API key replaced with placeholders

Privacy

  • The extension talks only to the VacuumPrompts app on 127.0.0.1 (port 4318). It makes no other network requests and sends no telemetry.
  • It reads the app's local access key from %LOCALAPPDATA%\VacuumPrompts\config, so only programs running as you can use it.
  • Secrets the app recognises (API keys, passwords, emails, phone numbers) are replaced with placeholders in its version, so the text you copy leaves them out.
  • Previews live in memory only and are gone when VS Code closes.

Requirements

  • Windows 10 or 11 with the VacuumPrompts app installed and running.
  • A local VS Code window. Remote (SSH, WSL, containers), Codespaces and vscode.dev are not supported, because the app runs on your own PC.

Settings

Setting Default What it does
vacuumprompts.port 4318 The app's local port. Change it only if you changed the app's port.

Help

Guides · Help · Report a problem

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