context
Installation
SKILL.md
When to use this skill
- A file is too large to read in full.
- You need only declarations, one symbol, or a window of lines.
- You want a ranked repo map or cross-file references for a symbol.
How to use
- Build context:
cd mcp/context && go test ./... && go build. - Add the binary to your MCP client config as
context. - Call
file_outline {path}for a skeleton, thenread_symbol {path, name}for a body. - Use
repo_map {path}orfind_references {name}for cross-file context.
Examples
- "Show the outline of
internal/mcp/server.go." - "Read the body of
NewServerfrommcp/context/internal/mcp/server.go." - "Find all references to
HandleMessagein the repo map."