By lcy000
Parallel sub-agent backed by Gemini CLI with live Google Search grounding. Free of Claude's quota.
A Claude Code skill (distributed as a plugin) that offloads information queries to a Gemini sub-agent — so Claude can answer with live Google Search results without burning your Claude Code token budget.
Claude Code has a monthly usage quota. Every search query Claude runs costs tokens. This skill routes information queries to Gemini CLI instead, which runs on your own Google account for free. Claude's quota is preserved for what it's actually good at: reasoning, coding, and file editing.
When you ask something with an information dimension — current events, prices, version numbers, comparisons, "is X still true" — Claude automatically delegates to Gemini in the background. Gemini runs its own agentic pipeline with Google Search, then hands the result back to Claude to synthesize.
1. Standard (default)
Claude calls Gemini once in the background while it prepares the response. Covers the vast majority of queries.
You ask → Claude calls Gemini (background) → Gemini searches → Claude answers
2. Retry with refined prompt
If the first result is thin or off-target, Claude retries Gemini with a better prompt before giving up — adding missing context, more precise terminology, or a narrower focus. A second Gemini call is cheaper than switching to WebSearch.
Result insufficient → Refine prompt → Call Gemini again → Done
3. Research mode
Only when you explicitly ask for comprehensive research, a report, or need citable sources. Claude runs Gemini and its own WebSearch in parallel and synthesizes both.
You ask for 研究/分析/做報告 → Gemini (recency + breadth) + WebSearch (citable URLs) → Synthesized answer
Claude's own WebSearch is never used as a default — only as a fallback or for research mode.
Install Gemini CLI:
npm install -g @google/gemini-cli
Log in with your Google account:
gemini
Follow the auth flow on first launch.
Verify it works:
gemini -p "hello"
Path note: The skill assumes Gemini CLI is at
/opt/homebrew/bin/gemini(Homebrew on macOS).
If your path differs, editskills/gemini/scripts/call_gemini.shafter installing.
The skill uses whatever model is configured as the default in Gemini CLI. To get the best results, open the Gemini CLI settings and set your preferred model:
gemini
Go to Settings → Model. Recommended options:
gemini-3.1-pro-preview — most capable, best for complex researchgemini-3-flash-preview — faster, good for quick lookupsThe skill will use whichever model you set automatically.
/plugin marketplace add LCY000/gemini-plugin
/plugin install gemini@LCY000
No manual invocation needed. Once installed, Claude automatically uses Gemini whenever a query has an information dimension.
Skipped automatically for: file edits, git operations, mechanical code changes — anything where web search adds no value.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub lcy000/claude-gemini-plugin --plugin geminiAdvanced web search plugin with caching, analytics, content extraction, and validation
Google Gemini CLI integration for Claude Code. Triggers: 'use gemini', 'ask gemini', 'run gemini', 'gemini cli', 'Google AI', 'Gemini reasoning'. Provides access to Gemini AI models with intelligent model selection, session continuation, and safe defaults.
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Frontend design skill for UI/UX implementation
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Memory compression system for Claude Code - persist context across sessions