gitnexus-cli

Run GitNexus CLI commands to analyze and index code repository knowledge graphs.

1|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/hbvg234/jnmt.vn --skill gitnexus-cli-hbvg234
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitnexus-cli
Source: https://github.com/hbvg234/jnmt.vn/tree/main/Claude-code/.claude/skills/gitnexus/gitnexus-cli
Command: npx skills add https://github.com/hbvg234/jnmt.vn --skill gitnexus-cli-hbvg234

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing repository knowledge graphs with GitNexus CLI requires running multiple commands and tracking index state across projects. This Skill centralizes those tasks to simplify indexing, status checks, wiki generation, and repo listing.

Core Features & Use Cases

  • Run analyze to build or refresh the index and generate CLAUDE.md and AGENTS.md context files.
  • Use status and clean to manage and verify index freshness and integrity.
  • Generate documentation with wiki and list indexed repos for quick overview.
  • Use Case: When onboarding a new project, analyze to initialize the knowledge graph and create CLAUDE.md context.

Quick Start

From the project root, run npx gitnexus analyze to build the index and generate CLAUDE.md and AGENTS.md context files.

Frequently Asked Questions about gitnexus-cli

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

FAQPage Schema
How do I index a repository and generate context files for AI agents?

To index a repository and generate context files, run npx gitnexus analyze from your project root. This builds the knowledge graph in the .gitnexus/ directory and generates CLAUDE.md and AGENTS.md context files for AI agents.

What is a repository knowledge graph and when do I need to refresh it?

A repository knowledge graph is a structured index of your codebase stored in the .gitnexus/ directory. You need to refresh it when your code changes and context files require updating to reflect the latest project state.

Can I check the status and integrity of my code index without rebuilding it?

Yes, you can check index status and integrity without a full rebuild. Running the status command verifies index freshness, while the clean command helps manage and validate the overall integrity of your repository knowledge graph.

Does GitNexus CLI support incremental updates for large code repositories?

Yes, GitNexus CLI supports incremental updates for large code repositories. Execution through npx supports specific flags for incremental updates and embeddings, allowing you to refresh the index without processing the entire codebase.

What's the best way to generate wiki documentation from an indexed codebase?

The best way to generate wiki documentation from an indexed codebase is to run the wiki command after initializing your repository knowledge graph. This uses the existing index to produce comprehensive documentation for your project.

Why is my repository knowledge graph not reflecting recent code changes?

Your repository knowledge graph may not reflect recent code changes if the index is stale. Run the status command to verify index freshness, then execute analyze with incremental update flags to rebuild the index and regenerate CLAUDE.md.