gitnexus-cli

Index and analyze repositories by executing GitNexus CLI commands.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/ClyptAI/Clypt-Backend --skill gitnexus-cli-clyptai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitnexus-cli
Source: https://github.com/ClyptAI/Clypt-Backend/tree/main/.agents/skills/gitnexus/gitnexus-cli
Command: npx skills add https://github.com/ClyptAI/Clypt-Backend --skill gitnexus-cli-clyptai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GitNexus CLI simplifies managing and indexing repositories with a centralized CLI, enabling fast analysis, status checks, cleaning, wiki generation, and listing indexed repos directly from the command line.

Core Features & Use Cases

  • Analyze: Build or refresh the index using npx gitnexus analyze; parses all source files, builds the knowledge graph, writes it to .gitnexus/, and generates CLAUDE.md / AGENTS.md context files.
  • Status: Check index freshness with npx gitnexus status to see if the index exists and when it was last updated.
  • Clean: Delete the index with npx gitnexus clean; use --force to skip confirmation or --all to clean all indexed repos.
  • Wiki: Generate repository documentation from the graph using an LLM; requires an API key saved to ~/.gitnexus/config.json.
  • List: Show all repositories registered in ~/.gitnexus/registry.json; the MCP list tool provides the same information.

Quick Start

Run npx gitnexus analyze from your project root to build or refresh the repository index.

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 git repository and build a knowledge graph from source files?

To index a git repository and build a knowledge graph, run npx gitnexus analyze from your project root. This parses all source files, builds the graph, writes it to the .gitnexus directory, and generates CLAUDE.md and AGENTS.md context files.

What is the best way to check if my repository index is fresh or outdated?

The best way to check if your repository index is fresh is to run npx gitnexus status. This status command verifies if the index exists and displays exactly when it was last updated.

How do I generate wiki documentation for my repository using an LLM?

To generate wiki documentation for your repository, use the npx gitnexus wiki command. This requires an LLM API key saved to your ~/.gitnexus/config.json file to produce documentation directly from the indexed knowledge graph.

Do I need Node.js installed to run GitNexus CLI commands?

Yes, you need Node.js installed to run GitNexus CLI commands. The tool uses npx to execute commands without requiring a global installation, ensuring your local environment stays clean.

How can I list all repositories registered in my GitNexus registry?

To list all repositories registered in your GitNexus registry, use the npx gitnexus list command. It reads from ~/.gitnexus/registry.json to show all indexed projects across your system.

How do I delete a repository index and clean all indexed repos?

To delete a repository index, run npx gitnexus clean. You can use the --force flag to skip confirmation prompts, or add --all to clean every indexed repository registered in your system.