Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use when the user asks to run Gemini CLI for code review, plan review, or big context (>200k) processing. Ideal for comprehensive analysis requiring large context windows. Uses Gemini 3 Pro by default for state-of-the-art reasoning and coding.
.claude/skills/jdrhyne-gemini/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-03 | ✗→✓ | ▲ Improved | 587% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 136% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 93% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 96% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 139% | 0% |
NEVER use --approval-mode default in background or non-interactive shells (like Claude Code tool calls). It will hang indefinitely waiting for approval prompts that cannot be provided.
For automated/background reviews:
--approval-mode yolo for fully automated executiontimeout 300 gemini ...--approval-mode default without interactive terminalSymptoms of hung Gemini:
Fix hung process:
bash# Check if hung ps aux | grep gemini | grep -v grep # Kill if necessary pkill -9 -f "gemini.*gemini-3-pro-preview"
AskUserQuestion) which model to use in a single prompt. Available models:gemini-3-pro-preview ⭐ (flagship model, best for coding & complex reasoning, 35% better at software engineering than 2.5 Pro)gemini-3-flash (sub-second latency, distilled from 3 Pro, best for speed-critical tasks)gemini-2.5-pro (legacy option, strong all-around performance)gemini-2.5-flash (legacy option, cost-efficient with thinking capabilities)gemini-2.5-flash-lite (legacy option, fastest processing)default: Prompt for approval (⚠️ ONLY for interactive terminal sessions)auto_edit: Auto-approve edit tools only (for code reviews with suggestions)yolo: Auto-approve all tools (✅ REQUIRED for background/automated tasks)-m, --model <MODEL> - Model selection--approval-mode <default|auto_edit|yolo> - Control tool approval-y, --yolo - Alternative to --approval-mode yolo-i, --prompt-interactive "prompt" - Execute prompt and continue interactively--include-directories <DIR> - Additional directories to include in workspace-s, --sandbox - Run in sandbox mode for isolation--approval-mode yolo or add timeout wrapper. NEVER use default in non-interactive shells.bash # Recommended: Use yolo for background tasks gemini -m gemini-3-pro-preview --approval-mode yolo "Review this codebase for security issues"
# Or with timeout (5 min limit) timeout 300 gemini -m gemini-3-pro-preview --approval-mode yolo "Review this codebase"
bash gemini -m gemini-3-pro-preview -i "Review the authentication system" --approval-mode auto_edit
--approval-mode yolo unless the task is non-interactive and the user approved high-autonomy execution.| Use case | Approval mode | Key flags | | --- | --- | --- | | Background code review | yolo ✅ | -m gemini-3-pro-preview --approval-mode yolo | | Background analysis | yolo ✅ | -m gemini-3-pro-preview --approval-mode yolo | | Background with timeout | yolo ✅ | timeout 300 gemini -m gemini-3-pro-preview --approval-mode yolo | | Interactive code review | default | -m gemini-3-pro-preview --approval-mode default (interactive terminal only) | | Code review with auto-edits | auto_edit | -m gemini-3-pro-preview --approval-mode auto_edit | | Automated refactoring | yolo | -m gemini-3-pro-preview --approval-mode yolo | | Speed-critical background | yolo ✅ | -m gemini-3-flash --approval-mode yolo | | Cost-optimized background | yolo ✅ | -m gemini-2.5-flash --approval-mode yolo | | Multi-directory analysis | yolo (if background) | --include-directories <DIR1> --include-directories <DIR2> | | Interactive with prompt | auto_edit or default | -i "prompt" --approval-mode <mode> |
| Model | Best for | Context window | Key features | | --- | --- | --- | --- | | gemini-3-pro-preview ⭐ | Flagship model: Complex reasoning, coding, agentic tasks | 1M input / 64k output | Vibe coding, 76.2% SWE-bench | | gemini-3-flash | Sub-second latency, speed-critical applications | 1M input / 64k output | Distilled from 3 Pro, TPU-optimized | | gemini-2.5-pro | Legacy: Strong all-around performance | 1M input / 65k output | Thinking mode, mature stability | | gemini-2.5-flash | Legacy: Cost-efficient, high-volume tasks | 1M input / 65k output | Thinking mode | | gemini-2.5-flash-lite | Legacy: Fastest processing, high throughput | 1M input / 65k output | Maximum speed, minimal latency |
Gemini 3 Advantages: 35% higher accuracy in software engineering, state-of-the-art on SWE-bench (76.2%), GPQA Diamond (91.9%), and WebDev Arena (1487 Elo). Knowledge cutoff: January 2025.
Coming Soon: gemini-3-deep-think for ultra-complex reasoning with enhanced thinking capabilities.
bash# For background execution (Claude Code, CI/CD, etc.) gemini -m gemini-3-pro-preview --approval-mode yolo \ "Perform a comprehensive code review focusing on: 1. Security vulnerabilities 2. Performance issues 3. Code quality and maintainability 4. Best practices violations" # With timeout safety (5 minutes) timeout 300 gemini -m gemini-3-pro-preview --approval-mode yolo \ "Perform a comprehensive code review..."
bash# For background execution gemini -m gemini-3-pro-preview --approval-mode yolo \ "Review this architectural plan for: 1. Scalability concerns 2. Missing components 3. Integration challenges 4. Alternative approaches"
bash# For background execution gemini -m gemini-3-pro-preview --approval-mode yolo \ "Analyze the entire codebase to understand: 1. Overall architecture 2. Key patterns and conventions 3. Potential technical debt 4. Refactoring opportunities"
bash# ONLY use default mode in interactive terminal gemini -m gemini-3-pro-preview --approval-mode default \ "Review the authentication flow for security issues"
AskUserQuestion after each Gemini command to confirm next steps or gather clarifications.gemini --version or a Gemini command exits non-zero.--approval-mode yolo, -y, --sandbox), ask the user for permission using AskUserQuestion unless already granted.AskUserQuestion.bash# Check for hung processes ps aux | grep -E "gemini.*gemini-3" | grep -v grep # Look for these symptoms: # - Process running 20+ minutes # - CPU usage at 0% # - Process state 'S' (sleeping) # - No network connections
bash# Get detailed process info ps -o pid,etime,pcpu,stat,command -p <PID> # Check network activity lsof -p <PID> 2>/dev/null | grep -E "(TCP|ESTABLISHED)" | wc -l # If result is 0, process is hung
bash# Kill hung Gemini processes pkill -9 -f "gemini.*gemini-3-pro-preview" # Or kill specific PID kill -9 <PID> # Verify cleanup ps aux | grep gemini | grep -v grep
--approval-mode yolo for background/automated taskstimeout 300 gemini ...--approval-mode default in non-interactive shellsps to ensure process completesgemini-3-pro-preview for complex reasoning, coding tasks, and maximum analysis quality (recommended default)gemini-3-flash for speed-critical tasks requiring sub-second response timesgemini-2.5-flash for cost-optimized high-volume processingRequires Gemini CLI v0.16.0 or later for Gemini 3 model support. Check version: gemini --version
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 10,072 | 34,113 | +239% | 1 | 1 | 0% | 1,211 | 3,960 | +227% | 0 | 0 | — |
case-02 | fail→fail | 3,401 | 9,026 | +165% | 1 | 1 | 0% | 515 | 3,275 | +536% | 0 | 0 | — |
case-03 | fail→pass | 3,073 | 3,133 | +2% | 1 | 1 | 0% | 461 | 3,166 | +587% | 0 | 0 | — |
case-04 | fail→fail | 2,602 | 2,346 | -10% | 1 | 1 | 0% | 322 | 3,019 | +838% | 0 | 0 | — |
case-05 | pass→fail | 10,860 | 7,882 | -27% | 1 | 1 | 0% | 1,643 | 3,911 | +138% | 0 | 0 | — |
case-06 | fail→fail | 3,811 | 20,256 | +432% | 1 | 1 | 0% | 295 | 4,852 | +1545% | 0 | 0 | — |
case-07 | fail→pass | 8,892 | 2,897 | -67% | 1 | 1 | 0% | 1,319 | 3,110 | +136% | 0 | 0 | — |
case-08 | fail→pass | 9,981 | 2,491 | -75% | 1 | 1 | 0% | 1,579 | 3,049 | +93% | 0 | 0 | — |
case-09 | fail→pass | 9,429 | 3,794 | -60% | 1 | 1 | 0% | 1,571 | 3,084 | +96% | 0 | 0 | — |
case-10 | fail→pass | 9,492 | 2,473 | -74% | 1 | 1 | 0% | 1,265 | 3,019 | +139% | 0 | 0 | — |
case-11 | fail→pass | 11,470 | 2,673 | -77% | 1 | 1 | 0% | 1,825 | 3,083 | +69% | 0 | 0 | — |
case-12 | fail→pass | 6,164 | 5,180 | -16% | 1 | 1 | 0% | 1,020 | 3,503 | +243% | 0 | 0 | — |
case-13 | pass→pass | 12,308 | 1,756 | -86% | 1 | 1 | 0% | 1,913 | 2,935 | +53% | 0 | 0 | — |
case-14 | fail→pass | 17,068 | 3,871 | -77% | 1 | 1 | 0% | 1,212 | 3,269 | +170% | 0 | 0 | — |
case-15 | fail→pass | 6,222 | 1,808 | -71% | 1 | 1 | 0% | 852 | 2,933 | +244% | 0 | 0 | — |
case-16 | pass→pass | 11,948 | 5,886 | -51% | 1 | 1 | 0% | 2,048 | 3,754 | +83% | 0 | 0 | — |
case-17 | fail→pass | 7,898 | 2,300 | -71% | 1 | 1 | 0% | 1,255 | 2,974 | +137% | 0 | 0 | — |
case-18 | fail→fail | 9,323 | 1,852 | -80% | 1 | 1 | 0% | 1,391 | 3,001 | +116% | 0 | 0 | — |
case-19 | fail→pass | 6,459 | 1,777 | -72% | 1 | 1 | 0% | 1,010 | 2,875 | +185% | 0 | 0 | — |
case-20 | fail→pass | 7,254 | 1,900 | -74% | 1 | 1 | 0% | 978 | 2,965 | +203% | 0 | 0 | — |
case-21 | fail→fail | 8,899 | 2,303 | -74% | 1 | 1 | 0% | 1,118 | 2,988 | +167% | 0 | 0 | — |
case-22 | fail→pass | 6,009 | 1,872 | -69% | 1 | 1 | 0% | 848 | 2,958 | +249% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 21 counted toward the lift figure. The other 1 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +55 percentage points is the difference between those two pass rates over the 21 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.