Chanai Search Workflow
name: chanai-search-workflow
by cfyuanyi · published 2026-03-22
$ claw add gh:cfyuanyi/cfyuanyi-chanai-search-workflow---
name: chanai-search-workflow
description: External web search workflow for Chinese and global public-web information. Use when searching news, flights, prices, products, docs, tutorials, community posts, websites, PDFs, research, or other external information. Classify intent first, detect dynamic real-time topics, choose domestic-first or global-first search routes, prioritize human-usable sites, generate starter URLs, apply fallback strategy, and report reliability.
---
# 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.
2. 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.
4. If the first route fails, read `references/fallbacks.md` and switch engines/sites.
5. After collecting evidence, use `scripts/score_result.py` to score reliability.
6. 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:
Scripts
Unified entrypoint
python3 scripts/run_search_workflow.py "上海直飞赤峰航班价格"
python3 scripts/run_search_workflow.py "openclaw memory search docs"Individual helpers
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
Notes
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...