← 返回 Skills 市场
ai-hub-admin

Brave Search

作者 AI-Hub-Admin · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
151
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install brave-search-onekey-gating
功能描述
Auto-generated skill for brave-search tools via OneKey Gateway.
使用说明 (SKILL.md)

OneKey Gateway

Use One Access Key to connect to various commercial APIs. Please visit the OneKey Gateway Keys and read the docs OneKey MCP Router Doc and OneKey Gateway Doc.

brave-search Skill

Use the OneKey Gateway to access tools for this server via a unified access key.

Quick Start

Set your OneKey access key:

export DEEPNLP_ONEKEY_ROUTER_ACCESS=YOUR_API_KEY

If no key is provided, the scripts fall back to the demo key BETA_TEST_KEY_MARCH_2026. Common settings:

  • unique_id: brave-search/brave-search
  • api_id: one of the tools listed below ``## Tools

brave_web_search

Performs a web search using the Brave Search API, ideal for general queries, news, articles, and online content. Use this for broad information gathering, recent events, or when you need diverse web sources. Supports pagination, content filtering, and freshness controls. Maximum 20 results per request, with offset for pagination.

``Parameters:

  • query (string, required): Search query (max 400 chars, 50 words)
  • count (number, optional): Number of results (1-20, default 10)
  • offset (number, optional): Pagination offset (max 9, default 0)

brave_local_search

Searches for local businesses and places using Brave's Local Search API. Best for queries related to physical locations, businesses, restaurants, services, etc. Returns detailed information including:

  • Business names and addresses
  • Ratings and review counts
  • Phone numbers and opening hours Use this when the query implies 'near me' or mentions specific locations. Automatically falls back to web search if no local results are found.

Parameters:

  • query (string, required): Local search query (e.g. 'pizza near Central Park')
  • count (number, optional): Number of results (1-20, default 5)

Usage

CLI

brave_web_search

npx onekey agent brave-search/brave-search brave_web_search '{"query": "latest AI research 2026"}'

brave_local_search

npx onekey agent brave-search/brave-search brave_local_search '{"query": "coffee near Times Square"}'

Scripts

Each tool has a dedicated script in this folder:

  • skills/brave-search/scripts/brave_web_search.py
  • skills/brave-search/scripts/brave_local_search.py

Example

python3 scripts/\x3Ctool_name>.py --data '{"key": "value"}'

Related DeepNLP OneKey Gateway Documents

AI Agent Marketplace
Skills Marketplace AI Agent A2Z Deployment
PH AI Agent A2Z Infra
GitHub AI Agent Marketplace

Dependencies

CLI Dependency

Install onekey-gateway from npm

npm install @aiagenta2z/onekey-gateway

Script Dependency

Install the required Python package before running any scripts.

pip install ai-agent-marketplace

Alternatively, install dependencies from the requirements file:

pip install -r requirements.txt

If the package is already installed, skip installation.

Agent rule

Before executing command lines or running any script in the scripts/ directory, ensure the dependencies are installed. Use the onekey CLI as the preferred method to run the skills.

安全使用建议
This skill is a simple wrapper that sends your JSON payloads to the OneKey Gateway (brave_web_search or brave_local_search). Before installing: (1) confirm you trust the OneKey provider (deepnlp/aiagenta names shown) because queries and results transit their service; do not send sensitive secrets or private data through the skill; (2) prefer to set your own DEEPNLP_ONEKEY_ROUTER_ACCESS key rather than using the demo fallback key (demo usage routes traffic through the provider/demo account); (3) verify the referenced packages (@aiagenta2z/onekey-gateway and ai-agent-marketplace) come from the official projects you expect (check their repos) before pip/npm install; (4) be aware of the small manifest inconsistencies (registry metadata vs SKILL.md) — likely packaging sloppiness but worth noting. If you want stronger assurance, ask the publisher for repository/homepage and the provenance of the pip/npm packages.
功能分析
Type: OpenClaw Skill Name: brave-search-onekey-gating Version: 0.1.0 The skill bundle provides a standard interface for Brave Search via the OneKey Gateway. The scripts (brave_web_search.py and brave_local_search.py) simply route user queries to the specified API endpoint using the 'ai-agent-marketplace' library, with no evidence of malicious behavior, data exfiltration, or harmful instructions.
能力评估
Purpose & Capability
The name/description (Brave Search via OneKey Gateway) matches the implementation: two small Python scripts that call OneKeyAgentRouter.invoke with api_id values 'brave_web_search' and 'brave_local_search'. Required packages (onekey gateway client and ai-agent-marketplace) align with the described gateway integration.
Instruction Scope
The SKILL.md and the scripts limit actions to reading JSON input (from CLI argument or file), validating a 'query' field, and forwarding that payload to the OneKey Gateway. The scripts do not access other system files, environment variables beyond the gateway key, or contact arbitrary endpoints themselves (networking is via the OneKey client).
Install Mechanism
There is no registry-level install spec, but SKILL.md instructs installing npm package '@aiagenta2z/onekey-gateway' and Python package 'ai-agent-marketplace' from standard registries. This is a typical, moderate-risk approach (packages come from public registries). It's odd that the registry metadata said 'no install spec' while SKILL.md contains install instructions.
Credentials
The skill requires a single env var DEEPNLP_ONEKEY_ROUTER_ACCESS (OneKey Gateway API key), which is proportionate for a gateway-based search wrapper. Two points to note: (1) registry metadata earlier listed 'no required env vars' which conflicts with SKILL.md, and (2) both scripts fall back to a demo key ('BETA_TEST_KEY_MARCH_2026') if the env var is absent — that means queries may be routed through the maintainer's/demo service if you don't provide your own key.
Persistence & Privilege
The skill does not request always:true, does not modify other skill configs, and has no special config path or system privileges. It is user-invocable and can be invoked autonomously by the model per platform defaults, which is expected for skills.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install brave-search-onekey-gating
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /brave-search-onekey-gating 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
- Initial release of the brave-search skill powered by OneKey Gateway. - Supports two tools: `brave_web_search` for general web searches and `brave_local_search` for local business/place search. - Provides detailed usage instructions for both CLI and Python scripts. - Flexible authentication using OneKey access key, with fallback to demo key. - Includes installation steps for npm and Python dependencies.
元数据
Slug brave-search-onekey-gating
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Brave Search 是什么?

Auto-generated skill for brave-search tools via OneKey Gateway. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 151 次。

如何安装 Brave Search?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install brave-search-onekey-gating」即可一键安装,无需额外配置。

Brave Search 是免费的吗?

是的,Brave Search 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Brave Search 支持哪些平台?

Brave Search 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Brave Search?

由 AI-Hub-Admin(@ai-hub-admin)开发并维护,当前版本 v0.1.0。

💬 留言讨论