One-click install
npx skills add https://github.com/anukkrit149/anukkrit-skills --skill gitnexus-cli-anukkrit149
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitnexus-cli
Source: https://github.com/anukkrit149/anukkrit-skills/tree/main/cloud/skills/gitnexus-cli
Command: npx skills add https://github.com/anukkrit149/anukkrit-skills --skill gitnexus-cli-anukkrit149

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of turning a large codebase into an explorable knowledge graph that Claude Code can reference without manual documentation work.

Core Features & Use Cases

  • Indexing and Reanalysis: Build or refresh a GitNexus index for a repository (writes .gitnexus/ and generates CLAUDE.md / AGENTS.md context).
  • Freshness Checking: Verify whether the current repo’s index is present and up to date.
  • Graph-Based Documentation: Generate a repository wiki from the knowledge graph using an LLM (optionally with a public Gist).
  • Indexed Repo Management: List indexed repos and clean indices when rework or corruption occurs.

Quick Start

Use gitnexus-cli to index your current repository by running the analyze command from the project root.

Frequently Asked Questions about gitnexus-cli

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

FAQPage Schema
How do I generate wiki documentation from a codebase automatically?

To generate wiki documentation from a codebase, you can index your repository into a knowledge graph and use an LLM API key to create wiki docs. This builds a repository wiki from graph relationships without manual documentation work.

What is a knowledge graph for AI context and when do I need one for my repository?

A knowledge graph for AI context is an indexed representation of your source code that Claude Code can reference. You need to build or refresh this graph during first-time codebase setup or after major code changes to maintain accurate context.

How do I index a git repository for AI context using npx?

To index a git repository for AI context with npx, run the analyze command from within the project root. This builds the GitNexus index, writes the .gitnexus directory, and generates CLAUDE.md and AGENTS.md context files.

Can I check if my repository index is present and up to date?

Yes, you can check if your repository index is present and up to date by running a freshness check. This verifies whether the current repo's knowledge graph index requires reanalysis to match the latest code changes.

Do I need an LLM API key to index a repository into a knowledge graph?

You do not need an LLM API key to index a repository into a knowledge graph. The LLM API key is only optional and specifically required for the downstream wiki generation step from the graph relationships.

How do I clean corrupted repository indices and manage indexed repos?

To clean corrupted repository indices and manage indexed repos, use the indexed repo management commands. You can list indexed repositories and clean indices when rework is needed or corruption occurs to prepare for a fresh analysis.