Skip to content
| Marketplace
Sign in
Visual Studio Code>Machine Learning>AI Context PackerNew to Visual Studio Code? Get it now.
AI Context Packer

AI Context Packer

Vali Reyimbergenov

|
2 installs
| (0) | Free
Pack workspace files into clean, token-counted AI prompts for Claude, ChatGPT, and Gemini with smart dependency auto-select, secret redaction, and auto-chunking.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AI Context Packer

Pack your workspace files into clean, token-counted AI prompts for Claude, ChatGPT (GPT-4o), and Gemini directly from the VS Code Activity Bar.

Features

Free Tier

  • Native Activity Bar Panel: Clean, VS Code theme-aware UI (Dark & Light mode).
  • Smart Workspace File Tree: Automatically respects .gitignore and excludes node_modules, .git, dist, build, lockfiles, and binary assets.
  • Quick Search & Folder Checkboxes: Select/deselect up to 5 files at once with instant filtering.
  • Live Token Counter & Model Fit Bar: Real-time estimated tokens (Math.ceil(chars / 4)) with live compatibility indicators for:
    • Claude (200k)
    • ChatGPT / GPT-4o (128k)
    • Gemini (1M)
  • Clean Output Formatting: Generates an ASCII directory tree at the top followed by relative path headers and syntax-highlighted fenced code blocks.
  • Built-in Prompt Wrappers:
    • None (Raw Context)
    • Find Bugs & Edge Cases
    • Refactor & Clean Code
    • Write Unit Tests
    • Explain Architecture
  • One-Click Copy to Clipboard with visual confirmation.

Pro Tier ($9.99 Lifetime via Gumroad)

  • Unlimited File Selection: Pack as many files as you need with no 5-file cap.
  • Smart Dependency Auto-Select (+ Imports): Parses relative import / require statements in selected JS/TS/Python files and automatically selects their local dependencies.
  • Auto-Redact Secrets: Automatically masks .env values, API keys, tokens, private keys, and password strings (***REDACTED***) before copying or exporting.
  • Smart Auto-Chunking: Splits large contexts exceeding your chosen token limit (30k, 60k, or 100k tokens) into numbered parts (Part 1/N, Part 2/N, ...) with individual one-click copy buttons.
  • Export to .md / .txt: Save the packed prompt directly to a Markdown or plain text file.

Getting Started

  1. Open any project folder in VS Code.
  2. Click the AI Context Packer icon in the Activity Bar.
  3. Check the files or folders you want to include.
  4. Pick an optional prompt template and click Copy to Clipboard.

Upgrading to Pro

  1. Purchase a lifetime license at valireyimbergenov.gumroad.com/l/ai-context-packer.
  2. Click the License / Pro button in the AI Context Packer sidebar.
  3. Paste your Gumroad license key and click Verify & Activate.

License

MIT

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