/memtrace-skills:memtrace-impactfrom memtrace-skills
Computes blast radius of modifying a symbol via transitive graph impact. Traces upstream dependents and downstream dependencies to quantify risk before code changes.
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.
Compute the blast radius of changing a specific symbol. Traces upstream (what depends on this) and downstream (what this depends on) through the knowledge graph to quantify risk before making modifications.
| Tool | Purpose |
|---|---|
get_impact | Blast radius from a symbol name (target) |
detect_changes | Scope symbols affected by a diff/patch |
Parameter types: MCP parameters are strictly typed. Numbers (
depth,limit, etc.) must be JSON numbers — not strings.
get_impact| Parameter | Required | Default | Notes |
|---|---|---|---|
repo_id | yes | — | |
target | yes | — | Symbol name (e.g. "validateToken") — not symbol_id |
direction | no | "both" | "upstream" | "downstream" | "both" |
depth | no | 5 | BFS depth (max 15) |
as_of | no | now | ISO-8601 for time-travel |
{ "repo_id": "memdb", "target": "validateToken", "direction": "both", "depth": 5 }
Full parameter spec for every Memtrace tool: references/mcp-parameters.md (bundled at the memtrace-skills plugin root).
If you don't know the exact name:
find_symbol(name="...") for exact identifiersfind_code(query="...") for natural-language queriesUse the returned name (and optional file_path hint) — graph tools resolve by name, not internal IDs.
{
"repo_id": "memdb",
"target": "validateToken",
"direction": "upstream",
"depth": 5
}
| Risk | Meaning | Action |
|---|---|---|
| Low | Few dependents, leaf node | Safe to modify; minimal testing needed |
| Medium | Moderate dependents | Test direct callers; review interface contracts |
| High | Many dependents across modules | Coordinate changes; comprehensive test coverage |
| Critical | Core infrastructure, many transitive dependents | Plan migration strategy; backward-compatible changes |
When you have an actual code diff, use detect_changes:
{ "repo_id": "memdb", "diff": "<unified git diff text>" }
Or pass changed_files: ["path/a.rs", "path/b.ts"] when no diff text is available.
| Situation | Action |
|---|---|
| Changing a single function | get_impact with direction: "both" |
| Reviewing a PR or diff | detect_changes with the diff content |
| Renaming/removing a public API | get_impact with direction: "upstream", higher depth |
| Refactoring internals | get_impact with direction: "downstream" |
get_impact returns the blast radius for the target symbol:
| Field | Example / meaning |
|---|---|
| Risk rating | High — one of Low / Medium / High / Critical (interpret via step 3) |
| Upstream | Transitive dependents (callers/importers) within depth hops — what breaks if the target changes |
| Downstream | Transitive dependencies — what the target relies on |
detect_changes returns the set of symbols affected by the supplied diff / changed_files, plus the affected processes (execution flows).
| Mistake | Reality |
|---|---|
Passing symbol_id or name | Required param is target |
Omitting repo_id | Both repo_id and target are required |
Defaulting depth to 3 | API default is 5 |
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./memtrace-codebase-explorationMap an indexed source-code repo into a structured overview — scale, communities, central symbols, execution flows, API surface, recent activity. Use when the user wants to explore, understand, onboard to, map, or get an overview of an indexed source-code repo, architecture, modules, or major flows. Do not use Glob, find, tree, rg, or manual file browsing as the first exploration path; Memtrace provides structured graph briefing. Do NOT use for change history / what-changed questions — use memtrace-evolution./memtrace-code-reviewReview GitHub pull requests with Memtrace's local graph-backed review engine. Use when the user asks to review a GitHub pull request, run Memtrace code review, post Memtrace review comments, create a PR with a review step, or publish local graph-backed review findings to GitHub. Prefer the review_github_pr MCP tool over manual diff inspection. Do not use for local working-tree diffs — that is the built-in /code-review; this skill is for GitHub PRs via review_github_pr./memtrace-continuous-memoryKeep the Memtrace index fresh while editing by watching a repo for live, incremental re-indexing. Use when the user asks to keep Memtrace fresh while editing, watch a repo, enable live or incremental indexing, set up always-on memory (meaning Memtrace index watching, not generic agent memory), or make just-saved source code queryable immediately. Do not fall back to repeated Grep or manual rescans; configure Memtrace watching.Other plugins' skills for the same job