MCPInstall

web-search

MUST USE when the user needs current, online, or web-derived information — news, latest releases, vendor docs, real-world examples, recent changes, or anything not in the model's training set. LLM-neutral skill that exposes a unified web search CLI behind a single command. Runs single or multi-provider in parallel, saves raw + normalized JSON to a temp directory, prints the path so callers can pipe through rg / jq / grep. Zero-config out of the box. Works identically on macOS, Linux, WSL, Git Bash for Windows, and any environment with Python 3.8+. Triggers: 'search the web', 'look up online', 'google this', 'find current information', 'latest news', 'recent docs', 'check the internet', 'web search', 'browser search', 'research this', 'what is the latest', 'who is X', 'find examples of', 'is there documentation for', 'how do people solve', 'web-search', 'websearch'.

Installs
39
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/code-yeongyu/ultimate-web-search-skill --skill web-search
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads web-search automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Web Search

Run a search across one or many providers, get a JSON file you can pipe through rg, jq, or any other tool. Use this whenever the answer depends on current information that may not be in your training data — recent releases, today's news, a specific vendor's API as of this week, real-world example usage of a library, security advisories, etc.

Decision: should I use this skill?

Question matchesUse web-search?Why
"What is the current X?" / "What's the latest Y?"yesTime-sensitive
"Find examples of how people use library Z"yesReal-world code corpus
"What did vendor announce about A this month?"yesRecent vendor announcements
"Look up the docs for command-line flag B"yesAuthoritative reference
"What's the syntax for X?" (well-known language feature)noUse training knowledge
"Explain the difference between concept C and D"maybeUse training first; confirm with search if user wants citations
"Find the file in this codebase that does X"noUse grep / explore; not web search

If you decide to search, choose the right invocation pattern below.

How to invoke

Three patterns, in order of complexity:

Pattern 1: single provider (most common)

python3 scripts/web-search "<your query>"

Uses the configured default provider (DuckDuckGo if no API keys are set up). Reads stdout for a human-readable preview AND a machine footer that names the result file:

=== duckduckgo (10 results, 393ms) ===
  [1] Python (programming language)
      https://en.wikipedia.org/wiki/Python_(programming_language)
      Python is a high-level, general-purpose programming language...
  [2] ...

--- WEBSEARCH ---
RESULT_FILE: /tmp/web-search/20260501T073731Z/combined.json
RUN_DIR:     /tmp/web-search/20260501T073731Z
PROVIDERS:   duckduckgo
TOTAL_RESULTS: 10

Pattern 2: specific provider

python3 scripts/web-search --provider tavily "<query>"
python3 scripts/web-search --provider perplexity "<query>" --max-results 5
python3 scripts/web-search --provider anthropic "<query>"

Use a specific provider when you want a known feature — Perplexity for recency-filtered queries, Tavily for clean LLM snippets, Anthropic/OpenAI/xAI for model-mediated synthesis.

Pattern 3: parallel multi-provider

# Subset of providers in parallel:
python3 scripts/web-search --providers tavily,brave,perplexity "<query>"

# Every configured provider in parallel:
python3 scripts/web-search --all "<query>"

Use multi-provider when:

  • the topic is novel and you want diverse indexes triangulating
  • a single provider returned thin or unrelated results on the first try
  • the user asked for "thorough research" or "from multiple sources"

The skill saves each provider's output independently, so partial failures still produce useful data.

Pattern 4: sequential fallback chain (config-driven)

Add a fallback field to your config and the skill runs providers sequentially, stopping at the first one that returns results:

{
  "default": "brave",
  "fallback": ["openai", "duckduckgo", "mwmbl"]
}

Now python3 scripts/web-search "<query>" (no --provider flag) tries brave first; if it errors out OR returns 0 results, it falls through to openai; missing credentials silently skip a slot, so the chain proceeds to duckduckgo, etc. Footer reports MODE: fallback and FALLBACK_TRIED: <providers that failed>.

