Why Resources?
Resources are optimized for AI agent navigation:- Lightweight: 100-500 tokens per resource
- Cacheable: Agents can reference them repeatedly
- Structured: YAML format for consistent parsing
- On-demand: Only fetched when needed
Resource Types
Global Resources
These resources don’t require a repository context:gitnexus://repos
List all indexed repositories with stats. Read this first to discover available repos.
Repository Resources
These resources are scoped to a specific repository using the patterngitnexus://repo/{name}/...:
context
Codebase stats, staleness check, and available tools
clusters
All functional areas (modules) with cohesion scores
processes
All execution flows detected in the codebase
Detail Resources
These provide deep-dives into specific clusters or processes:cluster/{name}
Members and details of a specific functional area
process/{name}
Step-by-step trace of a specific execution flow
Workflow
Typical agent workflow using resources:- Discovery: Read
gitnexus://reposto see all indexed repositories - Overview: Read
gitnexus://repo/{name}/contextto check stats and staleness - Navigation: Read
clustersorprocessesto find areas of interest - Deep Dive: Read specific
cluster/{name}orprocess/{name}for details - Action: Use tools like
query,context, orimpactfor analysis
Resource URIs
All GitNexus resources use thegitnexus:// URI scheme:
MIME Types
All resources return one of two MIME types:text/yaml— Structured data (most resources)text/markdown— Documentation content
Next Steps
Repos Resource
Start here to discover indexed repositories
MCP Tools
See available tools for analysis and navigation