gitnexus-cli

Runs GitNexus CLI commands to index repositories and generate wikis via npx.

1|Updated Oct 11, 2025
One-click install
npx skills add https://github.com/ibytechaos/claude --skill gitnexus-cli-ibytechaos
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitnexus-cli
Source: https://github.com/ibytechaos/claude/tree/main/plugins/gitnexus/skills/gitnexus-cli
Command: npx skills add https://github.com/ibytechaos/claude --skill gitnexus-cli-ibytechaos

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gitnexus.

What problem does it solve? Managing a GitNexus code knowledge graph requires knowing the right CLI commands for indexing, checking freshness, cleaning stale indexes, and generating documentation, which is easy to get wrong without a reference. ## Core Features & Use Cases - Repository Indexing: Run npx gitnexus analyze to parse source files, build the knowledge graph, and generate CLAUDE.md / AGENTS.md context files. - Index Lifecycle Management: Check index freshness with status, remove corrupt indexes with clean, and list all registered repos with list. - Wiki Generation: Produce LLM-generated repository documentation from the knowledge graph with configurable model, API key, and concurrency options. - Use Case: After cloning a new project, ask the assistant to index the repo, verify the index loaded via the MCP context resource, and then generate a wiki published as a GitHub Gist. ## Quick Start Ask the assistant to index this repository with GitNexus and then check the index status.

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 repository with GitNexus?

Run npx gitnexus analyze from the project root. It parses all source files, builds the knowledge graph into the .gitnexus/ directory, and generates CLAUDE.md and AGENTS.md context files. Use --force to re-index even if up to date.

How to check if a GitNexus index is stale?

Run npx gitnexus status to see whether the current repo has an index, when it was last updated, and symbol and relationship counts. The gitnexus://repo/{name}/context MCP resource also reports staleness.

Does GitNexus require a global installation?

No, all GitNexus commands work through npx with no global install required. The MCP server also runs via npx -y gitnexus@latest mcp as configured in mcp.json.

Why does GitNexus say not inside a git repository?

This error occurs when the command runs outside a git repository directory. Navigate to a directory inside a git repo and rerun the command, since GitNexus requires git context to build the index.

How do I fix a stale GitNexus index after re-analyzing?

Restart Claude Code to reload the MCP server after re-analyzing. If the index is corrupt, run npx gitnexus clean to delete the .gitnexus/ directory and unregister the repo, then re-index.

Can GitNexus generate documentation without an API key?

The wiki command requires an LLM API key, which is saved to ~/.gitnexus/config.json on first use. Indexing and status commands work without any API key, and embeddings are optional and off by default.