Token导航 LogoToken导航TokenDH.com
研究检索执行命令clawhub未标认证来源可访问clear审计提醒

brave-api-search-3-0-2brave API 搜索 3 0 2

Agent Skill

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

总安装

7,858

周安装

321

GitHub Stars

公开资料未说明

下载量

2,542
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:brave-api-search-3-0-2(brave API 搜索 3 0 2)
来源仓库:https://github.com/liujm2012/brave-api-search-3-0-2
安装命令:
openclaw skills install brave-api-search-3-0-2
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install brave-api-search-3-0-2

简介

基于 Brave Search API 实现实时网络搜索与内容聚合。

  • 提供自动建议与人工智能驱动的回答摘要。brave-api-search-3-0-2 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 适用于文档查找、事实核查与时事追踪任务。
  • 使用时需确保 API 密钥有效并关注配额管理。
  • 安装前请核实权限范围及是否会触发联网操作。

SKILL.md

name
brave-api-search
description
Real-time web search, autosuggest, and AI-powered answers using the official Brave Search API. Use for searching documentation, facts, current events, or any web content. Supports AI grounded answers with citations and query autosuggest. Requires BRAVE_SEARCH_API_KEY and BRAVE_ANSWERS_API_KEY.
license
MIT
metadata
author
Broedkrummen
version
3.0.0

Brave API Search

Real-time web search, autosuggest, and AI-powered answers using the official Brave Search API. Three tools:

  • brave_search — web results with titles, URLs, descriptions, optional AI summary
  • brave_suggest — query autosuggestions as users type with optional rich metadata
  • brave_answers — AI-grounded answers with inline citations powered by live web search

Setup

Set your Brave API keys in a local .env file (recommended):

# .env (do not commit)
BRAVE_SEARCH_API_KEY=your_key_here
BRAVE_ANSWERS_API_KEY=your_key_here

Or export them in your shell session if needed.

Get your keys at: https://api-dashboard.search.brave.com

Both keys can be the same if your plan supports both Search and AI Answers endpoints.

Note: brave_search and brave_suggest use BRAVE_SEARCH_API_KEY. brave_answers requires BRAVE_ANSWERS_API_KEY.
Note: This skill explicitly requires BRAVE_SEARCH_API_KEY and BRAVE_ANSWERS_API_KEY. It does not use a generic BRAVE_API_KEY fallback.

When to Use This Skill

Use brave_search when:

  • Searching for current information, news, or recent events
  • Looking up documentation or technical references
  • Need ranked results with URLs to follow up on
  • Want an AI summary of search results

Use brave_suggest when:

  • Power autocomplete in search interfaces
  • Help users formulate better queries faster
  • Need query completions as users type
  • Want rich metadata (titles, descriptions, images) for suggestions

Use brave_answers when:

  • Need a synthesized answer with cited sources
  • Researching topics that benefit from multiple sources
  • Want AI-grounded responses with inline citations
  • Deep research mode needed (multi-search)

Don't use this skill for:

  • Questions already answered from context or memory
  • Tasks that don't require external information

Tools

brave_search

Web search returning ranked results with titles, URLs, and descriptions.

brave_search(query="latest Node.js release", count=5)
brave_search(query="TypeScript generics", extra_snippets=true)
brave_search(query="current weather Copenhagen", freshness="pd")
brave_search(query="React Server Components", summary=true)

Parameters:

  • query (required) — Search query, supports operators: site:, "exact phrase", -exclude
  • count — Results to return (1-20, default: 10)
  • country — 2-letter country code (default: us)
  • freshness — Date filter: pd (24h), pw (7 days), pm (31 days), py (1 year)
  • extra_snippets — Include up to 5 extra text excerpts per result (default: false)
  • summary — Fetch Brave AI summarizer result (default: false)

Returns: Formatted list of results with title, URL, description, and optional AI summary.

brave_suggest

Query autosuggest API providing intelligent query autocompletion as users type.

brave_suggest(query="hello")
brave_suggest(query="pyt", count=5, country="US")
brave_suggest(query="einstein", rich=true)

Parameters:

  • query (required) — Partial query to get suggestions for
  • count — Number of suggestions (1-10, default: 5)
  • country — 2-letter country code (default: US)
  • rich — Include enhanced metadata: titles, descriptions, images, entity detection (default: false, requires paid plan)

Returns: List of query suggestions, optionally with rich metadata.

Best Practices:

  • Implement debouncing (150-300ms) to avoid excessive API calls as users type
  • Load suggestions asynchronously without blocking the UI

brave_answers

AI-powered answers grounded in live web search with inline citations.

brave_answers(query="How does React Server Components work?")
brave_answers(query="Compare Postgres vs MySQL for OLAP", enable_research=true)
brave_answers(query="Latest Python release notes", enable_citations=true)

Parameters:

  • query (required) — Question or topic to research
  • enable_citations — Include inline source citations (default: true)
  • enable_research — Multi-search deep research mode (default: false)
  • country — Target country for search context (default: us)

Returns: AI answer with cited sources extracted from the response, plus token usage.

Pricing & Limits

Brave pricing is credit-based and can change. Do not assume a fixed free request count.

Current public guidance (verify in Brave dashboard/docs before production use):

  • Monthly trial credits may be offered (e.g. $5 in monthly credits)
  • Search and Answers consume credits differently
  • Rich suggestions require a paid Autosuggest plan
  • Answers may also include token-based costs
  • QPS limits depend on your plan tier

Always check your live limits and usage in:

  • https://api-dashboard.search.brave.com
  • https://brave.com/search/api/

Security & Packaging Notes

  • This skill only calls Brave official endpoints under https://api.search.brave.com/res/v1.
  • It requires exactly two env vars: BRAVE_SEARCH_API_KEY and BRAVE_ANSWERS_API_KEY (keep them in .env, not inline in commands/chats).
  • It does not request persistent/system privileges and does not modify system config.
  • It is source-file based (three local Node scripts), with no external install/download step.

API vs Web Scraping

This skill uses the official Brave Search API — not web scraping. Benefits:

  • Reliable, structured JSON responses
  • Rate limit headers and proper error messages
  • Access to AI summarizer, AI answers, and autosuggest endpoints
  • Terms of service compliant

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

72.66%
按下载量换算1,847

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install brave-api-search-3-0-2 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills