Google Search
Researchgoogle-searchGoogle Search is an Agent Skill for research published in the LeoYeAI/openclaw-master-skills repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
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.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/LeoYeAI/openclaw-master-skills/blob/HEAD/skills/google-search/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/google-search, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Google Search Skill
This skill allows OpenClaw agents to perform web searches via Google's Custom Search API (PSE).
Setup
- Google Cloud Console: Create a project and enable the "Custom Search API".
- API Key: Generate an API Key.
- Search Engine ID (CX): Create a Programmable Search Engine at cse.google.com, and get your CX ID.
- Environment: Store your credentials in a
.envfile 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"