gitnexus-cli

Build and refresh a GitNexus knowledge index for a local repository.

2|Updated May 15, 2026
One-click install
npx skills add https://github.com/lNwNl/Methodos --skill gitnexus-cli-lnwnl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitnexus-cli
Source: https://github.com/lNwNl/Methodos/tree/main/.claude/skills/gitnexus/gitnexus-cli
Command: npx skills add https://github.com/lNwNl/Methodos --skill gitnexus-cli-lnwnl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of understanding and navigating a codebase by quickly building an internal knowledge index and generating searchable, LLM-ready context and documentation.

Core Features & Use Cases

  • Indexing and re-indexing: Build or refresh the knowledge graph for a repository by parsing source files and writing outputs to .gitnexus/.
  • Index lifecycle management: Check freshness (status) and remove corrupted or unwanted indexes (clean), including cleaning all indexed repos.
  • Graph-derived documentation: Generate a repository wiki from the knowledge graph using an LLM, with optional model, base URL, API key, and concurrency controls.

Quick Start

Run the command to generate or refresh the repository index by using npx gitnexus analyze.

Frequently Asked Questions about gitnexus-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a knowledge graph for my local repository?

You can build a searchable knowledge index for a local repository by running `npx gitnexus analyze`, which parses source files and outputs a knowledge graph to the `.gitnexus/` directory for LLM-ready context.

What is the best way to create LLM-ready context from a codebase?

The best way to create LLM-ready context from a codebase is to build a knowledge graph using a repository indexing tool. This generates semantic search embeddings and symbol relationships that LLMs can easily consume.

How do I generate documentation for team onboarding from an existing knowledge graph?

Generate documentation for team onboarding by running the wiki workflow, which uses an LLM to create a repository wiki from your existing knowledge graph. You can configure the model, base URL, API key, and concurrency controls.

Can I check if my repository index is stale after major code changes?

You can check if your repository index is stale after major code changes by running the status workflow. This checks the freshness of your current knowledge graph to determine if re-indexing is required.

How do I clean a corrupted knowledge graph index?

You can clean a corrupted knowledge graph index by running the clean workflow. This removes corrupted or unwanted indexes, and supports an optional flag to clean all indexed repositories at once.

Do I need to regenerate the entire knowledge graph manually after updating code?

You do not need to manually regenerate the entire knowledge graph manually after updating code. The analyze workflow supports regeneration control flags, allowing you to refresh specific contexts or embeddings efficiently.