gitnexus-guide

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

18|8|Updated Jun 17, 2026
One-click install
npx skills add https://github.com/PyModel/pythinker-code --skill gitnexus-guide-pymodel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitnexus-guide
Source: https://github.com/PyModel/pythinker-code/tree/main/.agents/skills/gitnexus/gitnexus-guide
Command: npx skills add https://github.com/PyModel/pythinker-code --skill gitnexus-guide-pymodel

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When working with a GitNexus-indexed codebase, you need to know which MCP tool to call, how to paginate repository listings, how to read taint and PDG findings, and what the knowledge graph schema looks like before writing Cypher queries. This Skill consolidates that reference material so you can pick the right tool and query pattern immediately. ## Core Features & Use Cases - Tool Reference: Documents all GitNexus MCP tools including query, context, impact, trace, detect_changes, rename, cypher, explain, pdg_query, route_map, shape_check, and api_impact. - Workflow Routing: Maps common tasks like architecture exploration, blast-radius analysis, debugging, and refactoring to the appropriate companion skill file. - Schema & Resources: Lists lightweight gitnexus:// resources for repo context, clusters, and processes, plus the full node and edge type schema for writing Cypher queries. - Use Case: You want to know what breaks if you change a function. Read this guide to learn that the impact tool reports blast radius at depths 1-3 with confidence scores, then run it against your symbol. ## Quick Start Ask the assistant to list the available GitNexus tools and explain how to run an impact analysis on a specific function in the indexed repository.

Frequently Asked Questions about gitnexus-guide

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

FAQPage Schema
How do I find what breaks if I change a function with GitNexus?

Use the impact tool, which reports a symbol's blast radius at depths 1, 2, and 3 with confidence scores. For changes already in your working tree, detect_changes analyzes the git diff to show what your current edits affect.

What GitNexus tools are available for code analysis?

GitNexus provides query, context, impact, trace, detect_changes, rename, cypher, explain, pdg_query, check, route_map, shape_check, api_impact, tool_map, group_list, group_sync, and list_repos. Each covers a specific code intelligence task from execution flows to API route mapping.

How do I trace a call path between two functions?

Use the trace tool with from and to symbol names to get the shortest directed path over CALLS and HAS_METHOD edges. Disambiguate common names with from_uid/to_uid or file filters, and bound the search with maxDepth up to 30.

Does GitNexus support taint analysis for security findings?

Yes, the explain tool returns source-to-sink taint findings recorded by running analyze with the --pdg flag, covering categories like command injection, SQL injection, and XSS. Repositories indexed without --pdg return a note that no taint layer exists.

Why does list_repos not return all my indexed repositories?

list_repos is paginated with a default limit of 50 and a maximum of 200 per call. Keep calling it with offset set to the returned nextOffset until hasMore is false to enumerate every repository.

What should I read before writing Cypher queries against the graph?

Read the gitnexus://repo/{name}/schema resource first, since it is the authoritative schema for the indexed repo. It lists node types like Function, Class, and Route plus edge types such as CALLS, IMPORTS, and HANDLES_ROUTE.