gitnexus-cli

Analyze repositories, check index freshness, clean corrupted indexes, and generate LLM wikis via GitNexus CLI.

161|2|Updated May 7, 2026
One-click install
npx skills add https://github.com/mirkobozzetto/flowflow --skill gitnexus-cli-mirkobozzetto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitnexus-cli
Source: https://github.com/mirkobozzetto/flowflow/tree/main/.agents/skills/gitnexus/gitnexus-cli
Command: npx skills add https://github.com/mirkobozzetto/flowflow --skill gitnexus-cli-mirkobozzetto

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the problem of getting an up-to-date, queryable codebase knowledge graph without manually running complex tooling or guessing which files need reindexing.

Core Features & Use Cases

  • Analyze / Index: Build or refresh the knowledge graph and generate context files for downstream use.
  • Status / Freshness Checks: Confirm whether the repo index exists and whether it is stale.
  • Clean / Reset: Remove a corrupt index and re-register the repo cleanly when needed.
  • Wiki Generation: Produce LLM-generated documentation from the knowledge graph, optionally publishing via a Gist.
  • List Indexed Repos: Enumerate what repositories are registered in the local registry for management and retrieval.

Quick Start

Run this Skill from inside the target project root to index it by having the assistant execute the command: 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 build a codebase knowledge graph for repository indexing?

To build a codebase knowledge graph, run the command-line tool via npx to analyze your project root, which indexes files into a .gitnexus directory and generates context files for downstream use.

How do I check if my repository index is stale or needs reindexing?

You can check repository index staleness by running a status command via the GitNexus CLI, which verifies whether the existing knowledge graph index exists and identifies if it requires a fresh analysis.

Can I generate LLM documentation from a code knowledge graph?

Yes, you can generate LLM documentation by invoking the wiki generation command, which produces docs from the knowledge graph and optionally publishes them via a Gist using an API key.

How do I clean a corrupted repository index?

To clean a corrupted repository index, use the reset command to remove the corrupt index data and re-register the repository cleanly for a fresh knowledge graph build.

Do I need an API key for code analysis and embedding generation?

An API key is not required for standard code analysis or optional embedding generation flags, but you must provide one if you want to publish LLM-generated wiki documentation to a Gist.

What is the best way to manage multiple indexed repositories locally?

The best way to manage indexed repositories is using the list command, which enumerates all registered projects in the local registry so you can track and retrieve their knowledge graphs.