Use a fallback chain when:

  • you want resilience against rate limits / outages on a paid provider
  • you want a free safety net under a paid primary
  • you're future-proofing — list openai in the chain today and it activates the moment you add an apiKey

--provider, --providers, --all all override the chain — use those when you want a specific behavior for one call.

Reading the results

Every run writes to <TMP_ROOT>/<run-id>/. The path appears in stdout as RESULT_FILE:. Default <TMP_ROOT> is /tmp/web-search on macOS/Linux and <system-temp>/web-search on Windows.

Three useful flags for downstream automation:

FlagEffect
--print-path-onlyPrint only the absolute combined.json path. Use inside $(...).
--jsonPrint the full manifest JSON to stdout. Pipe straight into jq.
--no-previewSkip the human preview, keep only the machine footer.

Pipelines (the point of this skill)

The whole point of dumping JSON to disk is so you can filter, transform, and combine results without re-running the search. Examples:

# Get every URL across all providers:
RESULT=$(python3 scripts/web-search --all --print-path-only "...")
jq -r '.manifests[].results[].url' "$RESULT"

# Filter results to lines mentioning "release":
rg -i "release" "$RESULT"

# Stream straight from --json without disk:
python3 scripts/web-search --json "..." | jq '.manifests[].results[0]'

# Top result per provider:
jq -r '.manifests[] | "\(.provider): \(.results[0].title) - \(.results[0].url)"' "$RESULT"

# Dedupe across providers, sorted by score:
jq '[.manifests[].results[]] | unique_by(.url) | sort_by(-(.score // 0)) | .[:10]' "$RESULT"

Many more recipes in references/pipelines.md.

When the wrapper is not available

If the host has curl but no Python (some Windows machines, distroless containers, jailed CI), invoke the providers directly. Every provider's exact request shape is documented in references/curl-recipes.md. The output schema matches what the skill produces internally — same fields, same names.

Configuration

The skill works with zero configuration — DuckDuckGo and MWMBL accept anonymous calls. Provider variety improves with credentials. Drop a config file in any of these locations:

OSPath
macOS / Linux~/.config/web-search/config.json
Windows%APPDATA%\web-search\config.json
Any (project-local)./web-search.json
Any (env var)$WEBSEARCH_CONFIG points to a file

Or set the matching env var (TAVILY_API_KEY, BRAVE_API_KEY, etc.) and the skill picks it up. See references/setup.md for per-provider key acquisition steps.

Validate your setup:

python3 scripts/web-search --check
python3 scripts/web-search --list-providers

baseUrl override (every provider)

Every provider supports a baseUrl field that fully replaces the default endpoint:

{
  "providers": {
    "tavily":    {"apiKey": "tvly-...", "baseUrl": "https://eu.api.tavily.com/search"},
    "anthropic": {"apiKey": "sk-ant-...", "baseUrl": "https://anthropic-gw.internal.example.com/v1/messages"},
    "openai":    {"apiKey": "sk-...", "baseUrl": "http://localhost:8787/openai/v1/responses"}
  }
}

Use it for self-hosted proxies, regional mirrors, corporate gateways, or local mocks. The override is complete — the skill does not concatenate with the default. See references/base-urls.md for concrete patterns.

Cross-platform behavior

Identical commands work on macOS, Linux, WSL, Git Bash, Windows native, and containers. The Python script uses only the standard library and pathlib.Path for path handling — no shell-isms, no /-vs-\ issues.

Windows-specific notes:

# PowerShell:
$env:TAVILY_API_KEY = "tvly-..."
python scripts\web-search "your query"

# cmd.exe:
set TAVILY_API_KEY=tvly-...
python scripts\web-search "your query"

The shebang #!/usr/bin/env python3 is ignored on Windows — invoke python (or py) explicitly. Full guide in references/platform-notes.md.

Provider selection guide

