
Gemini Cli
Orchestrate Google Gemini CLI for code analysis, web research, and parallel AI tasks
What You Can Do
This skill lets you leverage Gemini CLI as a complementary AI tool within your Claude-driven workflows. You can request code reviews from a different AI perspective, access current web information through Google Search integration, analyze complex codebase architectures, run parallel code generation tasks, and handle specialized operations like test suite generation or documentation—all while Claude coordinates the orchestration and results integration.
Features
Run generated code through Gemini for alternative perspective and bug detection
Access current web information, API documentation, and latest library versions
Use Gemini's codebase_investigator tool to map dependencies and understand unfamiliar code
Offload tasks to Gemini while Claude continues other work simultaneously
Generate test suites, JSDoc documentation, and code translations via Gemini
Execute Gemini operations with --yolo flag for seamless workflow integration
Receive clean, parseable results optimized for further processing
Control Gemini CLI operations through simple bash commands within Claude workflows
Example Output
Example 1: Code Review with Second Opinion
You submit generated authentication logic to Gemini for security review. Gemini identifies a timing vulnerability in the token validation that Claude missed, returning:
- Vulnerability: "Token expiry check occurs after signature verification"
- Fix: Reorder validation steps to check expiry first
- Severity: High
Example 2: Current API Documentation Lookup
You ask Gemini for the latest Firebase SDK syntax. Via Google Search, Gemini retrieves current documentation and returns:
- Latest Firebase Admin SDK v12.0.0 initialization pattern
- Breaking changes from v11 → v12 migration
- Code example with async/await syntax
Example 3: Codebase Dependency Mapping
You run Gemini's codebase_investigator on an unfamiliar Node.js monorepo. Output includes:
- File dependency graph showing cross-package imports
- Entry points and initialization sequence
- Shared utilities and their consumers
What's Included
- SKILL.md: Complete integration instructions with command patterns, flags, and tool configurations
- Installation verification script: One-line command to confirm gemini CLI (v0.16.0+) is available
- Bash command templates: Ready-to-use command patterns for code review, search queries, and codebase analysis workflows
- Use case decision tree: Framework for determining when to invoke Gemini vs. handling tasks in Claude
- Error handling checklist: Troubleshooting guide for rate limits, authentication, and command failures
Who It's For
- Backend engineers — Offload code review, test generation, and architectural analysis to Gemini while maintaining development velocity
- DevOps/SRE teams — Use codebase analysis to understand complex infrastructure code and parallel documentation generation
- Security engineers — Gain second-opinion vulnerability analysis and cross-reference against current threat databases via web search
- Technical leads — Leverage parallel code generation for prototyping multiple approaches simultaneously
- AI/ML practitioners — Access current research, API documentation, and framework updates through Gemini's web search capability
Best For
- Cross-AI security audits — Submit sensitive code to Gemini for alternative vulnerability detection perspective
- Research-dependent tasks — Retrieve current library versions, API changes, and latest best practices via Google Search
- Complex codebase onboarding — Map unfamiliar architectures and dependency graphs quickly using codebase_investigator
- High-volume code generation — Run multiple generation tasks in parallel (test suites, documentation, translations)
- Specialized output formats — Generate JSDoc documentation, unit test scaffolding, and language-specific code translations






