gitnexus-guide

Documents GitNexus MCP tools, resources, and knowledge graph schema for code intelligence queries.

Updated Mar 4, 2026
One-click install
npx skills add https://github.com/gmolike/Claude-Template --skill gitnexus-guide-gmolike
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitnexus-guide
Source: https://github.com/gmolike/Claude-Template/tree/main/.claude/skills/gitnexus-guide
Command: npx skills add https://github.com/gmolike/Claude-Template --skill gitnexus-guide-gmolike

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Developers using GitNexus need a single reference for its MCP tools, resources, and graph schema before they can query the codebase knowledge graph effectively, and this Skill provides that orientation plus an index-freshness checklist. ## Core Features & Use Cases - Tool Reference: Documents the seven GitNexus MCP tools (query, context, impact, detect_changes, rename, cypher, list_repos) and what each returns. - Resource & Schema Reference: Lists lightweight gitnexus:// resources for navigation and the Cypher graph schema with node and edge types. - Freshness Workflow: Explains how to verify the index matches HEAD with npx gitnexus status and re-index with npx gitnexus analyze before analysis. - Use Case: When asked "What GitNexus tools are available?" or "How do I query the knowledge graph?", load this Skill to answer accurately and route the user to the right task-specific skill. ## Quick Start Ask the assistant which GitNexus tools are available and how to query the knowledge graph for your repository.

Frequently Asked Questions about gitnexus-guide

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

FAQPage Schema
What GitNexus tools are available for code analysis?

GitNexus provides seven MCP tools: query for process-grouped code intelligence, context for 360-degree symbol views, impact for blast radius analysis, detect_changes for git-diff impact, rename for multi-file renames, cypher for raw graph queries, and list_repos for discovering indexed repositories.

How do I check if the GitNexus index is up to date?

Run npx gitnexus status and compare the indexed commit to git rev-parse HEAD; if they differ, run npx gitnexus analyze. Note that the status command exits 0 in every case, so parse stdout rather than branching on the exit code.

How do I query the GitNexus knowledge graph with Cypher?

Read the gitnexus://repo/{name}/schema resource first to learn the node types (File, Function, Class, Interface, Method, Community, Process) and edge types (CALLS, IMPORTS, EXTENDS, IMPLEMENTS, DEFINES, MEMBER_OF, STEP_IN_PROCESS), then use the cypher tool with CodeRelation type filters.

Why does GitNexus detect_changes report no changes?

On a stale index, detect_changes returns "No changes detected." regardless of actual modifications, meaning it has no information rather than confirming safety. Re-index with npx gitnexus analyze before relying on its output.

What are the limitations of the GitNexus freshness check?

The staleness warning fails open: an indexed commit that was rebased away or garbage-collected reads as fresh, and uncommitted changes are never detected. Absence of a warning is not an all-clear, so verify the indexed commit against HEAD manually.