Skip to content
| Marketplace
Sign in
Visual Studio Code>Machine Learning>Unified LLM Context BuilderNew to Visual Studio Code? Get it now.
Unified LLM Context Builder

Unified LLM Context Builder

Bechattaoui

|
6 installs
| (1) | Free
Aggregate workspace files, web docs, and git repos into token-optimized LLM context.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Unified LLM Context Builder

A highly optimized Visual Studio Code extension designed to aggregate, process, and format varied repository and web documentation sources into unified, token-efficient Markdown payloads tailored for Large Language Model (LLM) agents.

Overview

Modern agentic programming workflows require extensive cross-repository context. Unified LLM Context Builder provides a native interface to select specific file paths, traverse deep workspace trees, extract pure content from live web references, and interface directly with remote GitHub repositories—packaging the accumulated output into structured Markdown pre-calculated for token constraints.

Core Capabilities

Multi-Source Interactive Aggregator

Operates via a persistent session loop inside the Quick Pick menu interface, enabling incremental accumulation of multiple distinct data sources before generating the final output.

Advanced Ignored Path Evaluation

Integrates a robust traversal engine that recursively reads and applies rules from nested .gitignore files. Automatically omits binaries, compiled artifacts (node_modules, dist, bin, obj), and repository metadata storage.

Web Documentation Parser

Accepts live HTTP/HTTPS documentation links, dynamically extracting structural content blocks (<article>, <main>) while stripping out navigation bars, footers, ad frames, and tracking scripts to yield clean, semantic Markdown.

Remote GitHub API Integration

Interfaces directly with the public GitHub REST API to securely query repository folder structures and download raw text file sources on demand without local cloning.

Real-Time Token Projections

Integrates native character-based heuristics to calculate and display real-time token projections dynamically within the workspace UI, preventing context-window overload.

Installation & Usage

  1. Launch the Visual Studio Code Command Palette (Cmd+Shift+P on macOS or Ctrl+Shift+P on Windows/Linux).
  2. Execute the command: Unified Context: Generate LLM Context.
  3. Select your desired input streams (Workspace Folders, Custom Paths, Web URLs, or GitHub Repositories).
  4. Export the pre-compiled context via Copy Context to Clipboard or Save Context to File....

License

Distributed under the MIT License. See LICENSE for more information.

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