Install
$ agentstack add skill-metagit-ai-metagit-cli-gitnexus-guide ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
GitNexus Guide
Quick reference for all GitNexus MCP tools, resources, and the knowledge graph schema.
Always Start Here
For any task involving code understanding, debugging, impact analysis, or refactoring:
- Read
gitnexus://repo/{name}/context— codebase overview + check index freshness - Match your task to a skill below and read that skill file
- Follow the skill's workflow and checklist
> If step 1 warns the index is stale, run node .gitnexus/run.cjs analyze in the terminal first.
Skills
| Task | Skill to read | | -------------------------------------------- | ------------------- | | Understand architecture / "How does X work?" | gitnexus-exploring | | Blast radius / "What breaks if I change X?" | gitnexus-impact-analysis | | Trace bugs / "Why is X failing?" | gitnexus-debugging | | Rename / extract / split / refactor | gitnexus-refactoring | | Tools, resources, schema reference | gitnexus-guide (this file) | | Index, status, clean, wiki CLI commands | gitnexus-cli |
Tools Reference
| Tool | What it gives you | | ---------------- | ------------------------------------------------------------------------ | | query | Process-grouped code intelligence — execution flows related to a concept | | context | 360-degree symbol view — categorized refs, processes it participates in | | impact | Symbol blast radius — what breaks at depth 1/2/3 with confidence | | trace | Shortest path between two symbols — "how does A reach B?" in one call | | detect_changes | Git-diff impact — what do your current changes affect | | rename | Multi-file coordinated rename with confidence-tagged edits | | cypher | Raw graph queries (read gitnexus://repo/{name}/schema first) | | explain | Persisted taint findings — source→sink data flows (needs analyze --pdg) | | pdg_query | Control/data dependence — what gates X (CDG) / where Y flows (REACHING_DEF); needs analyze --pdg | | check | Check graph invariants such as circular imports | | route_map | API route map — which components/hooks fetch which endpoints, and the handler files that serve them | | shape_check | Response-shape drift — keys each route returns vs keys its consumers access (flags MISMATCH) | | api_impact | Pre-change report for an API route — consumers, middleware, shape mismatches, risk level | | tool_map | MCP/RPC tool definitions and the files that handle them | | group_list | List configured multi-repo groups, or one group's config | | group_sync | Rebuild a group's Contract Registry (cross-repo HTTP contract links); run after group.yaml changes or member re-index | | list_repos | Discover indexed repos (paginated — limit/offset) |
Paginating list_repos
list_repos is paginated so a large registry is not truncated by MCP/LLM token limits. It takes optional limit (default 50, max 200) and offset, and returns:
{
"repositories": [
{ "name": "...", "path": "...", "indexedAt": "...", "lastCommit": "...", "stats": { } }
],
"pagination": {
"total": 437,
"limit": 50,
"offset": 0,
"returned": 50,
"hasMore": true,
"nextOffset": 50
}
}
To enumerate every repository, keep calling with offset set to pagination.nextOffset until hasMore is false:
list_repos {} → repos 1–50, nextOffset 50, hasMore true
list_repos { offset: 50 } → repos 51–100, nextOffset 100, hasMore true
…
list_repos { offset: 400 } → repos 401–437, hasMore false (done)
Notes: offset ≥ total returns an empty page (with total still reported). Out-of-range or malformed limit/offset (non-integer, limit outside [1, 200], `offset (f:Function {name: "myFunc"}) RETURN caller.name, caller.filePath
## Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- **Author:** [metagit-ai](https://github.com/metagit-ai)
- **Source:** [metagit-ai/metagit-cli](https://github.com/metagit-ai/metagit-cli)
- **License:** MIT
- **Homepage:** https://metagit-ai.github.io/metagit-cli/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.