/memtrace-skills:memtrace-relationshipsfrom memtrace-skills
Maps source-code relationships between symbols including callers, callees, imports, exports, type usages, and class hierarchies. Useful for understanding code structure before modifying.
Ships in memtrace-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Traverse the code knowledge graph to map relationships between symbols — callers, callees, class hierarchies, imports, exports, and type usages. Essential for understanding a symbol's neighbourhood before modifying it.
| query_type | What it finds |
|---|---|
find_callers | What calls this function/method? |
find_callees | What does this function call? |
class_hierarchy | Parent classes, interfaces, mixins |
overrides | Which child classes override this method? |
imports | What modules does this file import? |
exporters | Which files import this module? |
type_usages | Where is this type/interface referenced? |
Parameter types: Numbers (
depth, etc.) must be JSON numbers — not strings.
get_symbol_context (360° view — prefer this first)Required: repo_id, symbol
{ "repo_id": "memdb", "symbol": "validateToken", "file_path": "src/auth.ts" }
Returns: callers, callees, type references, community, processes, cross-repo API callers.
analyze_relationships (targeted traversal)Required: repo_id, target, query_type
{
"repo_id": "memdb",
"target": "validateToken",
"query_type": "find_callers",
"depth": 3,
"file_path": "src/auth.ts"
}
| Param | Default | Notes |
|---|---|---|
depth | 3 (max 10) | Not 2 |
file_path | — | Disambiguates overloaded names |
Full parameter spec for every Memtrace tool: references/mcp-parameters.md (bundled at the memtrace-skills plugin root).
Use find_symbol or find_code. Save name, scope_path, and file_path from results — pass symbol/target plus optional file_path to graph tools.
Quick 360° view → get_symbol_context (one call).
Targeted traversal → analyze_relationships when you need a specific query_type at custom depth.
Use get_symbol_context fields (callers, callees, community, processes) for blast-radius and architecture context. For degree-style metrics on a specific symbol, follow up with get_impact.
get_impact(repo_id, target=...) — quantify blast radiusget_timeline(repo_id, scope_path, file_path) — full version historyget_evolution(repo_id, from=..., target=...) — window-scoped activityget_symbol_context returns the symbol's 360° neighbourhood:
{
"symbol": "validateToken",
"callers": ["..."],
"callees": ["..."],
"type_references": ["..."],
"community": "...",
"processes": ["..."],
"api_callers_cross_repo": ["..."]
}
analyze_relationships returns the symbols/edges matching the requested query_type (no degree metrics — see Common Mistakes).
| Mistake | Reality |
|---|---|
Passing symbol_id | Use target (analyze_relationships) or symbol (get_symbol_context) |
Assuming default depth: 2 | Default is 3 |
Expecting in_degree on analyze_relationships results | Use get_symbol_context or get_impact for centrality/risk context |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncable-dev/memtrace-public --plugin memtrace-skills27 skills in this plugin
/memtrace-api-topologyMap API endpoints, outbound HTTP calls, and cross-repo service topology in indexed source code. Use when the user asks about API endpoints, HTTP routes, fetch/client calls, REST surface, service dependencies, cross-repo dependencies, or API topology. Do not use Grep, Glob, rg, find, or manual file search for routes or HTTP calls; Memtrace maps endpoints and call edges from the indexed AST graph./memtrace-change-impact-analysisCompute what a planned source-code change will break — blast radius, affected processes, cross-repo callers, temporal stability, and Cortex decision-memory constraints — and produce a risk-rated change plan. Use for multi-symbol or multi-part edits, refactors, API changes, renames, removals, PR reviews, or risk assessments that need a plan; for one symbol's raw blast radius, call get_impact directly. Do not manually grep references or browse files for impact; use Memtrace graph context, change history, and decision recall/provenance./memtrace-cochangeFind files that historically co-change with a target symbol or file, ranked by co-occurrence across git episodes. Use when the user asks about historical coupling, co-change, what changes with this, hidden dependencies, or what else needs to move for source code. Do not use git log, git diff, Grep, or manual file search to correlate changes; Memtrace queries co-change and temporal graph data directly.Other plugins' skills for the same job