Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
nex-zmh avatar

Multi Search

  • 773 installs
  • 11 repo stars
  • Updated February 20, 2026
  • nex-zmh/agent-websearch-skill

multi-search is an agent skill that performs web searches with automatic engine failover across DuckDuckGo, Tavily, Bing API, and Bing scraper based on network conditions and API quotas.

About

multi-search is a Python agent skill that consolidates multiple search engines with automatic network detection and intelligent failover. In quality-priority mode the engine order is Tavily API at 1000 queries per month, then DuckDuckGo unlimited free search, then Bing API, then a Bing scraper fallback. The skill manages API quotas and network caching so agents get reliable results without manual engine selection. Dependencies include requests, tavily, and duckduckgo_search, with optional TAVILY_API_KEY and BING_API_KEY environment variables. Developers reach for multi-search when building agents that need resilient web research across varying network environments and quota constraints.

  • Automatically selects from Tavily, DuckDuckGo, Bing API, and Bing crawler based on availability and priority
  • Two operating modes: quality-first (Tavily priority) and balanced (free engines first)
  • Built-in quota management and 5-minute network detection cache
  • Supports both general search and specialized search_skills function for agent skill discovery
  • Zero-config fallback to unlimited free engines when APIs are unavailable

Multi Search by the numbers

  • 773 all-time installs (skills.sh)
  • +20 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #1,352 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/nex-zmh/agent-websearch-skill --skill multi-search

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs773
repo stars11
Security audit2 / 3 scanners passed
Last updatedFebruary 20, 2026
Repositorynex-zmh/agent-websearch-skill

How do agents search the web with automatic failover?

Get reliable web search results without worrying about API quotas, network blocks, or choosing the right engine.

Who is it for?

Agent developers building research workflows who need automatic search engine switching across blocked networks and varying API quota limits.

Skip if: Developers needing deep site crawling, JavaScript-rendered page extraction, or production search index hosting should use dedicated crawl infrastructure.

When should I use this skill?

Agent needs web search, API quota management, automatic engine switching, or reliable results across changing network environments.

What you get

Ranked web search results with engine selection logs, quota usage tracking, and network-adapted cache hits.

  • search results
  • quota usage logs

By the numbers

  • Tavily API supports 1000 queries per month in quality-priority mode
  • Integrates 4 search engines with automatic failover

Files

SKILL.mdMarkdownGitHub ↗

Multi-Search Skill - 智能多引擎搜索

本技能整合多个搜索引擎,自动检测网络环境,智能选择最佳可用引擎。

引擎优先级

质量优先模式 (prefer_quality=True)

1. Tavily API (1000次/月) - 质量最高,需 API Key 2. DuckDuckGo (无限免费) - 无需 API Key 3. Bing Web Search API (1000次/月) - 需 API Key 4. Bing 爬虫 (无限免费) - 最终回退

平衡模式 (prefer_quality=False, 默认)

1. DuckDuckGo (无限免费) - 优先免费引擎 2. Tavily API (1000次/月) - 如果配置了 API Key 3. Bing Web Search API (1000次/月) 4. Bing 爬虫 (无限免费)

核心能力

  • 智能网络检测与引擎切换
  • 自动配额管理(Tavily/Bing API)
  • 支持网页内容抓取
  • 5分钟网络检测缓存

使用方式

基本搜索

from multi_search import search

# 平衡模式 - 优先免费引擎
results = search("Python tutorial", max_results=5)

# 质量优先模式 - 优先使用 Tavily
results = search("AI research", max_results=5, prefer_quality=True)

# 强制重新检测网络(切换 VPN 后使用)
results = search("OpenClaw skills", max_results=5, force_network_check=True)

搜索技能(自动质量优先)

from multi_search import search_skills

results = search_skills("OpenClaw AI agent automation", max_results=10)

查看系统状态

from multi_search import get_status

status = get_status()  # 使用缓存
status = get_status(force_network_check=True)  # 强制重新检测

抓取网页详细内容

from multi_search import search, fetch_web_content, fetch_search_results_content

# 搜索并抓取第一个结果的详细内容
results = search("OpenClaw new features", max_results=3)
if results:
    content = fetch_web_content(results[0]['href'], max_length=3000)
    # content['title'], content['content'], content['success']

# 批量抓取所有搜索结果的详细内容
enriched_results = fetch_search_results_content(results, max_length=2000)
for r in enriched_results:
    if r.get('full_content'):
        # 使用 summarize 技能总结内容
        pass

与 Summarize 技能结合使用

OpenClaw 工作流:
1. 使用 multi-search 搜索关键词
2. 选择感兴趣的搜索结果
3. 使用 fetch_web_content() 抓取网页内容
4. 使用 summarize 技能总结网页内容
5. 将摘要呈现给用户

返回结果格式

[
    {
        'title': '结果标题',
        'href': 'https://example.com',
        'body': '结果摘要...',
        'source': 'duckduckgo'  # 或 'tavily', 'bing_api', 'bing_scraper'
    }
]

参数说明

  • query: 搜索关键词
  • max_results: 最大结果数(默认5)
  • prefer_quality: 是否优先质量(默认False)
  • force_network_check: 是否强制重新检测网络(默认False)

注意事项

  • DuckDuckGo: 免费无限,但某些网络环境无法访问
  • Tavily: 质量高,需要 API key,1000次/月
  • Bing API: 官方稳定,需要 Azure 账号,1000次/月
  • Bing 爬虫: 免费无限,但可能受反爬影响

Related skills

FAQ

What search engines does multi-search support?

multi-search supports Tavily API, DuckDuckGo, Bing API, and a Bing scraper fallback. Quality-priority mode tries Tavily first at 1000 queries per month, then unlimited DuckDuckGo, then Bing options.

What Python packages does multi-search require?

multi-search requires requests, tavily, and duckduckgo_search installed via pip. Optional TAVILY_API_KEY and BING_API_KEY environment variables unlock higher-quality API engines.

Is Multi Search safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

AI & Agent Buildingagentsresearchautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.