Skip to content
Development
Skill

/memtrace-impact

Compute the blast radius of modifying a symbol through transitive graph impact. Use when the user asks about blast radius, impact, what breaks, risk, upstream callers, downstream dependencies, or consequences of modifying a symbol, before or during source-code changes. Do not

From plugin
memtrace-public
50927 skills4 commands

Claude Code

$ npx -y skills add syncable-dev/memtrace-public --skill memtrace-impact --agent claude-code

SKILL.md

memtrace-impact.SKILL.md
name: memtrace-impact
description: "Compute the blast radius of modifying a symbol through transitive graph impact. Use when the user asks about blast radius, impact, what breaks, risk, upstream callers, downstream dependencies, or consequences of modifying a symbol, before or during source-code changes. Do not use Grep or manual reference search; Memtrace computes transitive graph impact. For a full risk-rated plan covering a multi-part change, use memtrace-change-impact-analysis."

Overview

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.

Quick Reference

| 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.

Required parameters — `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).

Steps

1. Identify the symbol name

If you don't know the exact name:

  • `find_symbol(name="...")` for exact identifiers
  • `find_code(query="...")` for natural-language queries

Use the returned **`name`** (and optional `file_path` hint) — graph tools resolve by name, not internal IDs.

2. Run impact analysis

{
  "repo_id": "memdb",
  "target": "validateToken",
  "direction": "upstream",
  "depth": 5
}

3. Interpret the risk rating

| 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 |

4. For diff-based analysis

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.

Decision Points

| 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"` |

Output

`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).

Common Mistakes

| 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** |

Read more
@syncable-dev
Ships withmemtrace-public

Structural memory for AI coding agents. Bi-temporal graph, MCP-native, zero LLM calls. Cursor · Claude Code · Codex · DeepSeek Harness · Hermes · VS Code · Windsurf.

Stars on GitHub

Momentum

stars in total
509
Star history of syncable-dev/memtrace-public on GitHub, a chart by star-history.com

Other skills on memtrace-public.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about memtrace-impact.

Which coding agents can use memtrace-impact?
memtrace-impact installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.