happycastle114/gemini-search/web-search
Claude Code and agent skill by happycastle114/gemini-search
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Search the web for current information using Gemini CLI with Google Search grounding. Use when you need real-time data, latest documentation, current events, or to verify claims against live sources. Triggers on "search the web", "look up", "find online", "what's the latest", "current version of", "recent news about".
Install
npx vskill@latest install happycastle114/gemini-search/web-searchSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Web Search via Gemini CLI
Search the web using Google's Gemini CLI with built-in Google Search grounding. Returns accurate, cited results with source URLs.
Prerequisites
Install Gemini CLI globally:
Authenticate once:
Quick Usage
Run the bundled gemini-search script from this plugin's bin/ directory:
The script automatically:
- Wraps your query with a search-optimized system prompt
- Forces Gemini to use
google_web_searchfor grounding - Parses the JSON response and formats clean markdown with citations
Always Use The Wrapper
Always invoke web search through gemini-search. Do not call `gemini` directly. The wrapper provides:
- Per-invocation privacy override (
privacy.usageStatisticsEnabled=false) without touching~/.gemini/settings.json - Mandatory inline
[Source](url)citation enforcement and## Sourcesheading validation — directgeminicalls have no such guarantee - Prompt-injection fencing for the user query
- Hardened timeout / buffer defaults and friendly ENOENT error
- Cleanup-safe temp dir on success, error, and SIGINT/SIGTERM
Direct gemini --output-format json --prompt ... invocation bypasses all of the above and must not be used from Claude Code workflows.
Search Prompt Patterns
Fact Lookup
Comparison Research
Documentation Lookup
Security Advisory Check
API/Library Version Check
Model Routing
gemini-search intentionally does not expose a model flag. Gemini CLI chooses the model using its own routing, your account tier, and your ~/.gemini/settings.json configuration.
If you need to pin a model, set it in ~/.gemini/settings.json under the model.name key — see the Gemini CLI configuration reference. Do not pass -m to gemini-search; unknown flags now error out.
Privacy
Every gemini-search invocation auto-disables Gemini CLI usage statistics (privacy.usageStatisticsEnabled: false) via a temporary system-override settings file. Your ~/.gemini/settings.json and OAuth credentials are not modified. See the project README "Privacy" section for the auth-tier truth table — note that this CLI flag is not by itself a model-training opt-out on free OAuth or free Gemini API tiers.
Tips
- Be specific — "React 19 useActionState hook API" beats "React hooks"
- Include time context — "2025 Node.js performance benchmarks" gets recent results
- Ask for sources — The search prompt already forces citations, but being explicit helps
- Chain searches — Run multiple targeted queries rather than one broad query
- Use --raw for scripting —
gemini-search --raw "query" | jq '.response'for pipelines
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/web-search/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/happycastle114/gemini-search/web-search)