← Back to Skills Marketplace
cfyuanyi

Chanai Search Workflow

by ShawnYuen · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
228
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install 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 po...
README (SKILL.md)

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 "\x3Cquery>" 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:

  • 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

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

  • references/dynamic-info.md — boundary rules for real-time topics
  • references/priorities.md — source priority by scenario
  • references/intent-classification.md — intent taxonomy
  • references/direct-templates.md — direct site-entry URL templates
  • references/use-cases.md — reusable search patterns
  • references/fallbacks.md — fallback strategy when search is blocked/weak
  • references/reliability-scoring.md — reliability rubric
  • references/reporting-template.md — final response templates
  • references/domestic-search.md — Chinese-site search guidance
  • references/international-search.md — 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.
Usage Guidance
This skill appears coherent for public-web search: it only classifies queries, generates starter URLs, and formats reports. Before installing, confirm whether your agent (or the environment that will run these scripts) has network or shell execution rights. The docs mention a fallback that uses 'exec + curl' and include powerful search operators (e.g., searches that could locate exposed files or credentials). If you do not want the agent to perform raw HTTP fetches or arbitrary shell commands, restrict its web_fetch/shell permissions or review and remove those fallback steps. As always, review the Python scripts yourself if you need stronger assurance.
Capability Analysis
Type: OpenClaw Skill Name: chanai-search-workflow Version: 1.0.0 The 'chanai-search-workflow' skill bundle is a comprehensive search orchestration tool designed to help an AI agent choose between domestic (Chinese) and global search engines based on query intent. The included Python scripts (e.g., run_search_workflow.py, build_urls.py) are helper utilities that classify queries, generate search URLs for legitimate platforms like Google, Baidu, and Ctrip, and calculate reliability scores. No evidence of malicious intent, data exfiltration, or harmful prompt injection was found; the workflow focuses on improving search accuracy and handling real-time data (like flight prices) with appropriate caution.
Capability Assessment
Purpose & Capability
Name/description match the included scripts and reference docs: intent classification, route selection, starter-URL generation, fallback rules, scoring, and report generation. The files only build/search-plan artifacts and templates; there are no unrelated credentials, binaries, or config paths requested.
Instruction Scope
SKILL.md and the scripts confine themselves to classification, URL generation, scoring, and report formatting. References contain examples using web_fetch and mention a last-resort 'exec + curl' fallback and advanced Google operators (e.g., intext:password filetype:txt). Those are within the scope of a search workflow but increase the potential for aggressive scraping or discovery of sensitive content if the agent is given network/shell privileges.
Install Mechanism
No install spec; skill is instruction+scripts only. Files are plain Python scripts (no downloads, no third-party install steps). This is low-risk from an installation perspective.
Credentials
No required environment variables, no credentials, and no config paths are requested. All network endpoints referenced are search engines or public sites consistent with the stated purpose.
Persistence & Privilege
always is false, model invocation is allowed (normal). The skill does not request persistent system privileges or modify other skills/configs.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install chanai-search-workflow
  3. After installation, invoke the skill by name or use /chanai-search-workflow
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial public release. Added dual-channel search workflow with local memory search and external web search routing. Includes intent classification, domestic/global route selection, dynamic subtype detection, human-like source priority, fallback strategy, reliability scoring, and structured reporting.
Metadata
Slug chanai-search-workflow
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Chanai Search Workflow?

External web search workflow for Chinese and global public-web information. Use when searching news, flights, prices, products, docs, tutorials, community po... It is an AI Agent Skill for Claude Code / OpenClaw, with 228 downloads so far.

How do I install Chanai Search Workflow?

Run "/install chanai-search-workflow" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Chanai Search Workflow free?

Yes, Chanai Search Workflow is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Chanai Search Workflow support?

Chanai Search Workflow is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Chanai Search Workflow?

It is built and maintained by ShawnYuen (@cfyuanyi); the current version is v1.0.0.

💬 Comments