gemini-cli
Integrate Gemini AI CLI into Claude Code for AI collaboration, code analysis, and tool execution. Use when working with Gemini AI, Google AI, multimodal tasks, or needing advanced AI capabilities.
npx skills add majiayu000/claude-skill-registry --skill gemini-cli-adaptationio-skrillz --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Gemini CLI Integration Integrates Google's Gemini CLI into Claude Code, enabling seamless AI collaboration between Claude and Gemini for enhanced capabilities. ## When to Use - Working with Google AI/Gemini models - Need multimodal capabilities (text + images) - Complex reasoning with ReAct architecture - Web search and fetching capabilities - MCP server integration - Code analysis and generation with Gemini - Comparing AI model outputs ## Quick Start ### 1. Install Gemini CLI ```bash # Check Node.js version (requires 18+, recommend 20+) node --version # Install globally via NPM npm install -g @google/gemini-cli # Or use without installation npx @google/gemini-cli ``` ### 2. Setup Authentication #### Option A: Google OAuth (Recommended - Free) ```bash # Start Gemini and follow OAuth flow gemini # Will open browser for Google authentication ``` #### Option B: API Key ```bash # Get key from https://aistudio.google.com/ export GEMINI_API_KEY="your-api-key-here" # Or create ~/.gemini/.env file echo 'GEMINI_API_KEY="your-api-key-here"' > ~/.gemini/.env ``` ### 3. Basic Usage ```bash # Quick prompt (manual approval required) gemini -p "Explain this code: $(cat main.py)" # YOLO mode (au
- When to Use
- Quick Start
- 1. Install Gemini CLI
- 2. Setup Authentication
- 3. Basic Usage
- YOLO Mode - Use with Caution
- ✅ Safe YOLO Operations
- ⚠️ Use YOLO with Safeguards
- ❌ NEVER Use YOLO For
- Better Alternative: Iterative Workflows
- Claude + Gemini Collaboration Patterns
- The Think-Act-Observe Loop
- Structured Output for AI Parsing
- Safe Automation with Dry-Run
Check Node.js version (requires 18+, recommend 20+) node --version Install globally via NPM npm install -g @google/gemini-cli Or use without installation npx @google/gemini-cli Start Gemini and follow OAuth flow gemini Will open browser for Google authentication Get key from https://aistudio.google.com/
What does the gemini-cli skill do?
Integrate Gemini AI CLI into Claude Code for AI collaboration, code analysis, and tool execution. Use when working with Gemini AI, Google AI, multimodal tasks, or needing advanced AI capabilities.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill gemini-cli-adaptationio-skrillz --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
