Google Gemini CLI orchestration for AI-assisted development. Capabilities: second opinion/cross-validation, real-time web search (Google Search), codebase architecture analysis, parallel code generation, code review from different perspective. Actions: query, search, analyze, generate, review with Gemini. Keywords: Gemini CLI, second opinion, cross-validation, Google Search, web research, current information, parallel AI, code review, architecture analysis, gemini prompt, AI comparison, real-time search, alternative perspective, code generation. Use when: needing second AI opinion, searching current web information, analyzing codebase architecture, generating code in parallel, getting alternative code review, researching current events/docs.
A Claude Code skill that enables effective use of Google's Gemini CLI as a powerful auxiliary tool.
This skill teaches Claude Code how to wield Gemini CLI for:
Copy the skill directory to your Claude Code skills folder:
# Clone the repo
git clone https://github.com/forayconsulting/gemini_cli_skill.git
# Copy to Claude Code skills directory
cp -r gemini_cli_skill ~/.claude/skills/gemini-cli
Or manually create ~/.claude/skills/gemini-cli/ and copy the files.
# Install Gemini CLI
npm install -g @google/gemini-cli
# Authenticate
gemini # First run prompts for auth
| File | Purpose |
|------|---------|
| SKILL.md | Main skill definition - when to use, core instructions |
| reference.md | Complete CLI command and flag reference |
| templates.md | Reusable prompt templates for common tasks |
| patterns.md | Integration patterns and workflows |
| tools.md | Gemini's built-in tools documentation |
Once installed, Claude Code automatically uses this skill when appropriate. Just ask:
"Use Gemini to review this code for security issues"
"Have Gemini generate tests for this module"
"Ask Gemini what's new in TypeScript 5.5"
"Get Gemini to analyze this codebase architecture"
Ready-to-use templates for:
google_web_search - Real-time internet searchcodebase_investigator - Deep architecture analysissave_memory - Cross-session persistence# Basic generation
gemini "Create [description]" --yolo -o text
# Code review
gemini "Review [file] for bugs and security issues" -o text
# Web research
gemini "What's new in [topic]? Use Google Search." -o text
# Architecture analysis
gemini "Use codebase_investigator to analyze this project" -o text
# Faster model for simple tasks
gemini "[prompt]" -m gemini-2.5-flash -o text
| Use Case | Benefit | |----------|---------| | Second opinion | Different AI perspective on code | | Current info | Google Search grounding | | Architecture | codebase_investigator tool | | Parallel work | Offload tasks while continuing |
MIT
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer