xtage

Make any codebase
instantly legible to Claude.

Indexes your repo into structured Markdown — CODEINDEX.md, REPO.md, per-file chunks. Claude reads the index, not the source.

🗺

CODEINDEX.md

A structured map of every file by purpose, module, and layer. Claude reads the index to navigate without loading raw source into context.

✂️

Per-file chunks

Long files are split and stored separately under ~/xtage/{repo}/, keeping context windows lean when diving into specific areas.

📖

REPO.md + PROJECTINSIGHTS.md

High-level repo narrative and cross-cutting patterns in two dedicated files — fast orientation without reading every source file.

📁

Works with any repo

No framework dependency. Point xtage at any directory and run index. Outputs live outside the repo so they don't pollute your project.

Get started

Index any local repo in one command.

xtage index .