
Google Search
- 23 installs
- 638 repo stars
- Updated March 7, 2026
- sundial-org/awesome-openclaw-skills
Helps with ai & agent building tasks during AI-assisted development.
About
google-search is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.
- google-search
- AI & Agent Building
- AI-coding skill
Google Search by the numbers
- 23 all-time installs (skills.sh)
- Ranked #10,032 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/sundial-org/awesome-openclaw-skills --skill google-searchAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 23 |
|---|---|
| repo stars | ★ 638 |
| Last updated | March 7, 2026 |
| Repository | sundial-org/awesome-openclaw-skills ↗ |
What it does
Helps with ai & agent building tasks during AI-assisted development.
Files
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_hereWorkflow
... (rest of file)
Example Usage
GOOGLE_API_KEY=xxx GOOGLE_CSE_ID=yyy python3 skills/google-search/scripts/search.py "OpenClaw documentation"import sys
import json
import requests
import os
def google_search(query, api_key, cse_id, num_results=5):
url = "https://www.googleapis.com/customsearch/v1"
params = {
'q': query,
'key': api_key,
'cx': cse_id,
'num': num_results
}
response = requests.get(url, params=params)
response.raise_for_status()
return response.json()
if __name__ == "__main__":
if len(sys.argv) < 2:
print("Usage: python google_search.py <query> [num_results]")
sys.exit(1)
query = sys.argv[1]
num_results = int(sys.argv[2]) if len(sys.argv) > 2 else 5
# We will pass these via env vars for security
api_key = os.getenv("GOOGLE_API_KEY")
cse_id = os.getenv("GOOGLE_CSE_ID")
if not api_key or not cse_id:
print("Error: GOOGLE_API_KEY and GOOGLE_CSE_ID must be set in environment.")
sys.exit(1)
try:
results = google_search(query, api_key, cse_id, num_results)
print(json.dumps(results, indent=2))
except Exception as e:
print(f"Error: {str(e)}")
sys.exit(1)