DEV Community

Cover image for Optimize your workflow with AI and save tokens!
Wanderley
Wanderley

Posted on

Optimize your workflow with AI and save tokens!

Have you ever stopped to think about how much each question you ask Copilot, Claude, or Cursor costs? 💸

Often, our AI configuration files (.cursorrules, CLAUDE.md, copilot-instructions.md) are bloated, duplicated, or poorly structured. The result? You spend thousands of tokens before you even finish your question.

Introducing AI Context Optimizer, https://marketplace.visualstudio.com/items?itemName=WanderleyFerreiradeAlbuquerque.context-optimizer, an extension for VS Code that acts as a health auditor for your AI's context.

🔍 What does it do?

  • Instant Audit (/audit): Identifies which instruction files are being loaded and how much they "cost" in tokens.

  • Optimization Plan (/optimize): Suggests exactly what to remove, what to extract, and how to restructure your files for maximum efficiency.

  • Savings Comparison (/compare): See how much you'll save before applying any changes.

  • Support for 15+ Tools: From GitHub Copilot and Claude Code to Cursor, Windsurf, and Aider.

🛡️ Privacy First:

The extension runs 100% locally. Zero telemetry, zero external network calls. It uses the VS Code language template API that you already have configured.

If you want faster, more accurate, and cheaper AI, the secret isn't just the prompt, but the context.

👉 Check out the project here: https://marketplace.visualstudio.com/items?itemName=WanderleyFerreiradeAlbuquerque.context-optimizer

Top comments (0)