$npx -y skills add woodfishhhh/EZ_math_model --skill external-contextUse when EZ_math_model multi or hybrid mode needs several domain-specialist subagents to gather outside knowledge, industry context, model theory, or sensitivity-analysis references in parallel.
| 1 | # external-context — 并行外部知识检索 |
| 2 | |
| 3 | ## 何时使用 |
| 4 | |
| 5 | - 题目跨经济、工程、政策等多个领域。 |
| 6 | - 单个 `paper-search` query 覆盖不足。 |
| 7 | - modeler 或 writer 需要多组外部知识摘要。 |
| 8 | - `agent_mode = multi` 或 `hybrid`。 |
| 9 | |
| 10 | ## 调用方式 |
| 11 | |
| 12 | 优先加载宿主 `external-context` skill,并行派 2-3 个 specialist: |
| 13 | |
| 14 | ```text |
| 15 | specialist 1: 找 {模型 A} 经典文献 |
| 16 | specialist 2: 找 {题目领域} 行业基准 |
| 17 | specialist 3: 找 {敏感性分析} 方法论文献 |
| 18 | ``` |
| 19 | |
| 20 | 每个 specialist 输出不超过 500 字摘要和 DOI / URL 列表,最后聚合到: |
| 21 | |
| 22 | ```text |
| 23 | workdir/{task_id}/refs/external_context.md |
| 24 | ``` |
| 25 | |
| 26 | ## 与 paper-search 的区别 |
| 27 | |
| 28 | | 工具 | 适用 | |
| 29 | |---|---| |
| 30 | | `paper-search` | 单 query 多源聚合,主对话直接跑 | |
| 31 | | `external-context` | 多 query 并行,专家式摘要与交叉验证 | |
| 32 | |
| 33 | ## 失败诊断 |
| 34 | |
| 35 | | 情况 | 处理 | |
| 36 | |---|---| |
| 37 | | 宿主 skill 未安装 | 降级为 `paper-search` 串行检索 | |
| 38 | | specialist 结论冲突 | 保留所有结论,标注争议点 | |
| 39 | | 全部 specialist 失败 | 回到 `paper-search` 或 `webcrawl` | |
| 40 | |
| 41 | ## 边界 |
| 42 | |
| 43 | - 不直接生成 `paper.md` 引用文本。 |
| 44 | - 不替代 writer 的引用编号管理。 |
| 45 | - 不绕过 multi/hybrid 并发约束。 |