gitnexus-cli

Create and refresh a Git repository knowledge index in `.gitnexus/`.

1|Updated May 26, 2026
One-click install
npx skills add https://github.com/Leonardo-Corte/local-social-smm-agent --skill gitnexus-cli-leonardo-corte
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitnexus-cli
Source: https://github.com/Leonardo-Corte/local-social-smm-agent/tree/main/reference/github-agent-orchestration/maestro/.claude/skills/gitnexus/gitnexus-cli
Command: npx skills add https://github.com/Leonardo-Corte/local-social-smm-agent --skill gitnexus-cli-leonardo-corte

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GitNexus CLI helps you quickly create and maintain a searchable knowledge graph for a Git repository, so you can explore code structure without manual context gathering.

Core Features & Use Cases

  • Repository Indexing (analyze): Build or refresh the knowledge graph in .gitnexus/, producing context files like CLAUDE.md and AGENTS.md.
  • Index Freshness Checks (status): Confirm whether the index is present and up to date before attempting deeper questions.
  • Wiki Generation (wiki): Convert the graph into repository documentation using an LLM when you provide API credentials.

Quick Start

Run the command npx gitnexus analyze --force from inside the target repository to rebuild a fresh index and generate the 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 generate wiki documentation from a git repository?

To generate wiki documentation from a repository, run the wiki command within your git working directory to convert the knowledge graph into docs using an LLM and your provided API credentials.

What is a repository knowledge graph used for in code exploration?

A repository knowledge graph provides searchable code context for exploration, eliminating manual context gathering by indexing your codebase structure into `.gitnexus/` files like `CLAUDE.md`.

How do I rebuild and reindex a git repository after code changes?

To reindex a repository after code changes, run `npx gitnexus analyze --force` from inside the target directory to rebuild a fresh knowledge graph and update context files.

Can I check if my repository index is up to date before querying code context?

You can verify index freshness by running a status check, which confirms whether the `.gitnexus/` knowledge graph is present and up to date before deeper code exploration.

Do I need to provide LLM API credentials to generate semantic embeddings for my code?

Yes, providing LLM API credentials is required for wiki generation, and the indexing process also supports optional semantic embedding generation to enrich the repository knowledge graph.

Does repository indexing work outside of a git working directory?

No, repository indexing requires running within a git working directory to analyze the codebase and store the resulting knowledge graph outputs in the `.gitnexus/` folder.