gitnexus-cli

Index repository knowledge graphs and generate CLAUDE.md and AGENTS.md context files.

1|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/anicdh/agstack --skill gitnexus-cli-anicdh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitnexus-cli
Source: https://github.com/anicdh/agstack/tree/main/.claude/skills/gitnexus/gitnexus-cli
Command: npx skills add https://github.com/anicdh/agstack --skill gitnexus-cli-anicdh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GitNexus CLI simplifies indexing a repository to automatically build a knowledge graph and generate in-repo context files used by Claude for AI-assisted development.

Core Features & Use Cases

  • Analyze: Build or refresh the index by running npx gitnexus analyze to create the knowledge graph in .gitnexus/ and to generate CLAUDE.md and AGENTS.md context files.
  • Status: Check index freshness to determine if re-indexing is needed.
  • Clean: Delete the local index and unregister the repo from the global GitNexus registry.
  • Wiki: Generate repository documentation from the graph for documentation and onboarding.
  • List: Show all repositories registered in the GitNexus registry.

Quick Start

Index this repository with GitNexus to build the knowledge graph and produce 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 check if my repository knowledge graph needs to be refreshed?

Check repository index freshness by running npx gitnexus status. This queries the local knowledge graph and global GitNexus registry to report whether your codebase requires re-indexing.

Does GitNexus CLI require any specific dependencies to index a codebase?

You can generate repository documentation by running npx gitnexus wiki. This command uses the indexed knowledge graph in the .gitnexus directory to produce wiki-style documentation suitable for onboarding and reference.

How do I remove a repository from the GitNexus registry and delete its index?

Run npx gitnexus clean to delete the local knowledge graph from the .gitnexus directory and unregister the repository from the global GitNexus registry, completely removing its tracked indexing data.

Can I list all repositories tracked by GitNexus across my system?

Yes, run npx gitnexus list to display all repositories registered in the global GitNexus registry. This provides a complete overview of every codebase currently indexed and tracked by the CLI.