Context Builder
Command-line tool that packs a codebase into one markdown file for LLMs
Context Builder is a command-line tool that turns a code directory into a single structured markdown file. It is meant for developers who want to give a large codebase to a language model without pasting files one by one.
The output orders files by relevance and includes code signatures extracted with Tree-Sitter, so the structure of the code is visible without every line. It can budget the number of tokens and truncate files in place to fit a limit. The tool is written in Rust, released under the MIT license, and the source code is public. The facts list Windows as the platform.
Alternatives to Context Builder
Products that do a similar job in Developer Tools.
rtk
Command-line proxy that trims dev command output before it reaches an LLM
Kiro
AI-assisted IDE for building software from written specs
opencodex
Local proxy that lets Codex and Claude Code use other LLM providers
codeburn
Local CLI that tracks token usage and cost of AI coding agents
Zed
A code editor built for fast editing and real-time collaboration
GitButler
Git client for working on several branches at the same time
Repomix
Packs a code repository into one file for AI tools
claude-hud
Status line showing context usage, active tools and agents for Claude Code