Skill
My agent skills
npx -y skills add y-a-v-a/skills --skill skillAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Search the web using Google Programmable Search Engine. Use when you need to search for information online with custom search engine configuration.
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
1.7 KB, as published. Nobody here has run it
Google Programmable Search Engine Skill
This skill enables web search using Google's Programmable Search Engine.
Setup
Requires environment variables:
GOOGLE_API_KEY- Google API key with Custom Search API enabledGOOGLE_CX- Programmable Search Engine ID
Usage
Execute searches with:
node scripts/search.js "search query here"
Common Options
--num=N- Number of results (1-10)--start=N- Starting index for pagination--date=PERIOD- Date filter (e.g.,w1for last week,m3for 3 months)--site=DOMAIN- Restrict to specific domain--exact=PHRASE- Require exact phrase--exclude=TERMS- Exclude terms
See reference.md for full parameter documentation and examples.
Error Handling
- Missing credentials: Remind user to set GOOGLE_API_KEY and GOOGLE_CX
- 401/403 errors: Invalid API key or cx
- 429 errors: Daily quota exceeded (free tier: 100 queries/day)
Missing Credentials Handling
If a search fails due to missing GOOGLE_API_KEY or GOOGLE_CX environment variables:
-
Use AskUserQuestion to ask the user:
- "Would you like help setting up the Google Search credentials?"
- Options: "Yes, show setup instructions" / "No, I'll set them up later"
-
If user selects setup help:
- Guide them through obtaining API key and Search Engine ID
- Remind them to restart Claude Code after setting environment variables