memtrace-api-topology
Map API endpoints, outbound HTTP calls, and cross-repo service topology in indexed source code. Use when the user asks about API endpoints, HTTP routes,…
Run a one-call pre-flight check on a single existing symbol before editing it: blast radius, co-change partners, complexity, 30-day churn, and verification checklist, then check Cortex decision memory for rationale/bans when intent may matter. Use before modifying any existing
$ npx -y skills add syncable-dev/memtrace-public --skill memtrace-preflight --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/memtrace-preflightContext preview
The summary Claude sees to decide when to auto-load this skill.
Run a one-call pre-flight check on a single existing symbol before editing it: blast radius, co-change partners, complexity, 30-day churn, and verification checklist, then check Cortex decision memory for rationale/bans when intent may matter. Use before modifying any existing
name: memtrace-preflight description: "Run a one-call pre-flight check on a single existing symbol before editing it: blast radius, co-change partners, complexity, 30-day churn, and verification checklist, then check Cortex decision memory for rationale/bans when intent may matter. Use before modifying any existing function or symbol you did not just write. Do not start editing a non-trivial existing function without pre-flight plus decision-memory recall/provenance; Memtrace knows the dependency graph, change history, and recorded decisions."
Pre-flight check: the two minutes before an edit that prevent the bug. One `preflight_check` call composes the dependency graph, the bi-temporal change history, and the complexity metrics into an actionable radar for a single symbol.
| Tool | Purpose | |------|---------| | `preflight_check` | Full radar for one symbol: blast radius + co-change + churn + checklist | | `get_impact` | Deeper blast-radius walk when the radar flags HIGH/CRITICAL | | `get_cochange_context` | Wider co-change window when partners look surprising | | `recall_decision` | Recorded choices, bans, and conventions for the symbol/subsystem/behavior | | `why_is_this_here` / `governing_contracts` | Symbol-scoped rationale and constraints when a symbol id is available |
> **Parameter types:** MCP parameters are strictly typed. Numbers must be
Full parameter spec for every Memtrace tool: `references/mcp-parameters.md` (bundled at the memtrace-skills plugin root). > JSON numbers — not strings.
`preflight_check` with:
Each line names something concrete to verify:
compare `total_affected`; new dependents mean your change leaked wider than intended.
hot code punishes large diffs.
correctly after the change.
assuming the current shape is intentional.
Files that historically changed together with the target usually need updating in the same change. If you finish the edit without touching a frequent partner, say so explicitly and why.
if it did, simplify before declaring the work done.
Before changing behavior, deleting code, or refactoring odd/legacy code:
1. Run `recall_decision("<symbol/subsystem/behavior>")`. 2. If the preflight/graph result gives you a numeric `symbol_id`, run `why_is_this_here(symbol_id)` and `governing_contracts(symbol_id)`. 3. Honor matching held decisions/bans. Treat CannotProve as unknown, not approval.
a feature flag or staged rollout.
entry point.
contradict it without explicit user sign-off.
`preflight_check` returns one radar for the symbol:
| Field | Meaning | |-------|---------| | `risk` | verdict, e.g. `HIGH` / `CRITICAL` (see Verdict guidance) | | `dependents` | blast radius — count of symbols that depend on the target | | co-change partners | files that historically change with it (step 3) | | complexity + 30-day churn | current complexity score and recent change count | | checklist | generated verification lines, e.g. `"hotspot: 6 changes in 30 days"`, `"sits in 2 process flow(s)"` |
Structural memory for AI coding agents. Bi-temporal graph, MCP-native, zero LLM calls. Cursor · Claude Code · Codex · DeepSeek Harness · Hermes · VS Code · Windsurf.
Repo: syncable-dev/memtrace-public
Map API endpoints, outbound HTTP calls, and cross-repo service topology in indexed source code. Use when the user asks about API endpoints, HTTP routes,…
Compute what a planned source-code change will break — blast radius, affected processes, cross-repo callers, temporal stability, and Cortex decision-memory…
Find 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…
Review 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,…
Map an indexed source-code repo into a structured overview — scale, communities, central symbols, execution flows, API surface, recent activity. Use when the…
Keep 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,…