How 1avishek/codebase-visualizer works
Codebase Visualizer is a local CLI and Codex skill that analyzes a chosen repository and produces an evidence-backed architecture map. Its central workflow runs from a user invoking the tool, through repository analysis, to generated artifacts viewed locally. The README also documents focus and snapshot-comparison modes, broad static-analysis coverage, and skill installation. The analyzer is one substantial source file; its internal phases are not expanded into call relationships because the excerpts do not establish those links.
Main entry points: analyze_codebase.py Repository analyzer · visualize.py CLI entry · install.py Skill installer · viewer-template.html Interactive HTML viewer
Components 13
Entry points
- CLI entry
visualize.py
Repository analysis
- Repository analyzer
scripts/analyze_codebase.py - Repository scanning
scripts/analyze_codebase.py - Static analysis
scripts/analyze_codebase.py - Evidence and relationships
scripts/analyze_codebase.py - Flow analysis
scripts/analyze_codebase.py - Snapshot comparison
scripts/analyze_codebase.py
Map and results
- Generated map files
scripts/analyze_codebase.py - Interactive HTML viewer
assets/viewer-template.html - Markdown and diagrams
scripts/analyze_codebase.py
Codex skill
- Codex skill package
SKILL.md - Skill installer
install.py
Other components
- Repository owner
Connections 12
- Repository owner → CLI entry: runs
README.md - CLI entry → Repository analyzer: invokes
visualize.py - Repository analyzer → Repository scanning: analyzes repository
README.md - Repository scanning → Static analysis: examines source
README.md - Static analysis → Evidence and relationships: identifies relationships
README.md - Evidence and relationships → Flow analysis: supports flow views
README.md - Repository analyzer → Snapshot comparison: compares snapshots
README.md - Repository analyzer → Generated map files: writes map
README.md - Generated map files → Interactive HTML viewer: opens locally
README.md - Repository analyzer → Markdown and diagrams: generates summaries
README.md - Repository owner → Skill installer: installs skill
README.md - Skill installer → Codex skill package: copies package
install.py