brave-web-search-zh

brave-web-search-zh is a skill for Claude Code, Codex from L-LesterYu/OpenClaw-hot-skills-zh. It costs 38 tokens per session (714 once invoked), scanned A, original, MIT.

A skill for searching the web through the Brave Search API and returning ranked results or a short answer summary. It includes separate commands for ordinary searches and direct factual answers.

In plain words
What is it for?
Use it for current web searches and factual lookups, including freshness filters for recent results, while safely passing search terms to the command.
Why use it?
It provides a defined way to fetch current web information while keeping user queries separate from shell command syntax. If the summary command has no answer, it falls back to search results.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it for current web searches and factual lookups, including freshness filters for recent results, while safely passing search terms to the command.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/l-lesteryu/openclaw-hot-skills-zh/brave-web-search-zh
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 L-LesterYu/OpenClaw-hot-skills-zh --skill brave-web-search-zh
Clone the repo
git clone --depth 1 https://github.com/L-LesterYu/OpenClaw-hot-skills-zh

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 brave-web-search-zh

README.md
[![agentmods](https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/brave-web-search-zh/github.svg)](https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/brave-web-search-zh)
Your own site
<a href="https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/brave-web-search-zh"><img src="https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/brave-web-search-zh/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 brave-web-search-zh

Your own site · 80×15
<a href="https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/brave-web-search-zh"><img src="https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/brave-web-search-zh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 714 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.00038 $0.00714
Opus 5 $0.00019 $0.00357
Sonnet 5 $0.00008 $0.00143
Haiku 4.5 $0.00004 $0.00071

Measured 13d ago against content hash ab4bae1f994f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

brave-web-search-zh 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 13d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (index.js), 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.

skills/brave-web-search-zh/SKILL.md · 43 lines

What it actually says

Brave 网页搜索

使用 Brave Search API 进行网页搜索并获取 AI 生成的摘要答案。提供两个命令:brave-search 用于获取排序的网页结果,brave-answer 用于获取简洁的 AI 摘要。

使用说明

  1. 触发条件: 当用户想要在网络上查找信息、查看最新新闻或获取问题的事实性答案时激活。

  2. 设置: 无需安装步骤 — 此技能没有外部依赖项,在原生 Node.js 上运行。

  3. 命令选择:

    • 使用 brave-search 进行一般网页搜索,需要排序结果、URL 和摘要。
    • 使用 brave-answer 进行直接的事实性问题,需要简洁的 AI 摘要。
  4. 执行方式: 通过传递命令名称和参数作为独立参数来调用脚本,永远不要将用户输入插入到 shell 命令字符串中。使用参数数组 / execFile 风格的调用方式,确保 shell 永远不会解析用户提供的值。示例(Node 风格伪代码):

    execFile('node', ['index.js', 'brave-search', '--query', userQuery, '--count', '10'])
    

    不要将命令构造为单个连接字符串,例如 "node index.js brave-search --query " + userQuery

  5. 时效性: 对于时间敏感的查询,在 brave-search 命令中传递 --freshness 参数,后跟 pd(过去一天)、pw(过去一周)或 pm(过去一个月)作为独立参数。

  6. 回退方案: 如果 brave-answer 返回 answer: null,则向用户展示 fallback_results

  7. 完成: 清晰地展示结果,对于网页搜索结果引用标题和 URL,对于答案结果引用摘要文本。

安全与隐私

  • Shell 注入防护: 用户查询必须作为离散参数传递(例如通过 execFile 或 argv 数组),永远不要插入到 shell 命令字符串中。将用户输入连接到 shell 字符串(例如 shell: true 使用模板字面量)会启用 shell 注入,是严格禁止的。
  • 指令范围: 此技能仅将查询字符串发送到 Brave Search 和 Brave Summarizer API。
  • 环境: 它使用 OpenClaw 环境提供的 BRAVE_SEARCH_API_KEYBRAVE_ANSWERS_API_KEY
  • 数据访问: 它不读取本地文件或 .env 文件。所有配置由智能体处理。
Files

What ships with it

5 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. 13d ago First seen · 43 lines · 38 tokens per session scan A ab4bae1f994f

Subscribe to this mod's changes

brave-web-search-zh is a skill published in the GitHub repository L-LesterYu/OpenClaw-hot-skills-zh (54 stars, last pushed 5mo ago), licensed MIT. It adds 38 tokens to every session and 714 once invoked, about $0.0002 per session on Opus 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-08-30.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

opencli-sitemap-author

Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

jackwener/OpenCLI · 67 tokens

interactive-login

How to complete browser/interactive logins (aws / gh / glab / gcloud). The platform backgrounds the login poller so it survives the human's browser round-trip — and when that does NOT work.

yc-software/qm · 46 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

azure-messaging-webpubsub-java

Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.

microsoft/skills · 43 tokens

google-safe-browsing

Prevent and fix Google Safe Browsing "Dangerous site" flags. Use when launching a public web app, buying/picking a domain, building a login or signup page, or when any site shows a red "Dangerous site" / "Deceptive site" warning in Chrome, Brave, Safari, Firefox, or Edge. Triggers on "dangerous site", "deceptive…

davidondrej/skills · 105 tokens