Chanai Search Workflow
Use this skill as the default workflow for external/public-web search.
Do not use it for local memory recall; use memory search for that.
Core workflow
- 1. Run
scripts/run_search_workflow.py "<query>" first. - Read the returned plan:
- intent
- route (
domestic-first /
global-first /
mixed)
- dynamic subtype if any
- suggested site priority
- starter URLs
- 3. Execute search using the highest-priority routes first.
- If the first route fails, read
references/fallbacks.md and switch engines/sites. - After collecting evidence, use
scripts/score_result.py to score reliability. - Use
scripts/search_report.py or references/reporting-template.md to produce the final response.
Dynamic topics rule
If the query is about flights, prices, inventory, tickets, bookings, hotel availability, or other real-time topics:
- - treat public search as preliminary discovery only
- prefer real-time/official/transaction-adjacent pages first
- do not present snippets or aggregator blurbs as final truth
- distinguish clearly between preliminary findings and real-time page findings
Scripts
Unified entrypoint
CODEBLOCK0
Individual helpers
CODEBLOCK1
References
- -
references/dynamic-info.md — boundary rules for real-time topics - INLINECODE9 — source priority by scenario
- INLINECODE10 — intent taxonomy
- INLINECODE11 — direct site-entry URL templates
- INLINECODE12 — reusable search patterns
- INLINECODE13 — fallback strategy when search is blocked/weak
- INLINECODE14 — reliability rubric
- INLINECODE15 — final response templates
- INLINECODE16 — Chinese-site search guidance
- INLINECODE17 — global-site search guidance
Notes
- - Prefer domestic-first for Chinese consumer info, local travel, Chinese community content, and local ecommerce.
- Prefer global-first for GitHub, API docs, English tutorials, research, and international sources.
- Prefer mixed when both Chinese and global perspectives matter.
- For dynamic subtypes, the workflow should prioritize scenario-specific sources such as flights, hotels, product-price, ticketing, and finance-news.
Chanai 搜索工作流
将此技能作为外部/公共网络搜索的默认工作流。
请勿将其用于本地记忆检索;该用途请使用记忆搜索。
核心工作流
- 1. 首先运行 scripts/runsearchworkflow.py 。
- 阅读返回的计划:
- 意图
- 路由(domestic-first / global-first / mixed)
- 动态子类型(如有)
- 建议的站点优先级
- 起始 URL
- 3. 优先使用最高优先级的路由执行搜索。
- 如果第一条路由失败,请阅读 references/fallbacks.md 并切换引擎/站点。
- 收集证据后,使用 scripts/scoreresult.py 对可靠性进行评分。
- 使用 scripts/searchreport.py 或 references/reporting-template.md 生成最终回复。
动态主题规则
如果查询涉及航班、价格、库存、票务、预订、酒店可用性或其他实时主题:
- - 仅将公开搜索视为初步发现
- 优先使用实时/官方/交易相关页面
- 不要将摘要或聚合器简介作为最终事实
- 清晰区分初步发现与实时页面发现
脚本
统一入口
bash
python3 scripts/run
searchworkflow.py 上海直飞赤峰航班价格
python3 scripts/run
searchworkflow.py openclaw memory search docs
独立辅助工具
bash
python3 scripts/query_router.py 周杰伦演唱会门票开售
python3 scripts/dynamic_guard.py 上海外滩酒店房价
python3 scripts/build_urls.py domestic-first dynamic iPhone 16 京东价格
python3 scripts/score_result.py 5 5 4 5
python3 scripts/search_report.py domestic-first Ctrip Trip medium 查到了候选结果 公开搜索只做初筛 最终以实时页为准
参考资料
- - references/dynamic-info.md — 实时主题的边界规则
- references/priorities.md — 按场景划分的源优先级
- references/intent-classification.md — 意图分类法
- references/direct-templates.md — 直接站点入口 URL 模板
- references/use-cases.md — 可复用的搜索模式
- references/fallbacks.md — 搜索受阻/薄弱时的回退策略
- references/reliability-scoring.md — 可靠性评分标准
- references/reporting-template.md — 最终回复模板
- references/domestic-search.md — 中文站点搜索指南
- references/international-search.md — 全球站点搜索指南
备注
- - 对于中国消费者信息、本地旅行、中文社区内容和本地电商,优先使用国内优先。
- 对于 GitHub、API 文档、英文教程、研究和国际来源,优先使用全球优先。
- 当中文和全球视角都重要时,优先使用混合模式。
- 对于动态子类型,工作流应优先考虑特定场景的源,如航班、酒店、产品价格、票务和财经新闻。