gitnexus-cli

Index or refresh a repository's knowledge graph via GitNexus CLI.

Updated Oct 25, 2025
One-click install
npx skills add https://github.com/shaythegay13/serenity-pocket-app-final --skill gitnexus-cli-shaythegay13
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitnexus-cli
Source: https://github.com/shaythegay13/serenity-pocket-app-final/tree/main/.claude/skills/gitnexus/gitnexus-cli
Command: npx skills add https://github.com/shaythegay13/serenity-pocket-app-final --skill gitnexus-cli-shaythegay13

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GitNexus CLI commands help you manage repository indexing and knowledge graphs from the command line, reducing manual repository analysis time.

Core Features & Use Cases

  • Analyze — Build or refresh the index to generate .gitnexus context and knowledge graphs for quick querying.
  • Status & Clean — Check index freshness and remove damaged or outdated indexes.
  • Wiki / List — Generate documentation from the graph or list indexed repos for oversight.
  • Example: Use npx gitnexus analyze in a project to initialize or update the knowledge index for fast navigation.

Quick Start

From the project root, run npx gitnexus analyze to build the knowledge index.

Frequently Asked Questions about gitnexus-cli

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

FAQPage Schema
How do I generate a knowledge graph for my code repository from the command line?

You can generate a repository knowledge graph by running npx gitnexus analyze from your project root to build or refresh the index for fast CLI-based code understanding.

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

To check index freshness, use the npx gitnexus status command from your project root to verify whether the .gitnexus context data is current or needs refreshing.

Can I index multiple repositories with the same CLI workflow?

Yes, this CLI supports single-repo and multi-repo workflows, allowing you to use the list command to oversee indexed repositories and manage their knowledge graphs.

How do I remove a damaged or outdated repository knowledge graph?

You can remove damaged or outdated indexes by running the npx gitnexus clean command, which clears the corrupted .gitnexus data so you can rebuild it.

Do I need to install GitNexus globally to analyze my project?

No, you do not need a global installation; the skill requires the GitNexus CLI runtime via npx and a project root context to locate the repository and generate data.

Can I generate documentation from my repository's knowledge graph?

Yes, you can generate documentation by running the npx gitnexus wiki command, which produces wiki output directly from the indexed repository knowledge graph.