[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77VCXN64M0JM3C7ZM0QRJ7Q":3,"skill-same:01M77VCXN64M0JM3C7ZM0QRJ7Q":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M77VCXN64M0JM3C7ZM0QRJ7Q","source-router",null,"LLM通用来源路由技能。根据任务类型、时间要求和信息缺口，决定优先去哪些来源找信息并给出搜索顺序。支持的来源类型：web\u002Flocal_file\u002Fvector\u002Fgraph\u002Fcounter。在已知需要搜索但不知道先搜什么时使用。触发条件：多源搜索决策、搜索成本控制、需要决定是否开启反证搜索。","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fs\u002Fsource-router\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: source-router\ndescription: LLM通用来源路由技能。根据任务类型、时间要求和信息缺口，决定优先去哪些来源找信息并给出搜索顺序。支持的来源类型：web\u002Flocal_file\u002Fvector\u002Fgraph\u002Fcounter。在已知需要搜索但不知道先搜什么时使用。触发条件：多源搜索决策、搜索成本控制、需要决定是否开启反证搜索。\n---\n\n# Source Router — 来源路由技能\n\n## 核心职责\n\n根据任务特征、时间要求和信息缺口，**决定去哪找、先找什么、是否开反证搜索、何时停止**。\n\n**边界（绝对禁止）**：\n- ❌ 不执行搜索\n- ❌ 不生成最终判断或结论\n- ❌ 不自行 invent 新的来源类型\n\n**唯一产出**：搜索路由计划。\n\n---\n\n## 输入规格（最小集）\n\n| 字段 | 必填 | 说明 |\n|------|------|------|\n| `task_type` | ✅ | 任务类型：`breaking_news` \u002F `deep_research` \u002F `entity_analysis` \u002F `internal_knowledge` \u002F `tech_evaluation` |\n| `primary_subject` | ✅ | 核心实体\u002F对象 |\n| `goal_mode` | ✅ | 目标模式：`analyze` \u002F `evaluate` \u002F `compare` \u002F `investigate` |\n| `freshness_required` | ✅ | 时效性要求：`high`（≤24h）\u002F `medium`（≤30天）\u002F `low`（不限） |\n| `available_sources` | ✅ | 当前环境可用的来源列表，从 `[web, local_file, vector, graph, counter]` 中选 |\n| `need_counter_evidence` | ✅ | 是否需要反面证据搜索：`true` \u002F `false` |\n\n**可选输入**：\n| 字段 | 说明 |\n|------|------|\n| `information_gaps` | 已知信息缺口列表 |\n| `budget_limit` | 搜索次数预算上限 |\n| `preferred_domains` | 优先域名列表 |\n\n---\n\n## 输出规格（固定结构）\n\n```json\n{\n  \"task_id\": \"SR-\u003Cuuid前8位>\",\n  \"task_type\": \"...\",\n  \"primary_subject\": \"...\",\n  \"selected_sources\": [\n    {\n      \"source\": \"web\",\n      \"priority\": 1,\n      \"rationale\": \"...\",\n      \"search_hints\": [\"...\", \"...\"]\n    }\n  ],\n  \"search_order\": [\"web\", \"counter\", \"graph\"],\n  \"counter_search_enabled\": true,\n  \"counter_trigger\": \"...\",\n  \"stop_rule\": {\n    \"condition\": \"...\",\n    \"max_rounds\": 3\n  },\n  \"budget_allocation\": {\n    \"total_budget\": 10,\n    \"web\": 5,\n    \"counter\": 2,\n    \"graph\": 2,\n    \"local_file\": 1\n  },\n  \"fallback_chain\": [\n    {\n      \"level\": 1,\n      \"source\": \"tavily_search\",\n      \"trigger_fallback\": \"quota_exhausted | timeout_30s | empty_results\",\n      \"fallback_to\": 2\n    },\n    {\n      \"level\": 2,\n      \"source\": \"bailian_web_search\",\n      \"trigger_fallback\": \"api_error | timeout_30s\",\n      \"fallback_to\": 3\n    },\n    {\n      \"level\": 3,\n      \"source\": \"web_search\",\n      \"trigger_fallback\": \"empty_results | gfw_blocked\",\n      \"fallback_to\": 4\n    },\n    {\n      \"level\": 4,\n      \"source\": \"web_fetch_direct\",\n      \"trigger_fallback\": null,\n      \"fallback_to\": 5\n    },\n    {\n      \"level\": 5,\n      \"source\": \"local_cache\",\n      \"trigger_fallback\": null,\n      \"fallback_to\": null\n    }\n  ],\n  \"degradation_log\": []\n}\n```\n\n---\n\n## 5 种来源类型\n\n| 来源 | 说明 | 核心优势 | 局限 |\n|------|------|----------|------|\n| `web` | 互联网搜索（Tavily\u002F搜索引擎） | 实时性最强，覆盖面最广 | 信源质量参差，有噪音 |\n| `local_file` | 本地文件系统（记忆\u002F缓存\u002F文档） | 零成本，已知内容可靠 | 可能过时，覆盖有限 |\n| `vector` | 向量数据库\u002F知识库 | 语义检索，历史知识密集 | 需预先索引，不含实时 |\n| `graph` | 知识图谱\u002F关系数据库 | 实体关系挖掘，结构化推理 | 建设成本高，覆盖有限 |\n| `counter` | 反证搜索（对立观点\u002F质疑信源） | 纠偏，防止确认偏误 | 消耗额外预算 |\n\n---\n\n## 核心路由规则\n\n### 规则 1：时效性 → 来源优先级\n\n```\nfreshness_required = high  →  web 优先（≥70% 预算）\nfreshness_required = medium →  web + vector\u002Flocal_file 混合\nfreshness_required = low   →  vector\u002Flocal_file 优先，web 补充\n```\n\n### 规则 2：任务类型 → 来源组合\n\n| task_type | 推荐组合 | 说明 |\n|-----------|----------|------|\n| `breaking_news` | web + counter | 实时性最高，必须反证 |\n| `deep_research` | vector + web + graph + counter | 全源深度研究 |\n| `entity_analysis` | graph + web + vector | 实体关系为核心 |\n| `internal_knowledge` | vector + local_file | 内部知识优先 |\n| `tech_evaluation` | web + vector + counter | 技术评估需外部验证 |\n\n### 规则 3：已有材料 → 优先本地\n\n若 `available_sources` 包含 `local_file` 或 `vector`，且任务 subject 在本地有已知相关材料：\n- 优先检索本地 → 识别信息缺口 → 仅缺口部分走 web\n- 节省预算，减少噪音\n\n### 规则 4：反证搜索触发\n\n**必须开启 counter_search**：\n- `need_counter_evidence = true`（显式要求）\n- `task_type = evaluate` 或 `investigate`（隐式需要）\n- `goal_mode = compare`（对比场景天然需要反面证据）\n\n**可以跳过 counter**：\n- `task_type = internal_knowledge` 且目标是纯检索\n- `need_counter_evidence = false` 且 budget_limit 极低（≤3）\n\n### 规则 5：stop_rule 自动生成\n\n| 场景 | stop_rule |\n|------|-----------|\n| 高时效新闻 | \"找到3个独立权威信源确认同一事实后停止\" |\n| 深度研究 | \"每类来源至少覆盖2次，或找到10条高质量结果\" |\n| 实体分析 | \"主实体的关系网络 ≥ 5 个节点后停止 graph 搜索\" |\n| 内部知识 | \"本地命中 ≥ 5 条相关文档后停止\" |\n| 默认 | \"总搜索轮数 ≤ 3 轮，或找到3条以上高置信度结果\" |\n\n### 规则 6：搜索降级链（Fallback Chain）\n\n当首选搜索源不可用时，按预设降级链自动切换：\n\n```\nP1: tavily_search (原生工具，配额1000\u002F月)\n  ↓ quota_exhausted \u002F timeout > 30s \u002F empty_results\nP2: bailian_web_search (百炼Qwen+，国内零延迟)\n  ↓ api_error \u002F timeout > 30s\nP3: web_search (Brave API)\n  ↓ empty_results \u002F GFW封堵\nP4: web_fetch_direct (搜索引擎URL模板直采)\n  ↓ 全部失败\nP5: local_cache (memory\u002F*_cache.md 本地缓存)\n```\n\n**降级执行规则**：\n- 每级失败后自动切换至下一级，不需要人工干预\n- 每次降级事件记录到 `degradation_log[]`\n- 如果 `available_sources` 显式提供，则基于可用源构建降级链（排除不可用源）\n- 降级链中最高可用级别作为实际 `selected_sources[0]`\n\n---\n\n## 执行流程\n\n```\n输入解析 → 提取 task_type \u002F freshness \u002F available_sources\n    → 按规则1-4 确定来源组合和优先级\n    → 按 need_counter_evidence 和规则4 决定是否开 counter\n    → 按规则5 生成 stop_rule\n    → 按 budget_limit 分配预算（默认总预算10次）\n    → 输出 JSON\n```\n\n---\n\n## 参考文档\n\n- **来源选择详细规则**：[references\u002Fsource-selection-rules.md](references\u002Fsource-selection-rules.md)\n- **完整输入输出用例**：[references\u002Fexamples.md](references\u002Fexamples.md)\n","# Source Router — 来源路由技能\n\n## 核心职责\n\n根据任务特征、时间要求和信息缺口，**决定去哪找、先找什么、是否开反证搜索、何时停止**。\n\n**边界（绝对禁止）**：\n- ❌ 不执行搜索\n- ❌ 不生成最终判断或结论\n- ❌ 不自行 invent 新的来源类型\n\n**唯一产出**：搜索路由计划。\n\n---\n\n## 输入规格（最小集）\n\n| 字段 | 必填 | 说明 |\n|------|------|------|\n| `task_type` | ✅ | 任务类型：`breaking_news` \u002F `deep_research` \u002F `entity_analysis` \u002F `internal_knowledge` \u002F `tech_evaluation` |\n| `primary_subject` | ✅ | 核心实体\u002F对象 |\n| `goal_mode` | ✅ | 目标模式：`analyze` \u002F `evaluate` \u002F `compare` \u002F `investigate` |\n| `freshness_required` | ✅ | 时效性要求：`high`（≤24h）\u002F `medium`（≤30天）\u002F `low`（不限） |\n| `available_sources` | ✅ | 当前环境可用的来源列表，从 `[web, local_file, vector, graph, counter]` 中选 |\n| `need_counter_evidence` | ✅ | 是否需要反面证据搜索：`true` \u002F `false` |\n\n**可选输入**：\n| 字段 | 说明 |\n|------|------|\n| `information_gaps` | 已知信息缺口列表 |\n| `budget_limit` | 搜索次数预算上限 |\n| `preferred_domains` | 优先域名列表 |\n\n---\n\n## 输出规格（固定结构）\n\n```json\n{\n  \"task_id\": \"SR-\u003Cuuid前8位>\",\n  \"task_type\": \"...\",\n  \"primary_subject\": \"...\",\n  \"selected_sources\": [\n    {\n      \"source\": \"web\",\n      \"priority\": 1,\n      \"rationale\": \"...\",\n      \"search_hints\": [\"...\", \"...\"]\n    }\n  ],\n  \"search_order\": [\"web\", \"counter\", \"graph\"],\n  \"counter_search_enabled\": true,\n  \"counter_trigger\": \"...\",\n  \"stop_rule\": {\n    \"condition\": \"...\",\n    \"max_rounds\": 3\n  },\n  \"budget_allocation\": {\n    \"total_budget\": 10,\n    \"web\": 5,\n    \"counter\": 2,\n    \"graph\": 2,\n    \"local_file\": 1\n  },\n  \"fallback_chain\": [\n    {\n      \"level\": 1,\n      \"source\": \"tavily_search\",\n      \"trigger_fallback\": \"quota_exhausted | timeout_30s | empty_results\",\n      \"fallback_to\": 2\n    },\n    {\n      \"level\": 2,\n      \"source\": \"bailian_web_search\",\n      \"trigger_fallback\": \"api_error | timeout_30s\",\n      \"fallback_to\": 3\n    },\n    {\n      \"level\": 3,\n      \"source\": \"web_search\",\n      \"trigger_fallback\": \"empty_results | gfw_blocked\",\n      \"fallback_to\": 4\n    },\n    {\n      \"level\": 4,\n      \"source\": \"web_fetch_direct\",\n      \"trigger_fallback\": null,\n      \"fallback_to\": 5\n    },\n    {\n      \"level\": 5,\n      \"source\": \"local_cache\",\n      \"trigger_fallback\": null,\n      \"fallback_to\": null\n    }\n  ],\n  \"degradation_log\": []\n}\n```\n\n---\n\n## 5 种来源类型\n\n| 来源 | 说明 | 核心优势 | 局限 |\n|------|------|----------|------|\n| `web` | 互联网搜索（Tavily\u002F搜索引擎） | 实时性最强，覆盖面最广 | 信源质量参差，有噪音 |\n| `local_file` | 本地文件系统（记忆\u002F缓存\u002F文档） | 零成本，已知内容可靠 | 可能过时，覆盖有限 |\n| `vector` | 向量数据库\u002F知识库 | 语义检索，历史知识密集 | 需预先索引，不含实时 |\n| `graph` | 知识图谱\u002F关系数据库 | 实体关系挖掘，结构化推理 | 建设成本高，覆盖有限 |\n| `counter` | 反证搜索（对立观点\u002F质疑信源） | 纠偏，防止确认偏误 | 消耗额外预算 |\n\n---\n\n## 核心路由规则\n\n### 规则 1：时效性 → 来源优先级\n\n```\nfreshness_required = high  →  web 优先（≥70% 预算）\nfreshness_required = medium →  web + vector\u002Flocal_file 混合\nfreshness_required = low   →  vector\u002Flocal_file 优先，web 补充\n```\n\n### 规则 2：任务类型 → 来源组合\n\n| task_type | 推荐组合 | 说明 |\n|-----------|----------|------|\n| `breaking_news` | web + counter | 实时性最高，必须反证 |\n| `deep_research` | vector + web + graph + counter | 全源深度研究 |\n| `entity_analysis` | graph + web + vector | 实体关系为核心 |\n| `internal_knowledge` | vector + local_file | 内部知识优先 |\n| `tech_evaluation` | web + vector + counter | 技术评估需外部验证 |\n\n### 规则 3：已有材料 → 优先本地\n\n若 `available_sources` 包含 `local_file` 或 `vector`，且任务 subject 在本地有已知相关材料：\n- 优先检索本地 → 识别信息缺口 → 仅缺口部分走 web\n- 节省预算，减少噪音\n\n### 规则 4：反证搜索触发\n\n**必须开启 counter_search**：\n- `need_counter_evidence = true`（显式要求）\n- `task_type = evaluate` 或 `investigate`（隐式需要）\n- `goal_mode = compare`（对比场景天然需要反面证据）\n\n**可以跳过 counter**：\n- `task_type = internal_knowledge` 且目标是纯检索\n- `need_counter_evidence = false` 且 budget_limit 极低（≤3）\n\n### 规则 5：stop_rule 自动生成\n\n| 场景 | stop_rule |\n|------|-----------|\n| 高时效新闻 | \"找到3个独立权威信源确认同一事实后停止\" |\n| 深度研究 | \"每类来源至少覆盖2次，或找到10条高质量结果\" |\n| 实体分析 | \"主实体的关系网络 ≥ 5 个节点后停止 graph 搜索\" |\n| 内部知识 | \"本地命中 ≥ 5 条相关文档后停止\" |\n| 默认 | \"总搜索轮数 ≤ 3 轮，或找到3条以上高置信度结果\" |\n\n### 规则 6：搜索降级链（Fallback Chain）\n\n当首选搜索源不可用时，按预设降级链自动切换：\n\n```\nP1: tavily_search (原生工具，配额1000\u002F月)\n  ↓ quota_exhausted \u002F timeout > 30s \u002F empty_results\nP2: bailian_web_search (百炼Qwen+，国内零延迟)\n  ↓ api_error \u002F timeout > 30s\nP3: web_search (Brave API)\n  ↓ empty_results \u002F GFW封堵\nP4: web_fetch_direct (搜索引擎URL模板直采)\n  ↓ 全部失败\nP5: local_cache (memory\u002F*_cache.md 本地缓存)\n```\n\n**降级执行规则**：\n- 每级失败后自动切换至下一级，不需要人工干预\n- 每次降级事件记录到 `degradation_log[]`\n- 如果 `available_sources` 显式提供，则基于可用源构建降级链（排除不可用源）\n- 降级链中最高可用级别作为实际 `selected_sources[0]`\n\n---\n\n## 执行流程\n\n```\n输入解析 → 提取 task_type \u002F freshness \u002F available_sources\n    → 按规则1-4 确定来源组合和优先级\n    → 按 need_counter_evidence 和规则4 决定是否开 counter\n    → 按规则5 生成 stop_rule\n    → 按 budget_limit 分配预算（默认总预算10次）\n    → 输出 JSON\n```\n\n---\n\n## 参考文档\n\n- **来源选择详细规则**：[references\u002Fsource-selection-rules.md](references\u002Fsource-selection-rules.md)\n- **完整输入输出用例**：[references\u002Fexamples.md](references\u002Fexamples.md)\n",{"name":5,"description":7},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fs\u002Fsource-router",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill source-router",{"tool":39,"command":40},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill source-router",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill source-router","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fs\u002Fsource-router\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]