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

web-search-brave网络搜索勇敢

Agent Skill

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

总安装

4,847

周安装

198

GitHub Stars

69

下载量

1,568
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/jwynia/agent-skills --skill web-search-brave

简介

用于查找、检索和筛选相关信息,支持 Brave Search 引擎调用。

  • 适合在需要利用 Brave 的隐私友好型搜索能力时使用。
  • 通过 GitHub 安装,建议查阅原始仓库了解 API 密钥配置和配额限制。
  • 使用前应确认是否依赖外部服务,并评估其对网络请求和数据缓存的影响。
  • web-search-brave 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Web Search (Brave Search API)

Search the web using Brave's Search API. Returns web results with descriptions, optional extra snippets, and support for country/language targeting.

Note: This skill requires a Brave Search API key. For basic web search using the agent's built-in capability, see web-search. For AI-optimized results with relevance scores, see web-search-tavily.

When to Use This Skill

Use this skill when:

  • You need to find current information not in your training data
  • The user asks about recent events, news, or updates
  • You need localized search results for a specific country or language
  • You want a privacy-respecting search alternative
  • Research requires real-time web data
  • Keywords mentioned: search, look up, find online, current, latest, news

Do NOT use this skill when:

  • Information is already in your knowledge base and doesn't need verification
  • The user asks about historical facts that don't change
  • You're working with local files or code (use other tools)
  • A more specific skill exists for the task (e.g., documentation lookup)
  • You need AI-generated answer summaries (use web-search-tavily instead)

Prerequisites

Before using this skill, ensure:

  • BRAVE_API_KEY environment variable is set with a valid API key
  • Deno is installed (for running the search script)
  • Internet access is available

Get a Brave Search API key at: https://brave.com/search/api/

Quick Start

Run a simple search:

deno run --allow-env --allow-net=api.search.brave.com scripts/search.ts "your search query"

Example with freshness filter:

deno run --allow-env --allow-net=api.search.brave.com scripts/search.ts "React 19 new features" --freshness pw

Script Usage

deno run --allow-env --allow-net=api.search.brave.com scripts/search.ts [options] "query"

Options

OptionDescriptionDefault
--results <n>Number of results to return (max 20)5
--freshness <range>Time filter: pd, pw, pm, or pynone
--country <code>Country code for localized results (e.g., US, GB, DE)none
--lang <code>Search language (e.g., en, fr, de)none
--safesearch <level>Safe search: off, moderate, or strictmoderate
--extra-snippetsInclude additional content snippetsfalse
--offset <n>Pagination offset0
--jsonOutput as JSON (for programmatic use)false
--helpShow help message-

Search Parameters

Freshness Values

Filter results by recency:

  • pd: Past day (last 24 hours)
  • pw: Past week (last 7 days)
  • pm: Past month (last 30 days)
  • py: Past year (last 365 days)

Country Codes

Use standard 2-character country codes to get localized results:

  • US (United States), GB (United Kingdom), DE (Germany), FR (France), JP (Japan), etc.

Safe Search Levels

  • off: No filtering
  • moderate (default): Filters explicit content
  • strict: Strictest filtering

Output Format

Human-Readable Output (default)

Search: "React 19 new features"

Found 5 results in 189ms

1. React 19 Release Notes
   https://react.dev/blog/2024/04/25/react-19
   React 19 is now available on npm! This release includes...
   Age: 2 months ago

2. What's New in React 19
   https://example.com/react-19-features
   A comprehensive overview of React 19's new features...

JSON Output (--json)

{
  "query": "React 19 new features",
  "results": [
    {
      "title": "React 19 Release Notes",
      "url": "https://react.dev/blog/2024/04/25/react-19",
      "description": "React 19 is now available on npm...",
      "age": "2 months ago",
      "language": "en",
      "family_friendly": true
    }
  ],
  "response_time": 189,
  "total_results": 1250000
}

Result Fields

FieldTypeDescription
titlestringPage title
urlstringSource URL
descriptionstringRelevant excerpt from the page
extra_snippetsstring[]Additional content snippets (only with --extra-snippets)
agestringHow old the result is (e.g., "2 hours ago")
languagestringLanguage of the result
family_friendlybooleanWhether the result is family-friendly

Examples

Example 1: Current Events Search

Scenario: Find recent news about a technology topic

scripts/search.ts "OpenAI GPT-5 announcement" --freshness pw --results 10

Expected output: Recent web results about GPT-5 from the past week

Example 2: Documentation Lookup

Scenario: Find specific technical documentation

scripts/search.ts "Deno deploy edge functions tutorial" --results 10 --extra-snippets

Expected output: Comprehensive results with extra snippets from documentation and tutorial sites

Example 3: Localized Search

Scenario: Find results targeted to a specific country and language

scripts/search.ts "aktuelle Nachrichten" --country DE --lang de --freshness pd

Expected output: German-language results from Germany from the past day

Example 4: Filtered Search with JSON Output

Scenario: Get structured results with strict safe search

scripts/search.ts "machine learning tutorials" --safesearch strict --extra-snippets --json

Expected output: JSON results with extra snippets, filtered for safe content

Common Issues and Solutions

Issue: "BRAVE_API_KEY environment variable is not set"

Symptoms: Script exits immediately with API key error

Solution:

  1. Get an API key from https://brave.com/search/api/
  2. Set the environment variable: export BRAVE_API_KEY="your-api-key-here"
  3. Or run with the variable inline: BRAVE_API_KEY="your-key" deno run --allow-env --allow-net=api.search.brave.com scripts/search.ts "query"

Issue: "Invalid Brave Search API key"

Symptoms: 401 authentication error

Solution:

  1. Verify your API key is correct (no extra spaces)
  2. Check if your API key has expired
  3. Verify your Brave Search API subscription is active

Issue: "Brave Search API rate limit exceeded"

Symptoms: 429 error response

Solution:

  1. Wait a moment and retry
  2. Reduce request frequency
  3. Consider upgrading your Brave Search API plan for higher limits

Issue: No results returned

Symptoms: Empty results array

Solution:

  1. Try broader search terms
  2. Remove country or language filters that might be too restrictive
  3. Remove or widen the freshness filter
  4. Check if the topic exists online

Limitations

This skill has the following limitations:

  • Requires active internet connection
  • API rate limits apply based on your Brave Search API plan
  • Results depend on Brave's index coverage
  • Cannot access paywalled or login-required content
  • No built-in AI-generated answer summaries (use web-search-tavily for that)
  • Maximum 20 results per request
  • Extra snippets require a paid API plan

Related Skills

  • web-search: Basic web search using the agent's built-in capability
  • web-search-tavily: AI-optimized search with relevance scores and answer summaries
  • research-workflow: For comprehensive research projects that use multiple searches with planning and synthesis

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.34%
按下载量换算570

Claude

29.68%
按下载量换算465

Cursor

19.03%
按下载量换算298

Gemini CLI

9.93%
按下载量换算156

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills