gitnexus-cli

Analyze code repositories to build and refresh structured knowledge graphs.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/gerald-ica/opencode-config-snapshot --skill gitnexus-cli-gerald-ica
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitnexus-cli
Source: https://github.com/gerald-ica/opencode-config-snapshot/tree/main/opencode/skills/gitnexus-cli
Command: npx skills add https://github.com/gerald-ica/opencode-config-snapshot --skill gitnexus-cli-gerald-ica

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GitNexus CLI enables teams to build and maintain a structured index of code repositories by running a centralized CLI for indexing, monitoring, and documenting repos.

Core Features & Use Cases

  • Analyze: create or refresh the index for a repository, generating a knowledge graph and CLAUDE.md/AGENTS.md context.
  • Status/Clean: check index freshness and remove or refresh the index as needed; list indexed repos.
  • Wiki/Documentation: generate repository documentation from the graph to support onboarding and maintenance.
  • Use Case: Manage multiple repos with a single CLI to keep indices up to date and publish docs.

Quick Start

Analyze this repository with npx gitnexus analyze to build or refresh its index.

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 knowledge graph for a code repository?

To build a knowledge graph for a code repository, you can run the `npx gitnexus analyze` command, which indexes your project and generates structural insights along with CLAUDE.md or AGENTS.md context files.

What's the best way to keep repository indices up to date across multiple repos?

Keeping repository indices up to date across multiple repos involves running centralized status checks and clean commands via a CLI, allowing you to monitor index freshness and refresh the graph as needed.

Can I generate wiki documentation from a code repository knowledge graph?

Yes, you can generate wiki documentation from a code repository knowledge graph by running the wiki command, which produces docs to support project onboarding and maintenance.

How does a knowledge graph index help with software project management?

A knowledge graph index helps with software project management by structuring repository data into a centralized format, enabling status checks, documentation generation, and insights across multiple repos.

Do I need any dependencies to run GitNexus CLI commands?

You do not need additional dependencies to run GitNexus CLI commands, as the tool operates via `npx gitnexus` with an included MCP configuration and requires no external packages.

How do I check the freshness of a repository index?

To check the freshness of a repository index, run the status command via the CLI, which evaluates the current state of the knowledge graph and lists all indexed repositories.