跳到主内容
智客 ZICQ

技能库 智客分类:文档办公 google-search OpenClaw

Google Search

使用Google自定义搜索引擎(PSE)搜索网页. 当您需要实时信息、 文档或研究主题时使用此功能, 内置的网络_ 搜索无法使用 .

622 安装量 · 19 星标

官方网址:ClawHub

技能介绍

先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。

做什么

使用Google自定义搜索引擎(PSE)搜索网页. 当您需要实时信息、 文档或研究主题时使用此功能, 内置的网络_ 搜索无法使用 .

何时用

官方 description 未单独写出 Use when。按规范,代理会在用户任务与这段 description 的关键词匹配时激活本技能。

代理如何加载

按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:Google Search Skill、Setup、Workflow、Example Usage。 其中含规范建议的小节:分步指令、输入输出示例。

文件分析

文件分析:除 SKILL.md 外,正文引用了 scripts/search.py,属于带资源的技能包,这些文件按需再读。

官方 description(原文)

Search the web using Google Custom Search Engine (PSE). Use this when you need live information, documentation, or to research topics and the built-in web_search is unavailable.

Google Search SkillSetupWorkflowExample Usage

来源分类:ClawHub Documentation

SKILL.md 与 Agent 调用

官方规范 ↗
name
google-search
description
Search the web using Google Custom Search Engine (PSE). Use this when you need live information, documentation, or to research topics and the built-in web_search is unavailable.
  1. 发现技能客户端向 Agent 提供名称与描述目录。
  2. 匹配与调用用户指定或任务匹配后,载入 SKILL.md 指令。
  3. 按需加载按步骤读取参考文档、使用脚本与素材。
指令中引用的文件 · 1
  • scripts/search.py

以下路径提取自原文;文件是否齐全请以来源仓库中的完整目录为准。

具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗

安装这个技能

Skills CLI ↗

先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。

该技能引用了附属文件,请从来源获取完整目录;仅复制 SKILL.md 可能缺少依赖。

交给 Agent 安装

复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。

把 Agent Skill「google-search」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-d689c713a07a3890-Google-Search.html
请存为 .cursor/skills/google-search/SKILL.md 或 .claude/skills/google-search/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。
该技能还带 scripts/、references/、assets/ 等文件,请从 https://clawhub.ai/skills/google-search 取完整目录,不要只建一个 SKILL.md。

当前没有明确的 GitHub 技能包地址,请按来源页面的安装器说明操作。

ClawHub ↗

阅读排版

name: google-search description: Search the web using Google Custom Search Engine (PSE). Use this when you need live information, documentation, or to research topics and the built-in web_search is unavailable.

Google Search Skill

This skill allows OpenClaw agents to perform web searches via Google's Custom Search API (PSE).

Setup

  1. Google Cloud Console: Create a project and enable the "Custom Search API".
  2. API Key: Generate an API Key.
  3. Search Engine ID (CX): Create a Programmable Search Engine at cse.google.com, and get your CX ID.
  4. Environment: Store your credentials in a .env file in your workspace:
    GOOGLE_API_KEY=your_key_here
    GOOGLE_CSE_ID=your_cx_id_here
    

Workflow

... (rest of file)

Example Usage

GOOGLE_API_KEY=xxx GOOGLE_CSE_ID=yyy python3 skills/google-search/scripts/search.py "OpenClaw documentation"

相关技能

文档办公

Ontology

为结构化的代理内存和可堆肥技能所打入的知识图. 在创建/征服实体(Person, project, Task, Evention, Document)时使用,链接相关对象,强制约束,规划多步动作作为图变,或技能需要共享状态时使用. 触发到"记住","我知道什么","链接X到Y",…

文档办公

Nano Pdf

使用纳米-pdf CLI编辑带有自然语言指令的PDF.

文档办公

Word / DOCX

创建,检查,并编辑有可靠样式的Microsoft Word文档和DOCX文件,编号,跟踪更改,表格,章节,并进行相容性检查. 当 (1) 任务涉及 Word 或 ".docx " 时使用; (2) 文件包括跟踪的更改,评论,字段,表格,模板,或页面布局限制; (3) 文档必须在不…

文档办公

Baidu Search

使用Baidu AI搜索引擎(BDSE)搜索网页. 用于实时信息、文件或研究专题.