gitnexus-cli

Automate repository indexing and documentation with GitNexus CLI commands.

Updated Oct 27, 2024
One-click install
npx skills add https://github.com/TimMoyence/Innov-mind-museum --skill gitnexus-cli-timmoyence
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitnexus-cli
Source: https://github.com/TimMoyence/Innov-mind-museum/tree/main/.claude/skills/gitnexus/gitnexus-cli
Command: npx skills add https://github.com/TimMoyence/Innov-mind-museum --skill gitnexus-cli-timmoyence

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill centralizes management of GitNexus indices by offering commands to analyze, check status, clean, generate wiki docs, and list repositories.

Core Features & Use Cases

  • Analyze — Build or refresh the index, write to .gitnexus/ and generate CLAUDE.md / AGENTS.md context files.
  • Status — Check index freshness and repository counts.
  • Wiki — Generate documentation from the knowledge graph using an LLM; requires an API key.
  • List — Show all indexed repos registered in the registry.

Quick Start

From the project root, run npx gitnexus analyze to build or refresh the index and generate 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 automate repository indexing and documentation for multiple software projects?

You can automate repository indexing and documentation by running npx gitnexus analyze from the project root to build or refresh the index and generate context files like CLAUDE.md and AGENTS.md.

What does generating a wiki from a code repository involve?

Generating a wiki from a repository involves creating documentation from the knowledge graph using an LLM. You can trigger this with the wiki command, which requires an API key to function.

Do I need specific tools to check repository index status?

You need npx installed to run the status command, which checks index freshness and repository counts for your software projects and multi-repo environments.

Can I force a refresh of repository indices and context files?

Yes, you can force a refresh of repository indices using the --force flag alongside the analyze command to overwrite existing data in the .gitnexus directory and regenerate context files.

How do I list all indexed repositories registered in a central registry?

You can list all indexed repositories by running the list command, which shows all software projects currently registered in the GitNexus registry.

Why would I need to clean a repository index?

You clean a repository index to remove stale or corrupted data from the .gitnexus directory before rebuilding, ensuring your repository analysis and status checks remain accurate.