gitnexus-cli

Build and refresh GitNexus indexes and generate context files via npx.

Updated Dec 15, 2025
One-click install
npx skills add https://github.com/fpt-devteam/app-backtrack --skill gitnexus-cli-fpt-devteam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitnexus-cli
Source: https://github.com/fpt-devteam/app-backtrack/tree/main/.agents/skills/gitnexus/gitnexus-cli
Command: npx skills add https://github.com/fpt-devteam/app-backtrack --skill gitnexus-cli-fpt-devteam

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GitNexus CLI commands help developers manage repository indexing and documentation quickly via a simple, no-global-install workflow.

Core Features & Use Cases

  • Analyze: build or refresh the repository knowledge index.
  • Status: check index freshness and registry state.
  • Clean: delete the index and reset the registry.
  • Wiki: generate documentation from the knowledge graph.
  • List: show all repositories registered in the local registry.
  • Output: generates CLAUDE.md and AGENTS.md context files for downstream AI agents.

Quick Start

Run a full index on your project by invoking npx gitnexus analyze 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 documentation and an index for my codebase without a global install?

Using npx gitnexus analyze from the project root parses source files and builds a knowledge index without requiring a global install. It automatically generates CLAUDE.md and AGENTS.md context files for downstream AI agents.

What are CLAUDE.md and AGENTS.md context files used for in repository indexing?

CLAUDE.md and AGENTS.md context files are generated during repository indexing to provide downstream AI agents with structured knowledge about the codebase. They are created by parsing source files into a knowledge graph.

How do I check the freshness of a repository knowledge index?

To check the freshness of a repository knowledge index, run the status command via the CLI. This checks the current index state and local registry to determine if your codebase documentation needs refreshing.

Can I generate a wiki from my codebase knowledge graph using npx?

Yes, you can generate a wiki from your codebase knowledge graph by running the wiki command via npx. This creates repository documentation directly from the indexed source files without requiring a global package installation.

How do I reset the repository index and local registry?

To reset the repository index and local registry, run the clean command. This deletes the existing .gitnexus index and resets the registry state entirely, allowing you to rebuild the codebase documentation from scratch.

Does the GitNexus CLI workflow require any dependencies to run?

The GitNexus CLI workflow requires no dependencies or global installations to run. It operates entirely through npx to parse source files, update the .gitnexus index, and generate context files across project roots.