/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, fetch/client calls, REST surface, service dependencies, cross-repo dependencies, or API topology. Do not use Grep, Glob, rg,
$ npx -y skills add syncable-dev/memtrace-public --skill memtrace-api-topology --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/memtrace-api-topology
Context preview
The summary Claude sees to decide when to auto-load this skill.
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, fetch/client calls, REST surface, service dependencies, cross-repo dependencies, or API topology. Do not use Grep, Glob, rg,
SKILL.md
memtrace-api-topology.SKILL.mdname: memtrace-api-topology
description: "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, 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."
Overview
Map HTTP API surface — endpoints, outbound calls, cross-repo topology.
Quick Reference
| Tool | Required | Key optional | |------|----------|--------------| | `find_api_endpoints` | `repo_id` | `method`, `path_contains`, `limit`, `branch` | | `find_api_calls` | `repo_id` | `method`, `path_contains`, `limit`, `branch` | | `get_api_topology` | — | `repo_id`, `min_confidence`, `include_external` |
Full parameter spec for every Memtrace tool: `references/mcp-parameters.md` (bundled at the memtrace-skills plugin root).
Steps
1–3. Endpoints, calls, topology
{ "repo_id": "memdb" }
{ "repo_id": "memdb", "method": "GET", "path_contains": "/users" }
{ "min_confidence": 0.7 }4. Deep-dive an endpoint handler
Use handler **symbol name** — not symbol ID:
{ "repo_id": "memdb", "symbol": "handleGetUsers" }Output
| Result | Carries | |--------|---------| | Endpoint entry (`find_api_endpoints`) | HTTP method, route path, handler symbol name (feed to `get_symbol_context` as `symbol`) | | Call entry (`find_api_calls`) | HTTP method, target path, calling symbol | | Topology edge (`get_api_topology`) | caller repo → handler repo, confidence 0.0–1.0 (edges below `min_confidence` dropped) |
Common Mistakes
| Mistake | Reality | |---------|---------| | `get_symbol_context(symbol_id=...)` | Use **`symbol`** (name) + `repo_id` | | Cross-repo links with one repo indexed | Index all services; use `link_repositories` if needed |
Read more
name: memtrace-api-topology description: "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, 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."
Overview
Map HTTP API surface — endpoints, outbound calls, cross-repo topology.
Quick Reference
| Tool | Required | Key optional | |------|----------|--------------| | `find_api_endpoints` | `repo_id` | `method`, `path_contains`, `limit`, `branch` | | `find_api_calls` | `repo_id` | `method`, `path_contains`, `limit`, `branch` | | `get_api_topology` | — | `repo_id`, `min_confidence`, `include_external` |
Full parameter spec for every Memtrace tool: `references/mcp-parameters.md` (bundled at the memtrace-skills plugin root).
Steps
1–3. Endpoints, calls, topology
{ "repo_id": "memdb" }
{ "repo_id": "memdb", "method": "GET", "path_contains": "/users" }
{ "min_confidence": 0.7 }4. Deep-dive an endpoint handler
Use handler **symbol name** — not symbol ID:
{ "repo_id": "memdb", "symbol": "handleGetUsers" }Output
| Result | Carries | |--------|---------| | Endpoint entry (`find_api_endpoints`) | HTTP method, route path, handler symbol name (feed to `get_symbol_context` as `symbol`) | | Call entry (`find_api_calls`) | HTTP method, target path, calling symbol | | Topology edge (`get_api_topology`) | caller repo → handler repo, confidence 0.0–1.0 (edges below `min_confidence` dropped) |
Common Mistakes
| Mistake | Reality | |---------|---------| | `get_symbol_context(symbol_id=...)` | Use **`symbol`** (name) + `repo_id` | | Cross-repo links with one repo indexed | Index all services; use `link_repositories` if needed |
Structural memory for AI coding agents. Bi-temporal graph, MCP-native, zero LLM calls. Cursor · Claude Code · Codex · Hermes · VS Code · Windsurf.
Repo: syncable-dev/memtrace-public
Other skills on memtrace-public.
- /memtrace-change-impact-analysis
Compute 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,
Open skill - /memtrace-cochange
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 coupling, co-change, what changes with this, hidden dependencies, or what else needs to move for source code. Do not use git
Open skill - /memtrace-code-review
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, post Memtrace review comments, create a PR with a review step, or publish local graph-backed review findings to GitHub.
Open skill - /memtrace-codebase-exploration
Map 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,
Open skill - /memtrace-continuous-memory
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, watch a repo, enable live or incremental indexing, set up always-on memory (meaning Memtrace index watching, not generic
Open skill - /memtrace-daily
Orient at the start of a coding session, review what recently changed in a repository, and self-audit after completing work. Use when the user wants the daily briefing (what changed in the last 24h with complexity deltas), hotspots (complexity × churn refactor priorities), or a
Open skill

