快速了解
它能做什么
从 Memtrace 已索引的代码图谱中映射 HTTP 路由、出站调用和跨仓库服务依赖。
本站提供的是中文说明,不代表该项目或 Plugin 自身提供中文界面;语言支持请以上游文档为准。
选择前先看
这是一个面向已索引代码库 API 表面的专用工作流提示。它引导智能体使用 Memtrace 工具列出端点处理器、查找出站 HTTP 调用,并查看仓库之间的拓扑边;随后可将端点处理器名称传给符号上下文分析。
适合谁
使用 Memtrace 理解 REST 接口面或跨服务依赖的开发者和工程团队。
常见任务
- 列出已索引仓库中的 API 端点。
- 按 HTTP 方法或路径片段查找出站调用。
- 在索引相关服务后映射服务间拓扑。
- 使用端点处理器的符号名称继续深入分析。
权限与数据
通过 Memtrace 的本地已索引代码图谱回答拓扑问题。
权限- 访问 Memtrace MCP 工具,包括端点、调用和拓扑查询。
- 访问你有权索引和分析的代码仓库。
- EULA 声明源代码在本机处理,索引数据由用户控制。
- README 表示许可证验证、聚合节点/边计数和可退出的崩溃遥测可能产生网络流量;并声明不会发送源代码、文件路径或符号名称。
- Memtrace MCP 服务器。
- 取决于产品配置的 Memtrace 许可证验证和遥测服务。
- 提供的证据未声明此技能本身需要凭据。
局限
- 依赖仓库已被 Memtrace 索引。
- 跨仓库链接要求索引所有相关服务;技能还提示可能需要链接仓库。
- 它是 Memtrace 工具的使用指引,不是独立的 API 扫描器。
- 本次策展未执行技能声明的行为或工具调用。
DSHub 已核对
- 提供的 SKILL.md 明确了端点、HTTP 调用和拓扑用途,并列出了所需的 Memtrace 工具。
- 来源固定到提交 56b3abb4ddd033edc7c6f2b92294e68fb4f0742d。
- 提供的 EULA 覆盖捆绑的 AI 智能体技能。
DSHub 未核对
- 未在任何宿主中执行安装。
- 未索引任何仓库,也未运行 Memtrace 工具调用。
- 提供的证据未声明与特定 Harness 版本的运行时兼容性。
固定版本安装
主要操作
这个独立 Skill没有 DSH Plugin 安装操作,请根据源码文档使用真实交付方式。
维护者原文
Skill 使用说明
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 |
有意识地管理
安装与管理
前置条件与目标 Profile
目标: codex Profile, claude-code Profile, cursor Profile, deepseek-harness Profile
交付方式: Skill 文件 — https://raw.githubusercontent.com/syncable-dev/memtrace-public/56b3abb4ddd033edc7c6f2b92294e68fb4f0742d/plugins/memtrace-skills/skills/memtrace-api-topology/SKILL.md。
兼容性与访问范围
Requires an indexed repository and Memtrace MCP tools: Not declared in supplied evidence。
风险事实
证据与编辑审查Manifest、Bundle patch、分发与新鲜度
不可变证据
审查状态与源码活动
仅用于你获授权分析的代码库;复制或安装捆绑技能前请审阅专有 EULA。
AI 审查于 2026/9/12 UTC 13:49。GitHub 事实核对日期: 2026/9/12 UTC 13:49。
自当前证据基线以来,没有记录到重要源码变化。