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,…
Trace source-code change history from Memtrace's symbol-level temporal memory. Use when the user asks about change history, recent modifications, what changed since a date, symbol timeline, evolution, unexpected changes, or incident timelines. Do not use git log, git diff, Grep,
$ npx -y skills add syncable-dev/memtrace-public --skill memtrace-evolution --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/memtrace-evolutionContext preview
The summary Claude sees to decide when to auto-load this skill.
Trace source-code change history from Memtrace's symbol-level temporal memory. Use when the user asks about change history, recent modifications, what changed since a date, symbol timeline, evolution, unexpected changes, or incident timelines. Do not use git log, git diff, Grep,
name: memtrace-evolution description: "Trace source-code change history from Memtrace's symbol-level temporal memory. Use when the user asks about change history, recent modifications, what changed since a date, symbol timeline, evolution, unexpected changes, or incident timelines. Do not use git log, git diff, Grep, or manual file search to reconstruct history. Do NOT use for current-state architecture overviews (use memtrace-codebase-exploration) or for replaying one commit/save's graph diff (use memtrace-episode-replay)."
Temporal analysis for "what changed in this repo between two points in time?" Works on both git commits and uncommitted working-tree saves.
`get_evolution` **always** requires `repo_id` and `from`. There is no `days` parameter.
| Parameter | Required | Type | Example | |---|---|---|---| | `repo_id` | yes | string | `"memdb"` | | `from` | yes | string | `"90d ago"`, `"2026-04-01T00:00:00Z"`, `"yesterday"` | | `to` | no | string | defaults to now; set to incident time when investigating | | `mode` | no | string | `"recent"` (default), `"compound"`, `"summary"`, `"overview"` | | `target` | no | string | symbol name or file path substring to scope results | | `branch` | no | string | branch filter |
> **Parameter types:** MCP parameters are strictly typed. Numbers (`limit`, `cursor`, etc.) must be JSON numbers — not strings. Use `limit: 100`, never `limit: "100"`.
| Tool | Time param | Example | Notes | |---|---|---|---| | `get_evolution` | **`from`** (required) | `"90d ago"` | optional `to`; **never** pass `days` | | `get_changes_since` | **`since`** (required) | `"2026-04-13T10:43:00Z"` | optional `until` | | `replay_history` | **`days`** (optional) | `90` | re-walks git history — different tool entirely |
Common failure: `MCP error -32602: missing field 'from'` — you omitted `from` or passed `days` instead.
// CORRECT — 90-day overview
{ "repo_id": "memdb", "from": "90d ago", "mode": "overview" }
// WRONG — days is not a get_evolution parameter
{ "repo_id": "memdb", "days": 90, "mode": "overview" }| Mode | What you get | Best for | |---|---|---| | `recent` | Per-episode list with nodes/edges added/removed; paginate with `limit` + `cursor` | Incident timelines, walking commit-by-commit | | `compound` | Totals plus `top_changed_files` and `top_touched_symbols` | "What changed?" when you need hotspots | | `summary` | Totals plus `first_episode` / `last_episode` metadata | Cheapest window check | | `overview` | Alias for `summary` | Same as `summary` |
Modes **`impact`**, **`novel`**, and **`directional`** are **not implemented** — calling them returns `unknown mode`.
| Param | Purpose | |---|---| | `file_path` | substring match against episode `touched_files` | | `kind` | `"git_commit"` or `"working_tree"` | | `limit` | page size (default 100 episodes) | | `cursor` | pagination offset; follow `next_cursor` in response |
Full parameter spec for every Memtrace tool: `references/mcp-parameters.md` (bundled at the memtrace-skills plugin root).
list_indexed_repositories()
If resuming a session and you have a stored timestamp from last time, prefer `get_changes_since(since=...)` — see `memtrace-session-continuity`.
User wants... ├── per-commit / per-save changelog → recent ├── top changed files + symbols → compound ├── quick totals only → summary or overview └── one symbol's full history → get_timeline (not get_evolution)
// General "what changed lately?"
{ "repo_id": "memdb", "from": "30d ago", "mode": "compound" }
// Changes in one file last week
{ "repo_id": "memdb", "from": "7d ago", "mode": "recent", "file_path": "auth.ts", "limit": 50 }
// Incident: 24h before failure until failure time
{ "repo_id": "memdb", "from": "2026-04-16T13:00:00Z", "to": "2026-04-17T13:00:00Z", "mode": "recent" }**`recent` mode** — each entry in `episodes[]`:
**`compound` mode:**
**`summary` / `overview` mode:**
| Need | Tool | |---|---| | Full history of one symbol | `get_timeline(repo_id, scope_path, file_path)` | | Blast radius of a suspect symbol | `get_impact(repo_id, target)` | | What a diff would affect | `detect_changes(repo_id, diff=...)` | | Behavioral coupling | `get_cochange_context(repo_id, target=<symbol>)` | | Sub-commit tried-and-reverted history | `get_episode_replay` |
Sample `compound` payload (per-mode field lists: step 5 above):
{
"totals": { "episodes": 42, "nodes_added": 310, "nodes_removed": 95,
"edges_added": 541, "edges_removed": 120 },
"top_changed_files": [ /* files ranked by activity */ ],
"top_touched_symbols": [ /* symbols ranked by activity */ ]
}`recent` returns `episodes[]` + `totals` + `page.next_cursor`; `summary`/`overview` return `totals` + `first_episode`/`last_episode`.
| Mistake | Reality | |---|---| | Passing `days: 90` | Use `from: "90d ago"` — `days` is only on `replay_history` | | Omitting `from` | Required — call fails with `-32602` before any query runs | | Using
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,…