What is CodeMD.dev, in plain terms?
CodeMD.dev reads your repository, extracts the facts (structure, callgraph, file relationships, UI flows), and writes them into one file: CODE.md. Drop that file into your repo and every AI coding agent that reads it starts from the truth instead of guessing.
At a glance
The moving parts, in one table.
| Part | What it is | What it gives the agent |
|---|---|---|
| CODE.md | One generated markdown file describing your repo. | A factual starting map instead of a blank page. |
| Callgraph | Function and class call relationships, extracted by parsing source directly. | Who calls what, without reading every file. |
| File graph | Cross-file import and dependency relationships. | Which files are safe to touch together. |
| UI graph | Buttons, forms, links, and routes mapped to the code that handles them. | A path from what the user clicks to the code that runs. |
| Dashboard | Where you connect a repo, run analysis, and generate CODE.md. | One place to create and refresh the bundle. |
| Search | Ask a plain-English question about the repo from the dashboard. | An answer grounded in the same extracted evidence, with citations. |
Core concept
One idea, explained twice.
AI coding agents are only as good as the context they start with. Left alone, an agent has to rediscover your repository's structure every single session: scan files, open likely candidates, trace imports, and guess what matters.
CodeMD.dev does that discovery once, from the actual source code (not from an LLM's guess), and writes the
result into CODE.md: architecture, callgraph, file graph, UI
graph, TODOs, and known gaps. Commit it to your repo, reference it from AGENTS.md
or CLAUDE.md, and every agent session after that starts with facts
instead of exploration.
Why use it
Useful when AI-assisted work starts to feel slow, repetitive, or ungrounded.
- ✓Cuts repeated repo exploration, so agents spend fewer turns and fewer tokens finding their footing.
- ✓Reduces hallucinated file paths, function names, and architecture assumptions.
- ✓Gives every agent — Codex, Claude, Cursor, Copilot — the same factual starting point.
- ✓Speeds up onboarding for new developers reading the codebase for the first time.
- ✓Surfaces TODOs, gaps, and highly-connected "risky" functions directly from evidence, not opinion.
- ✓Refreshable: regenerate CODE.md any time the repo changes so context never goes stale.
Deployment diagram
How CODE.md gets built and lands back in your repository.
Runtime diagram
What happens after CODE.md exists, in two everyday paths.
@CODE.md
Setup
Five steps, no installation required to get your first CODE.md.
@CODE.md
Benefits
What actually changes once CODE.md is in the repo.
Generate your first CODE.md
No training, no runtime access, and no LLM summaries required for the truth layer — just point CodeMD.dev at your repo.
Generate CODE.md now