PlugWiki

smart-search Skill: Route Searches to the Right Site Through opencli

Makes your agent choose the best website or AI source for a search and run it through the opencli command line tool.

Installs
16.9K
on skills.sh
Stars
30.8K
on GitHub
Files
8
besides SKILL.md
Updated
Oct 2026
last repo commit

You ask a research question, and the skill picks one source. If you name a site, it uses that. If not, it picks one AI source (Grok, Doubao or Gemini) based on language and topic, then adds one or two specialist sites if it needs original posts, videos, products or jobs. It checks live help with opencli list -f yaml and opencli <site> -h first, instead of relying on stored commands.

It limits itself to one call per AI site and two per other site for each question, and ends every answer with a short search summary. It needs the opencli CLI and its Chrome extension, so it works through your logged-in browser. The skill text is in Chinese.

Good for

  • People who research across Chinese and English sites, including social media, news and shopping
  • Opencli users who want the agent to choose a source for them
  • Anyone comparing what Grok, Doubao or Gemini say about a topic

Install smart-search

Claude Code

  1. 1

    Copy this prompt.

    Install the smart-search skill in Claude Code. Run this command:
    
    npm install -g @jackwener/opencli
    
    Then check that it loaded and tell me how to use it.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Node.js 20.18.1 or newer.

All three parts are needed. The README also offers the OpenCLIApp desktop app as an alternative to the npm install.

From the project README. Source.

What's in the skill

When it loads

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

Sections in SKILL.md

  1. 强制预检
  2. 主路由规则
  3. 单题预算与频率限制
  4. 查询结束汇报
  5. AI 源选择
  6. AI 查询词建议
  7. 专用源补充时机
  8. 处理不可用的源
  9. 参考文件

Key facts

Installs on skills.sh
16,851 (Nov 2, 2026)

What it includes

  • Runs opencli list and opencli <site> -h before searching

    Confirms the site exists and reads its live arguments, so the skill never hard-codes commands.

    Runs code · Preflight

  • Named site first, otherwise one AI source

    If you do not name a site it picks one of grok, doubao or gemini, then adds 1 to 2 specialist sources only when the AI answer is thin.

    Main routing rule

  • Grok for X and live debate, Doubao for Chinese content, Gemini for global web

    Each AI site is called at most once per question unless you ask to compare them.

    Runs code · AI sources

  • Tech, social, media, info, shopping, travel and other sites

    Guides name sites such as twitter, weibo and xiaohongshu; the agent opens only the reference file that fits the query.

    Runs code · Specialist sources

  • 1 call per AI site, 2 per other site, per question

    A failed call still counts. After the limit the agent skips the site and says so.

    Call budget

  • Ends each answer with sites, queries and counts

    Lists what was searched, with what terms, how many times, and anything skipped.

    Search summary

From the official docs

Permissions

Medium risk

Searches run through your logged-in Chrome and the query text goes to the sites it picks. Use a separate Chrome profile and keep private details out of the prompt.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • It searches through your logged-in browser

    opencli connects to Chrome with an extension and a local daemon, so searches run with your own accounts. Use a separate Chrome profile if that matters. github.com

  • Your search text goes to third-party sites

    Queries are sent to the AI and social sites it picks. Keep private details out of the prompt. github.com

Technical details
Talks toSites it searches, reached through your logged-in Chrome via opencli
Sign-in and keysUses your existing browser logins through the opencli Browser Bridge extension.

Questions

What does the smart-search skill do?

It chooses which website or AI source to search and runs the query through opencli, then reports which sites and terms it used. It is a router and holds no search data of its own.

How do I install it?

Use the install box above. You need three things: the opencli CLI, its Chrome extension, and the skill. Run opencli doctor to check the browser connection.

Does it need an API key?

SKILL.md names none. The skill only runs opencli commands, and the opencli README says its browser commands work through your logged-in Chrome session. If you see an Unauthorized or empty result, the README says to log in to that site in Chrome again.

Is it safe?

It runs opencli commands that open sites through your logged-in Chrome, and your query text goes to the sites it searches. Do not search with private or sensitive text, and remember the extension has access to browser pages.

Can it post or buy things?

The smart-search SKILL.md only tells the agent to search, query and read help. The opencli commands it can reach are broader: the README's command table lists write actions for some sites, such as twitter post, like and reply and xiaohongshu publish and follow. Watch what the agent runs and say 'search only' if you want to be sure.

How is it different from opencli-usage or opencli-browser?

Those are sibling skills in the same repo. opencli-browser drives a page by hand, opencli-usage is a command reference, and smart-search decides which site to search first.

Why did it skip a site?

The skill caps calls per question and skips sites that are unavailable or past the limit. It says which ones in the search summary.

Information

updated Nov 2, 2026

Folder
skills/smart-search

jackwener/opencliskills.sh

Sources

Docs, issue trackers and discussions this page is built from.

Show all 3
  1. opencli README · github.com
  2. smart-search SKILL.md · github.com
  3. sources-ai.md · github.com

Updated Nov 2, 2026.