Instantly copy your workspace structure and file contents to the clipboard, formatted perfectly for LLM context.
Repo2AIContext provides a performant sidebar view to scan large repositories, estimate token counts, and select exactly what you need to share with your AI coding assistant.
✨ Features
📸 One-Click Capture: Generates a text bundle containing your directory tree and file contents, ready to paste into ChatGPT, Claude, or local LLMs.
⚡ Live Sidebar: Browse your file tree with tri-state checkboxes.
🧮 Token & Char Counters: Real-time estimates (~1 token ≈ 4 chars) per file and folder to help you stay within context windows.
VX Smart Filtering: Automatically respects .gitignore, skips binary files, and ignores heavy directories (node_modules, .git, dist) to keep the UI snappy.
🔒 Privacy Focused: Operations happen entirely in memory. Nothing is written to disk; data goes straight to your clipboard.
⚙️ Inline Blacklisting: Quickly exclude specific file names or extensions directly from the sidebar settings.
🚀 Usage
Open the Repo2AIContext view in the Activity Bar (📸 icon).
Select the files or folders you want to include. Watch the token counters update in real-time.
Click Capture.
Paste the result into your LLM chat.
📝 Output Format
The copied text is structured to be easily parsed by AI models: