Real-time web search, autosuggest, and AI-powered answers using the official Brave Search API. Use for searching documentation, facts, current events, or any...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install brave-api-search或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install brave-api-search⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/brave-api-search/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- 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 ---
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 summarybrave_suggest — query autosuggestions as users type with optional rich metadatabrave_answers — AI-grounded answers with inline citations powered by live web searchSet 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.
Use brave_search when:
Use brave_suggest when:
Use brave_answers when:
Don't use this skill for:
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", -excludecount — 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.
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 forcount — 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:
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 researchenable_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.
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):
$5 in monthly credits)Always check your live limits and usage in:
https://api.search.brave.com/res/v1.BRAVE_SEARCH_API_KEY and BRAVE_ANSWERS_API_KEY (keep them in .env, not inline in commands/chats).This skill uses the official Brave Search API — not web scraping. Benefits:
安装 Brave Api Search 后,可以对 AI 说这些话来触发它
Help me get started with Brave Api Search
Explains what Brave Api Search does, walks through the setup, and runs a quick demo based on your current project
Use Brave Api Search to real-time web search, autosuggest, and AI-powered answers using the...
Invokes Brave Api Search with the right parameters and returns the result directly in the conversation
What can I do with Brave Api Search in my data & analytics workflow?
Lists the top use cases for Brave Api Search, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/brave-api-search/ 目录(个人级,所有项目可用),或 .claude/skills/brave-api-search/(项目级)。重启 AI 客户端后,用 /brave-api-search 主动调用,或让 AI 根据上下文自动发现并使用。
Brave Api Search 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Brave Api Search 可免费安装使用。请查阅仓库了解许可证信息。
Real-time web search, autosuggest, and AI-powered answers using the official Brave Search API. Use for searching documentation, facts, current events, or any...
Brave Api Search 属于「Data & Analytics」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my data & analytics tasks using Brave Api Search
Identifies repetitive steps in your workflow and sets up Brave Api Search to handle them automatically