ProviderAuthBest for
duckduckgononeQuick factual lookups; "what is X"
mwmblnoneFree fallback for actual web links
exarequiredSemantic search; technical queries
tavilyrequiredLLM-friendly clean snippets
braverequiredIndependent index; privacy-sensitive
serperrequiredGoogle's organic results, cheap
google-cserequired + CSE idOfficial Google with custom engine
z-airequiredChinese-language queries
perplexityrequiredRecency-filtered; pure or with answer
xairequiredGrok web_search + x_search (X/Twitter posts)
openairequiredWeb search synthesized by GPT
anthropicrequiredWeb search synthesized by Claude

Full catalog with API shapes, server caps, and quirks: references/providers/index.md. Each provider has its own dedicated page (e.g. providers/tavily.md, providers/anthropic.md).

Domain filtering

Restrict results to or away from specific domains:

python3 scripts/web-search "..." --include docs.python.org,python.org
python3 scripts/web-search "..." --exclude reddit.com,medium.com

Both --include and --exclude accept comma-separated lists. Some providers (z-ai, xAI) have stricter caps — see the per-provider pages under references/providers/. Allowed and blocked are mutually exclusive at call time.

Cost awareness

TierProviders
Free, no keyduckduckgo, mwmbl
Free with key (small free tier)tavily, serper, google-cse, perplexity (small)
Paid per callbrave, z-ai, perplexity (volume), xai, openai, anthropic

Model-mediated providers (xai, openai, anthropic) charge per call AND per token. Set maxUses (Anthropic) or max_tool_calls (OpenAI) in config to cap runaway agentic loops. For broad sweeps prefer the cheaper non-model providers and reserve LLM-mediated search for synthesis.

Failure modes

SymptomCauseFix
config error: No default provider configuredNo keys set, default unsetRun --check; configure at least one provider or use --provider duckduckgo
[provider] HTTP 401Invalid or expired API keyRotate the key; --check to verify
[provider] HTTP 429Rate limit hitLower --parallelism, add delay between runs, or switch providers
Failed to parse response: ...Upstream changed schema OR baseUrl points at wrong pathInspect <provider>-raw.json in the run dir
Empty preview, 0 resultsQuery too narrow OR provider has no relevant indexTry --all or a different provider

The raw upstream response is always saved at <run-dir>/<provider>-raw.json so you can inspect failures without re-querying.

Reference index

FileContents
references/providers/index.md + per-provider pagesEach of the 12 providers has its own page: endpoint, auth, request/response shape, setup, curl recipe, quirks, baseUrl pattern. The index has the comparison table and selection guide.
references/setup.mdStep-by-step API key acquisition for each provider
references/pipelines.mdrg / jq / awk recipes for filtering and combining results
references/curl-recipes.mdDirect curl invocations per provider — Python-less fallback
references/multi-provider.mdParallel fan-out strategies, consensus ranking, failure isolation
references/result-schema.mdCanonical JSON output schema; per-provider field mappings
references/platform-notes.mdmacOS / Linux / Windows / WSL / containers gotchas
references/base-urls.mdbaseUrl override patterns for proxies, gateways, mocks, mirrors

Quick reference

python3 scripts/web-search [OPTIONS] "<query>"

  --provider NAME         Single provider (overrides default)
  --providers a,b,c       Comma-separated subset, run in parallel
  --all                   Run every configured provider in parallel
  --max-results N         Cap per provider (default 10)
  --include DOMAIN[,...]  Allow-list domains
  --exclude DOMAIN[,...]  Block-list domains
  --config PATH           Override config file
  --tmp-dir PATH          Override output directory
  --json                  Print full manifest to stdout
  --print-path-only       Print only the result file path
  --raw                   Print raw upstream JSON
  --list-providers        Show configured providers and exit
  --check                 Validate config, exit 0 if any provider works

When in doubt:

python3 scripts/web-search --provider duckduckgo "<query>"   # always works, no key needed

FAQ

What does the web-search skill do?

