brave-web-search-zh
Skill56 starsChanged 9 months agoMITView on GitHub
使用 Brave Search API 进行网页搜索并返回排序结果或 AI 生成的摘要答案。适用于实时网络查询和事实性问答。
- Reads credentials
In this repository89 other files it gives its agents.
- skills/proactive-agent-zh/assets/AGENTS.mdAGENTS.md
- skills/ai-persona-os-zh/CLAUDE.mdCLAUDE.md
- skills/ui-ux-pro-max-zh/CLAUDE.mdCLAUDE.md
- admapix-zhSkill
- agent-autonomy-kit-zhSkill
- agent-browser-zhSkill
- ai-business-search-zhSkill
- personaSkill
- answer-overflow-zhSkill
- api-gateway-zhSkill
- automation-workflows-zhSkill
- auto-updater-zhSkill
- baidu-search-zhSkill
- brave-search-zhSkill
- browser-use-zh-cloudSkill
- browser-use-zh-open-sourceSkill
- browser-use-zh-remote-browserSkill
- browser-use-zhSkill
- byteroverSkill
- caldav-calendar-zhSkill
- capability-evolverSkill
- clawddocs-zhSkill
- clawhub-zhSkill
- content-ideas-generator-zhSkill
- desktop-control-zhSkill
- edgeone-clawscan-zhSkill
- elite-longterm-memory-zhSkill
- evolver-zhSkill
- Excel / XLSXSkill
- filesystem-management-zhSkill
- find-skills-zhSkill
- freeride-zhSkill
- frontend-design-zhSkill
- githubSkill
- gmail-zhSkill
- gog-zhSkill
- gongwen-writingSkill
- gongwen-writing-zhSkill
- gongwenSkill
- humanize-ai-text-zhSkill
- humanizer-zhSkill
- imap-smtp-email-zhSkill
- markdown-converter-zhSkill
- marketing-mode-zhSkill
- marketing-skillsSkill
- mcporterSkill
- memory-setupSkill
- minara-zhSkill
- model-usageSkill
- moltguardSkill
- moltguard-zhSkill
- multi-search-engineSkill
- n8n-workflow-automationSkill
- nano-banana-pro-prompts-recommend-skillSkill
- nano-banana-pro-zhSkill
- nano-pdf-zhSkill
- news-summary-zhSkill
- notionSkill
- obsidianSkill
- ontologySkill
- The first 60 shown.
The file
Files
Brave 网页搜索
使用 Brave Search API 进行网页搜索并获取 AI 生成的摘要答案。提供两个命令:brave-search 用于获取排序的网页结果,brave-answer 用于获取简洁的 AI 摘要。
使用说明
- 触发条件: 当用户想要在网络上查找信息、查看最新新闻或获取问题的事实性答案时激活。
- 设置: 无需安装步骤 — 此技能没有外部依赖项,在原生 Node.js 上运行。
- 命令选择:
- 使用
brave-search进行一般网页搜索,需要排序结果、URL 和摘要。 - 使用
brave-answer进行直接的事实性问题,需要简洁的 AI 摘要。
- 使用
执行方式: 通过传递命令名称和参数作为独立参数来调用脚本,永远不要将用户输入插入到 shell 命令字符串中。使用参数数组 /
execFile风格的调用方式,确保 shell 永远不会解析用户提供的值。示例(Node 风格伪代码):execFile('node', ['index.js', 'brave-search', '--query', userQuery, '--count', '10'])不要将命令构造为单个连接字符串,例如
"node index.js brave-search --query " + userQuery。- 时效性: 对于时间敏感的查询,在
brave-search命令中传递--freshness参数,后跟pd(过去一天)、pw(过去一周)或pm(过去一个月)作为独立参数。 - 回退方案: 如果
brave-answer返回answer: null,则向用户展示fallback_results。 - 完成: 清晰地展示结果,对于网页搜索结果引用标题和 URL,对于答案结果引用摘要文本。
安全与隐私
- Shell 注入防护: 用户查询必须作为离散参数传递(例如通过
execFile或 argv 数组),永远不要插入到 shell 命令字符串中。将用户输入连接到 shell 字符串(例如shell: true使用模板字面量)会启用 shell 注入,是严格禁止的。 - 指令范围: 此技能仅将查询字符串发送到 Brave Search 和 Brave Summarizer API。
- 环境: 它使用 OpenClaw 环境提供的
BRAVE_SEARCH_API_KEY和BRAVE_ANSWERS_API_KEY。 - 数据访问: 它不读取本地文件或 .env 文件。所有配置由智能体处理。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

