Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>YOGIWAY Compress for AINew to Visual Studio Code? Get it now.
YOGIWAY Compress for AI

YOGIWAY Compress for AI

yogiji

| (0) | Free
Compress code context for AI assistants (Cursor, Windsurf, ChatGPT) - Save 40-50% on tokens! One-click compression with keyboard shortcuts.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

YOGIWAY Compress for AI

One-click compression for AI assistants - Save 40-50% on tokens when using Cursor, Windsurf, ChatGPT, or any AI coding assistant!

🚀 Features

⚡ One-Click Compression

  • Compress Selection - Select code, compress, paste in AI chat
  • Compress File - Compress entire file with one command
  • Compress All Open Files - Compress all open files at once
  • Compress Project - Compress entire project structure

⌨️ Keyboard Shortcuts

  • Cmd+Shift+Y (Mac) / Ctrl+Shift+Y (Windows) - Compress selection
  • Cmd+Alt+Y (Mac) / Ctrl+Alt+Y (Windows) - Compress file

📋 Auto-Copy to Clipboard

All compressed output is automatically copied to clipboard - just paste in your AI chat!

💰 Cost Savings

Example:

  • Original: 50KB code = 12,500 tokens = $0.125
  • Compressed: 25KB = 6,250 tokens = $0.0625
  • Savings: 50% = $0.0625 per request

For 1,000 requests/day:

  • Daily savings: $62.50
  • Monthly savings: $1,875
  • Yearly savings: $22,500!

📖 Usage

1. Compress Selection

  1. Select code in editor
  2. Press Cmd+Shift+Y (or right-click → "YOGIWAY: Compress Selection for AI")
  3. Paste in Cursor/Windsurf/ChatGPT chat

2. Compress File

  1. Open any file
  2. Press Cmd+Alt+Y (or Command Palette → "YOGIWAY: Compress File for AI")
  3. Paste in AI chat

3. Compress Project

  1. Command Palette (Cmd+Shift+P)
  2. Type "YOGIWAY: Compress Project Structure"
  3. Wait for compression (shows progress)
  4. Paste in AI chat

4. Compress All Open Files

  1. Command Palette (Cmd+Shift+P)
  2. Type "YOGIWAY: Compress All Open Files"
  3. Paste in AI chat

🎯 Why YOGIWAY?

  • 40-50% token reduction on average
  • Ultra-compact format designed for LLM prompts
  • Handles deeply nested structures efficiently
  • Preserves code structure and readability
  • Works with any AI assistant (Cursor, Windsurf, ChatGPT, Claude, etc.)

🔧 Requirements

  • VS Code 1.60.0 or higher

📝 License

MIT

🔗 Links

  • Repository: GitHub
  • Issues: GitHub Issues
  • Documentation: Full Documentation

🙏 Support

If you find this extension helpful, please consider:

  • ⭐ Starring the repository
  • 🐛 Reporting bugs
  • 💡 Suggesting features
  • 📢 Sharing with others

Made with ❤️ for developers who want to save on AI costs

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