Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计提醒

brave-search勇敢的寻找

Agent Skill

brave-search 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,599

周安装

68

GitHub Stars

35

下载量

560
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:brave-search(勇敢的寻找)
来源仓库:https://github.com/ratacat/claude-skills
仓库路径:skills/brave-search
安装命令:
npx skills add https://github.com/ratacat/claude-skills --skill brave-search
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/ratacat/claude-skills --skill brave-search

简介

brave-search 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速定位结果。
  • 可结合来源仓库和原始 README 继续核验具体用法,建议确认权限范围。
  • 安装命令:npx skills add https://github.com/ratacat/claude-skills --skill brave-search
  • 安装前建议检查维护状态及是否涉及文件读写或网络请求。

SKILL.md

Brave Search API

Overview

Search the web, images, and news using Brave's privacy-focused Search API. Also supports AI Grounding for cited answers via OpenAI SDK compatibility.

Prerequisites

API Key required. Get one at https://api-dashboard.search.brave.com

export BRAVE_API_KEY="your-api-key"

Free tier: 2,000 queries/month. Pro plans unlock Local POI search and AI Grounding.

When to Use

  • Searching the web for current information
  • Finding images on a topic
  • Getting recent news articles
  • AI-grounded answers with citations
  • Autocomplete suggestions
  • Location/POI searches (Pro plan)

High-Throughput Usage

Go wide, go fast. This API supports high concurrency—up to 50 requests/second. Don't hold back:

  • Fire searches in parallel. Need to research 10 different topics? Launch 10 searches simultaneously. Use multiple Bash tool calls in a single message.
  • Use subagents for heavy results. When expecting lots of context (many results, extra snippets, research mode), dispatch a subagent to run the search and synthesize findings. This preserves your main context window.
  • Batch related queries. Searching for competitors, alternatives, or multiple aspects of a topic? Run them all at once.
digraph parallel_search {
    rankdir=LR;
    node [shape=box];

    task [label="Research task"];
    q1 [label="Query 1"];
    q2 [label="Query 2"];
    q3 [label="Query 3"];
    subagent [label="Subagent\n(preserves context)"];
    synthesize [label="Synthesized\nfindings"];

    task -> q1;
    task -> q2;
    task -> q3;
    q1 -> subagent [style=dashed];
    q2 -> subagent [style=dashed];
    q3 -> subagent [style=dashed];
    subagent -> synthesize;
}

When to use subagents:

  • Searching for many sources on a topic (launch search subagent, return summary)
  • Deep research with AI Grounding (high token usage, let subagent handle)
  • Comparing multiple options (run parallel searches, subagent synthesizes)

When to search directly:

  • Quick single queries where you need the raw URLs/snippets
  • Low result counts where context isn't a concern

Quick Reference

TaskCommand
Web searchbrave-search web "query"
Image searchbrave-search images "query"
News searchbrave-search news "query"
AI answerbrave-search ai "question"
Suggestionsbrave-search suggest "partial query"
Check keybrave-search check-key

API Endpoints

APIEndpointPlan
Web Search/res/v1/web/searchFree
Image Search/res/v1/images/searchFree
News Search/res/v1/news/searchFree
Suggest/res/v1/suggest/searchFree
AI Grounding/res/v1/chat/completionsAI Grounding
Local POI/res/v1/local/poisPro
Summarizer/res/v1/summarizer/searchPro

Common Parameters

Web Search

# Basic search
brave-search web "python async tutorial" --count 10

# Filter by freshness (pd=24h, pw=7d, pm=31d, py=365d)
brave-search web "latest news" --freshness pd

# Filter by country and language
brave-search web "local restaurants" --country US --lang en

# Safe search (off, moderate, strict)
brave-search web "query" --safesearch strict

# Get extra snippets
brave-search web "query" --extra-snippets

# Filter result types (web, news, videos, images, discussions)
brave-search web "query" --filter web,news

Image Search

# Basic image search
brave-search images "mountain sunset"

# With safe search
brave-search images "landscape" --safesearch strict --count 20

News Search

# Recent news
brave-search news "AI developments" --count 10

# News with freshness filter
brave-search news "election results" --freshness pd

AI Grounding (Cited Answers)

# Get an AI answer with citations
brave-search ai "What is the tallest building in the world?"

# Enable deep research (multiple searches, slower)
brave-search ai "Compare React and Vue in 2024" --research

Workflow

digraph brave_search {
    rankdir=TB;
    node [shape=box];

    need [label="What do you need?" shape=diamond];
    web [label="Web Search\nbrave.py web"];
    images [label="Image Search\nbrave.py images"];
    news [label="News Search\nbrave.py news"];
    ai [label="AI Answer\nbrave.py ai"];

    results [label="Parse JSON results"];
    cite [label="Include citations\nfor AI answers"];

    need -> web [label="web pages"];
    need -> images [label="images"];
    need -> news [label="recent news"];
    need -> ai [label="cited answer"];

    web -> results;
    images -> results;
    news -> results;
    ai -> cite;
}

Response Structure

Web Search Results

{
  "web": {
    "results": [
      {
        "title": "Page Title",
        "url": "https://example.com",
        "description": "Snippet from the page...",
        "extra_snippets": ["Additional context..."]
      }
    ]
  },
  "query": {
    "original": "search query",
    "altered": "modified query if spellchecked"
  }
}

AI Grounding Response

Returns OpenAI-compatible format with inline citations:

The tallest building is the Burj Khalifa[1] at 828 meters...

[1] https://source-url.com

Common Options

OptionValuesDescription
--count1-20 (web), 1-200 (images)Number of results
--countryUS, GB, DE, FR, etc.Search region
--langen, de, fr, es, etc.Search language
--safesearchoff, moderate, strictAdult content filter
--freshnesspd, pw, pm, pyTime filter
--jsonflagOutput raw JSON

Error Handling

ErrorCauseFix
401 UnauthorizedInvalid/missing API keyCheck BRAVE_API_KEY
429 Rate LimitedToo many requestsWait or upgrade plan
422 ValidationInvalid parametersCheck parameter values

Rate Limits

  • Free: 1 req/sec, 2,000/month
  • Pro: Higher limits, check dashboard
  • Response headers show remaining quota: X-RateLimit-Remaining

Common Mistakes

MistakeFix
API key not setexport BRAVE_API_KEY="..."
Wrong endpoint for planCheck subscription at dashboard
Too many resultsWeb max is 20, use offset for pagination
No AI groundingRequires AI Grounding subscription

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

28.31%
按下载量换算159

trae

25.24%
按下载量换算141

OpenCode

17.51%
按下载量换算98

Antigravity

14.68%
按下载量换算82

windsurf

9.09%
按下载量换算51

Codex

3.36%
按下载量换算19

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills