Backend 1,851 installs

smart-search

by jackwener/opencli

基于 opencli 命令的智能搜索路由器。当用户想要使用 OpenCLI、CLI 或 API 搜索、查询、查找或研究信息时,尤其是涉及指定网站、社交媒体、技术资料、新闻、购物、旅游、求职、金融或中文内容时,务必使用此 skill

Skill content

Intelligent search router that dynamically selects OpenCLI sources based on query context and data requirements.

- Routes queries to optimal OpenCLI search sources (AI providers like grok, doubao, gemini; or vertical platforms for shopping, travel, jobs, finance, social media, tech docs, news)

- Enforces live registry checks via opencli list -f yaml and real-time help inspection (opencli <site> -h) to avoid stale command signatures and parameter assumptions

- Implements strict per-query budgets: one AI source per question, non-AI sources capped at 2 calls with documented justification for second calls

- Requires search summary reporting at query end, documenting which sites were queried, search terms used, call counts, and any frequency-limited skips

- Prioritizes single AI source selection based on language and context (grok for real-time/English, doubao for Chinese/lifestyle, gemini for global web content) before supplementing with 1–2 specialized vertical sources only when AI results are insufficient

智能搜索路由器

根据话题和场景,将查询路由到最佳的 opencli 搜索源。此 skill 的核心目标不是记忆命令,而是先定位数据源,再让 Agent 通过 opencli 自己读取实时帮助,避免文档漂移。

强制预检

每次使用前,必须先做下面两步:

- 运行 opencli list -f yaml

- 用 live registry 确认候选站点是否存在,并检查 strategy、browser、domain

选定站点后,必须再做下面两步:

- 运行 opencli <site> -h 查看该站点有哪些子命令

- 若已锁定某个子命令,再运行 opencli <site> <command> -h 查看参数、输出列、策略

不要在 skill 文档里硬编码参数或假设命令签名;以 opencli ... -h 的实时输出为准。

主路由规则