What problem does it solve?
GitNexus CLI simplifies managing and indexing repositories with a centralized CLI, enabling fast analysis, status checks, cleaning, wiki generation, and listing indexed repos directly from the command line.
Core Features & Use Cases
- Analyze: Build or refresh the index using npx gitnexus analyze; parses all source files, builds the knowledge graph, writes it to .gitnexus/, and generates CLAUDE.md / AGENTS.md context files.
- Status: Check index freshness with npx gitnexus status to see if the index exists and when it was last updated.
- Clean: Delete the index with npx gitnexus clean; use --force to skip confirmation or --all to clean all indexed repos.
- Wiki: Generate repository documentation from the graph using an LLM; requires an API key saved to ~/.gitnexus/config.json.
- List: Show all repositories registered in ~/.gitnexus/registry.json; the MCP list tool provides the same information.
Quick Start
Run npx gitnexus analyze from your project root to build or refresh the repository index.