CodeAtlas is a practical skill that turns a GitHub repository URL or local repository path into an architecture-level relationship map. It outputs a self-contained codeatlas.html (local file:// friendly), plus module-map.json and summary.md in one run.
| This project is | This project is not |
|---|---|
| A lightweight skill for module-level architecture mapping | A full static-analysis platform |
A single-run output contract (HTML + JSON + Summary) |
A heavy multi-stage pipeline |
A local-open visualization workflow (no runtime fetch) |
A server-dependent visualization app |
| A practical skill for Codex / Claude-style usage | A private-repo auth workflow (v1) |
| Feature | What it gives you |
|---|---|
| GitHub URL or local path input | Analyze public repos or local folders directly |
| Architecture-level graph | Focus on module-to-module relationships, not noisy function-level calls |
| Single-file HTML output | Open directly via file://.../codeatlas.html |
| Dual SVG graph views | Layered relationship graph + detailed project framework flow graph in one file |
| Framework flow details table | Cross-layer relation mix, route examples, and impact hints for architecture discussions |
| Beginner-friendly explanation layer | Module cards and relation table include plain-language guidance |
| Embedded JSON data contract | Stable module-map.json and embedded id="codeatlas-data" |
| Multi-platform validation loop | Repeat across opencode and codex, log each attempt |
| Failure-oriented iteration | Track bad cases and improve the skill contract |
| vLLM Case | Transformers Case A | Transformers Case B |
|---|---|---|
![]() |
![]() |
![]() |
- Public GitHub URL:
https://github.com/<owner>/<repo> - Local repository path
No manual download is required when you provide a GitHub URL.
CodeAtlas can fetch the repository into a temporary workspace and analyze it directly.
outputs/skill-runs/<run-id>/
codeatlas.htmlmodule-map.jsonsummary.md
codeatlas.html requirements:
- single file
- contains
<script id="codeatlas-data" type="application/json"> - no runtime
fetch() - no external
<script src="http(s)://...">or<link href="http(s)://..."> - includes layered relationship SVG graph with legend
- includes project framework flow SVG graph below the relationship graph
- includes framework flow details table (relation mix + examples + impact hints)
- relation area includes a beginner explanation column
{
"project": "string",
"source": "string or object",
"modules": [{ "name": "string", "role": "string" }],
"relations": [
{
"source": "string",
"target": "string",
"type": "imports|depends_on|calls|runtime_flow",
"reason": "string"
}
],
"entrypoints": ["string"]
}- Resolve source (GitHub URL or local path).
- Build module map from folder structure + imports.
- Generate
module-map.json. - Render
codeatlas.htmlwith embedded JSON, layered relationship graph, and framework flow graph. - Write
summary.md(conclusion, key relations, risks). - Validate output constraints before finish.
mkdir -p ~/.codex/skills/codeatlas
cp -R . ~/.codex/skills/codeatlasmkdir -p ~/.claude/skills/codeatlas
cp -R . ~/.claude/skills/codeatlasmkdir -p .codex/skills/codeatlas
cp -R . .codex/skills/codeatlasUse $codeatlas to analyze this repository and output files under outputs/skill-runs/<run-id>/:
- codeatlas.html
- module-map.json
- summary.md
Source: <GitHub URL or local path>
Constraints:
- architecture-level module relations
- codeatlas.html must be single-file with embedded codeatlas-data
- include layered relation graph + framework flow graph
- include beginner-friendly explanations
- no fetch, no external script/link URLsHigh-quality showcase runs:
outputs/skill-runs/vllm-codex-fast-medium-attempt-13/outputs/skill-runs/sglang-codex-fast-medium-attempt-14/outputs/skill-runs/transformers-codex-fast-medium-attempt-15/
Iteration log:
- local only (ignored):
logs/attempts.md
code_atlas/
|-- SKILL.md
|-- README.md
|-- README_ZH.md
|-- agents/openai.yaml
|-- assets/
| `-- codeatlas-single-file-template.html
|-- references/
| |-- input-output.md
| |-- html-requirements.md
| `-- attempt-checklist.md
|-- scripts/
| `-- new-run-id.sh
|-- outputs/
| `-- skill-runs/
`-- LICENSE
Suggested short About text:
Lightweight skill that turns a GitHub repo or local codebase into a single-file HTML architecture graph (plus JSON + summary).
Suggested Topics:
skills, codex, claude-code, code-analysis, architecture, knowledge-graph, html-visualization, repository-mapping
MIT. See LICENSE.


