web-search

web-search is a skill for Claude Code, Codex from Morningstar202604/awesome-skillkit. It costs 134 tokens per session (3,670 once invoked), scanned A, original, Apache-2.0.

A web-search tool that queries public search services, using SearXNG first and DuckDuckGo as a fallback. It searches the internet without requiring an API key and can reuse results cached for 24 hours.

In plain words
What is it for?
Use it for ordinary web searches, finding documentation or references, and looking up information online in supported languages and regions.
Why use it?
It provides current web information when the agent does not already know the answer, without requiring a paid search account. Fallback search helps when one public service is unavailable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for ordinary web searches, finding documentation or references, and looking up information online in supported languages and regions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/morningstar202604/awesome-skillkit/web-search
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Morningstar202604/awesome-skillkit --skill web-search
Clone the repo
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkit

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for web-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/web-search/github.svg)](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/web-search)
Your own site
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/web-search"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/web-search/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for web-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/web-search"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/web-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 134 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,670 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00134 $0.03670
Opus 5.5 $0.00054 $0.01468
Sonnet 5.5 $0.00027 $0.00734
Haiku 4.5 $0.00013 $0.00367

Measured 2mo ago against content hash acfba6a81455, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

web-search scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/search_client.py, scripts/test_search.py, scripts/test_smoke_all.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

expert-teams/skills/web-search/SKILL.md · 242 lines

How it starts

The opening of the file, as written. The whole thing — 242 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Web Search / 免费联网搜索(SearXNG / DuckDuckGo)

使用免费搜索引擎查询网络信息。无需 API Key,直接调用公共搜索服务;所有命令均在技能目录(本文件所在目录)下执行。本 skill 供全部团队共用,目标:在不依赖付费搜索 API 的前提下,稳定拿到最新、可溯源的资料,并通过缓存与交叉验证降低重复请求和错误结论。

这是什么

一套「选入口 → 构造查询 → 抓取 → 缓存 → 交叉验证」的搜索作业规范 + 一个可执行客户端。它规定用哪些免费入口、怎么拆关键词、怎么判可信度,以及什么情况下必须打开原文精读而不是只看摘要。

何时使用

  • 查某个库/框架的最新用法、版本号、Breaking Change。
  • 排查报错信息、已知 issue、官方迁移指南。
  • 事实核查:政策、价格、API 字段、统计口径。
  • 为 deep-research 提供原始素材;agent 需要在没有付费 API Key 的情况下联网找信息。
  • 不用于:多来源综合报告(转 deep-research)。

方法论:核心步骤

  1. 选免费入口:优先自建/可用的 SearXNG 实例;不可用时回退 DuckDuckGo HTML 端点。不强行依赖需要付费 Key 的引擎。
  2. 拆关键词:把自然语言问题拆成 2–4 个核心词组合,英文技术问题用英文查,一次只查一个子问题。
  3. 判源分级:官方文档 / 官方 GitHub > 权威技术媒体 > 高赞社区问答 > 个人博客 > 内容农场。
  4. 打开原文:摘要只够定位;涉及版本号、配置项、报错根因时必须 fetch 原文核对,不抄二手转述。
  5. 缓存结果:同一查询短时间内不重复抓取;把命中的 URL 与结论记入临时缓存,标注抓取时间。
  6. 交叉验证:关键结论至少两个独立来源一致才采纳;冲突时以官方源为准并记录分歧。

搜索引擎

引擎 类型 稳定性 速率限制 推荐场景
SearXNG 聚合引擎 ★★★ 中等 首选,聚合多引擎
DuckDuckGo HTML 抓取 ★★ 严格 兜底,反爬强
Brave Search JSON API ★★★ 宽松 可选,需注册

输入清单

输入 必需 说明
query 是 搜索关键词(建议 ≤200 字符,过长会被引擎截断)
engine 否 搜索引擎:searxng / ddg / brave(默认 searxng)
language 否 语言代码:zh / en / ja(默认 zh)
region 否 地区代码:cn / us / jp(默认 kl=cn-cn,仅 DDG 使用)
max_results 否 最大返回结果数(默认 10;解析层每引擎也截断为 10 条)
use_cache 否 是否使用缓存(默认 true,TTL 24 小时)

缺失时一次性问齐:「请提供:① 搜索内容。其余我将使用默认值。」

前置自检

依次执行;致命项失败 → 修复后 STOP。

# 1. Python 可用(致命)
python3 --version                                        # 预期:Python 3.x

# 2. HTTP 客户端(致命)
python3 -c "import httpx; print('httpx OK')"             # 预期:httpx OK;失败 → pip install httpx

# 3. HTML 解析(仅 engine=ddg 需要;失败可先用 searxng)
python3 -c "import bs4; print('bs4 OK')"                 # 失败 → pip install beautifulsoup4

# 4. 脚本就位(致命;必须在技能目录执行)
test -f scripts/search_client.py && echo OK              # 预期:OK;失败 → cd 到技能目录
  • 网络可达:任一公共 SearXNG 实例可达即可;全失败时脚本自动降级 DuckDuckGo。
  • 仅 engine=brave 时需要 BRAVE_API_KEY 环境变量(凭据只走环境变量,不写入文件或命令行)。

Read the full file on GitHub · 242 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +50 lines · +51 tokens per session acfba6a81455
  2. 2mo ago Changed · -3 tokens per session f39d033cb986
  3. 2mo ago First seen · 192 lines · 86 tokens per session scan A 5889fcab3c50

Subscribe to this mod's changes

web-search is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 134 tokens to every session and 3,670 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-19.

Related

web-search compared with skills from other repositories

web-search next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
web-searchMorningstar202604/awesome-skillkitSkill02mo agoApache-2.0A134Claude Code, Codex
safe-refactorJuliusBrussee/cavemanSkill124ktodayApache-2.0A29Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70k3d agoApache-2.0A217Claude Code, Codex
auditing-subgroup-fairnessmaziyarpanahi/openmedSkill5.9kyesterdayApache-2.0A148Claude Code
memoryopensquilla/opensquillaSkill7.2k4d agoApache-2.0A44Claude Code, Codex
infographic-template-updaterantvis/InfographicSkill7.2k1mo agoMITA43Claude Code
pulse-configureSnowflake-Labs/cocoplusSkill72923d agoMITA12Claude Code, Codex