# Google Search

> 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.

- Skill: `modbender/google-search` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add modbender/google-search`
- Raw SKILL.md: https://api.skillmd.com/api/skills/modbender/google-search/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing, Integrations & APIs
- Author: modbender (https://skillmd.com/u/modbender)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/modbender/google-search

---


# 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"
```

