微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🔍

隐私搜索 · 智能摘要 · 实时问答

Brave Web Search · v1.0.0
可以安装,但有提示 HAS_SCRIPTS
Search & Research 安全 S 级 榜单 #1 作者 kghamilton89 公开目录收录
2.5k 下载 0 安装 9k 收藏 25 浏览

简介

Brave Search API 驱动的实时网络搜索工具,提供排名结果与 AI 摘要双模式,适合快速查资料与事实问答

原始描述

Searches the web and returns ranked results or AI-generated summarized answers using the Brave Search API. Use for real-time web lookups and factual Q&A.

通过你的 Agent 添加

安装目录:brave-web-search/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/brave-web-search-13671/
Codex CLI~/.codex/skills/brave-web-search-13671/
DeepSeek Harness~/.agents/skills/brave-web-search-13671/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: brave-web-search description: Searches the web and returns ranked results or AI-generated summarized answers using the Brave Search API. Use for real-time web lookups and factual Q&A. metadata: clawdbot: emoji: "🔍" requires: env: ["BRAVE_SEARCH_API_KEY", "BRAVE_ANSWERS_API_KEY"] bins: ["node"] primaryEnv: "BRAVE_SEARCH_API_KEY" category: "Search & Research"

Brave Web Search

Searches the web and fetches AI-generated summarized answers using the Brave Search API. Exposes two commands: brave-search for ranked web results and brave-answer for concise AI summaries.

Instructions

  1. Trigger: Activate when the user wants to look something up on the web, check recent news, or get a factual answer to a question.

  2. Setup: No installation step is required — this skill has zero external dependencies and runs on native Node.js.

  3. Command selection:

    • Use brave-search for general web searches where ranked results with URLs and snippets are useful.
    • Use brave-answer for direct factual questions where a concise AI summary is more appropriate.
  4. Execution: Invoke the script by passing the command name and parameters as separate arguments, never by interpolating user input into a shell command string. Use an argument array / execFile-style invocation so the shell never parses user-supplied values. Example (Node-style pseudo-code):

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

    Do not construct the command as a single concatenated string such as "node index.js brave-search --query " + userQuery.

  5. Freshness: For time-sensitive queries, pass --freshness pd (past day), pw (past week), or pm (past month) to the brave-search command.

  6. Fallback: If brave-answer returns answer: null, present the fallback_results to the user instead.

  7. Completion: Present the results clearly, citing titles and URLs for web search results, or the summary text for answer results.

Security & Privacy

  • Shell Injection Prevention: User queries must be passed as discrete arguments (e.g. via execFile or an argv array), never interpolated into a shell command string. Concatenating user input into a shell string (e.g. shell: true with template literals) enables shell injection and is strictly forbidden.
  • Instruction Scope: This skill only sends query strings to the Brave Search and Brave Summarizer APIs.
  • Environment: It uses the BRAVE_SEARCH_API_KEY and BRAVE_ANSWERS_API_KEY provided by the OpenClaw environment.
  • Data Access: It does not read local files or .env files. All configuration is handled by the agent.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

web-searchreal-time-dataprivacy-focusedai-summarizationbrave-searchapi-integration

同类 Skill