← 返回 Skills 市场
ai-hub-admin

Google Search

作者 AI-Hub-Admin · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
113
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install google-search-onekey-gateway
功能描述
Auto-generated skill for google-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.

google-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: google-search/google-search
  • api_id: one of the tools listed below

Tools

google_search

Generates google search results by calling google custom search engine API. https://www.googleapis.com/customsearch/v1

    Args:
        query: Annotated[str, "Search Query that User Input"] = "",
        num: Annotated[int, "Return number of search results"] = 10,
        start: Annotated[str, "pagination start index of search item at the number of 0. start=0, num=10 means items from [0, 10), start=10, num=10 means items from [10, 12)"] = 0

    Return:
        results: List[Any], list of search results

Parameters:

  • query (string, optional):
  • num (integer, optional):
  • start (integer, optional):
  • return_fields (array of object, optional):

Usage

CLI

google_search

npx onekey agent google-search/google-search google_search '{"query": "US inflation rate February 2026", "num": 5, "start": 0}'

Scripts

Each tool has a dedicated script in this folder:

  • skills/google-search/scripts/google_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.

安全使用建议
Before installing or running this skill: (1) verify the owner and package provenance for @aiagenta2z/onekey-gateway and ai-agent-marketplace (check PyPI/GitHub and package authors). (2) Do not use sensitive secrets or private data with the default demo key — set DEEPNLP_ONEKEY_ROUTER_ACCESS to your own trusted key only if you trust the OneKey Gateway operator. (3) Confirm whether the registry metadata should declare the required env var (the manifest and SKILL.md disagree). (4) If you must test, run in an isolated environment or sandbox and inspect network traffic to understand where queries are sent. (5) If you need higher assurance, request the maintainer to provide source repository/homepage and to remove the fallback demo key behavior.
功能分析
Type: OpenClaw Skill Name: google-search-onekey-gateway Version: 0.1.0 The skill is a standard wrapper for performing Google searches via the OneKey Gateway (DeepNLP). The Python script `scripts/google_search.py` and the instructions in `SKILL.md` are consistent with the stated purpose, using a specific dependency (`ai-agent-marketplace`) to route requests to the gateway. No evidence of data exfiltration, unauthorized execution, or malicious prompt injection was found.
能力评估
Purpose & Capability
The skill's code and SKILL.md implement a OneKey Gateway-backed 'google_search' tool (calling a OneKey router that can in turn call Google Custom Search). That aligns with the stated purpose. However the registry metadata at the top claims 'Required env vars: none' and 'Primary credential: none' while SKILL.md declares DEEPNLP_ONEKEY_ROUTER_ACCESS as a required API key — an inconsistency that should be resolved.
Instruction Scope
Runtime instructions are narrowly scoped to invoking the OneKey Gateway (via the CLI or a small Python script). The Python script only reads the provided --data or a JSON file and uses the DEEPNLP_ONEKEY_ROUTER_ACCESS env var. No unrelated system files, other env vars, or unexpected endpoints are referenced in the instructions. Important caveat: SKILL.md and the script route queries through OneKey Gateway — your query payloads will be sent to that service (and onward to commercial APIs).
Install Mechanism
There is no platform-level install spec (skill is instruction-only) which is low-risk, but SKILL.md recommends installing npm package @aiagenta2z/onekey-gateway and Python package ai-agent-marketplace. These are standard registry installs (npm/pip) but the manifest provides no provenance or homepage for the skill owner; you should verify the source of those packages before installing.
Credentials
The only secret required by the SKILL.md/script is DEEPNLP_ONEKEY_ROUTER_ACCESS, which is proportionate for a gateway-based search tool. However the registry metadata does not list this required env var (incoherent declarations). Also the script falls back to a shared demo key 'BETA_TEST_KEY_MARCH_2026' if you don't set your own key — using the fallback will route your queries through a shared account and may expose query contents to the gateway operator.
Persistence & Privilege
The skill does not request permanent presence (always: false). It's instruction-only with a small script that runs on demand and does not modify other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install google-search-onekey-gateway
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /google-search-onekey-gateway 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of google-search-onekey-gateway skill. - Provides a unified interface to Google Search API via OneKey Gateway, requiring only a single access key. - Supports both CLI and Python script usage for automated search queries. - Returns customizable numbers of search results with pagination options. - Demo API key fallback included for trial use. - Easy installation instructions provided for both Node.js and Python environments.
元数据
Slug google-search-onekey-gateway
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Google Search 是什么?

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

如何安装 Google Search?

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

Google Search 是免费的吗?

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

Google Search 支持哪些平台?

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

谁开发了 Google Search?

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

💬 留言讨论