What problem does it solve?
GitNexus CLI helps you build and maintain a searchable knowledge index of a codebase so you can quickly inspect structure, freshness, and derived documentation.
Core Features & Use Cases
- analyze (index build/refresh): Parse source files, build a knowledge graph, write it to
.gitnexus/, and generate CLAUDE.md and AGENTS.md context artifacts.
- status (index freshness checks): Verify whether an index exists, when it was last updated, and key counts so you know if re-indexing is needed.
- wiki (graph-to-documentation generation): Generate repository documentation from the knowledge graph using an LLM, optionally using flags like model selection, concurrency, and gist publishing.
- clean and list (index management): Remove corrupted indexes or unregister repos, and list all indexed repositories from the registry.
Quick Start
Run npx gitnexus analyze from the project root to build or refresh the GitNexus index for this repository.