MUST USE when the user needs current, online, or web-derived information — news, latest releases, vendor docs, real-world examples, recent changes, or anything not in the model's training set. LLM-neutral skill that exposes a unified web search CLI behind a single command. Runs single or multi-provider in parallel, saves raw + normalized JSON to a temp directory, prints the path so callers can pipe through rg / jq / grep. Zero-config out of the box. Works identically on macOS, Linux, WSL, Git Bash for Windows, and any environment with Python 3.8+. Triggers: 'search the web', 'look up online', 'google this', 'find current information', 'latest news', 'recent docs', 'check the internet', 'web search', 'browser search', 'research this', 'what is the latest', 'who is X', 'find examples of', 'is there documentation for', 'how do people solve', 'web-search', 'websearch'.

How do I install web-search?

Run npx skills add https://github.com/code-yeongyu/ultimate-web-search-skill --skill web-search in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/web-search/ (personal) or .claude/skills/web-search/ (project).

Which AI agents can use web-search?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is web-search safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains web-search?

It is published by code-yeongyu in code-yeongyu/ultimate-web-search-skill. It has 39 recorded installs.

Popular productivity & automation skills

View category →

agent-browser

vercel-labs/agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.

OfficialProductivity & Automation1.3M installs

lark-doc

open.feishu.cn

飞书云文档(Docx / Wiki)内容操作:读取、创建、编辑文档,插入或下载图片附件,以及操作思维笔记。用户提供文档 URL/token(包括 doubao.com 的 /docx/、/wiki/)时使用;按 URL 路径/token 而非域名路由;/page/ 是妙搭应用,非飞书云文档。文档内嵌资源按读取参考中的统一规则分流。独立评论操作走 lark-drive;随正文读取评论使用 docs +fetch。表格或 Base 内部数据操作不在本 skill。

lark-base

open.feishu.cn

飞书多维表格(Base)操作:建表、字段、记录、视图、统计、公式/lookup、表单、仪表盘、应用模式(BaseApp/AppMode 页面与组件)、Workspace 目录、workflow、角色权限、模板中心(多维表格模板分类/列表/搜索);遇到 Base/多维表格/bitable、BaseApp/AppMode、/base/ 或 /app/ 链接时使用。BaseApp 不走 lark-apps;文件导入/导出转 lark-drive,认证/授权转 lark-shared。

lark-drive

open.feishu.cn

飞书云空间(云盘/云存储):管理 Drive 文件和文件夹,包含上传/下载、创建文件夹、复制/移动/删除、查看元数据、查询权限设置、评论/权限/订阅、标题、版本、飞书文档密级标签(secure labels)和本地文件导入。用户需要整理云盘目录、处理云空间资源 URL/token、判断链接类型/真实 token/标题,或导入 Word/Markdown/Excel/CSV/PPTX/.base 为 docx/sheet/bitable/slides 时使用;doubao.com 云空间 URL/token 也按资源路径和 token 路由,不回退 WebFetch。不负责:文档内容编辑(走 lark-doc)、表格/Base 表内数据操作(走 lark-sheets/lark-base)、知识空间节点/成员管理(走 lark-wiki)、原生 Markdown 文件读写/patch/diff(走 lark-markdown)。

lark-shared

open.feishu.cn

Use for lark-cli setup/auth tasks: auth login/status/logout, user vs bot identity, business-domain permissions (--domain, including all/docs/drive), missing scopes, revoking authorization, or handling notice JSON.

lark-im

open.feishu.cn

飞书即时通讯:收发消息和管理群聊。发送和回复消息、搜索聊天记录、管理群聊成员、上传下载图片和文件、管理表情回复、发送应用内/短信/电话加急、发送和处理交互卡片(Interactive Card)、监听卡片按钮回调(card.action.trigger)。当用户需要发消息、查看或搜索聊天记录、下载聊天中的文件、查看群成员、搜索群、创建群聊或话题群、管理标记数据、管理 Feed 置顶(添加/移除/查询置顶会话)、管理标签数据、处理卡片回调时使用。