Initial commit with translated description

This commit is contained in:
2026-03-29 13:07:16 +08:00
commit e8e25274e5
3 changed files with 73 additions and 0 deletions

28
SKILL.md Normal file
View File

@@ -0,0 +1,28 @@
---
name: google-search
description: "使用Google自定义搜索引擎进行网络搜索。"
---
# 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](https://cse.google.com/cse/all), 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
```bash
GOOGLE_API_KEY=xxx GOOGLE_CSE_ID=yyy python3 skills/google-search/scripts/search.py "OpenClaw documentation"
```