brave-web-search-zh
使用 Brave Search API 进行网页搜索并返回排序结果或 AI 生成的摘要答案。适用于实时网络查询和事实性问答。
Skill by L-LesterYu
Chalk Labs
Need help deploying brave-web-search-zh?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/l-lesteryu-brave-web-search-zh
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/brave-web-search-zh
What's inside
- Skill name
brave-web-search-zh- Description
- 使用 Brave Search API 进行网页搜索并返回排序结果或 AI 生成的摘要答案。适用于实时网络查询和事实性问答。
- License
- MIT
- Instructions
- 31 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (6)
- origin.json · .clawhub/
- SKILL.md
- _meta.json
- index.js
- package-lock.json
- package.json
SKILL.md (first lines)
# 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 风格伪代码):
```javascript
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_KEY` 和 `BRAVE_ANSWERS_API_KEY`。
- **数据访问**: 它不读取本地文件或 .env 文件。所有配置由智能体处理。From L-LesterYu/OpenClaw-hot-skills-zh, MIT.
Signals
- Stars
- 57
- Forks
- 9
- Open issues
- 0
- Last commit (this folder)
- Mar 6, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get brave-web-search-zh running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
brave-web-search-zh skill. Agent Mart. https://agentmart.dev/skills/l-lesteryu-brave-web-search-zh (last updated 2026-10-24)