This wraps the Gemini CLI for handling code reviews, architectural analysis, and anything requiring massive context windows over 200k tokens. It defaults to Gemini 3 Pro, which apparently scores 76.2% on SWE-bench and handles up to 1M tokens of input. The main gotcha is approval modes: you must use yolo mode for background execution in Claude Code or it'll hang indefinitely waiting for interactive prompts you can't provide. The skill asks which model you want upfront (3 Pro for reasoning, 3 Flash for speed, or legacy 2.5 models), runs the analysis, and reminds you to start a new session for follow-ups since there's no built-in resume. Honestly most useful when you need to throw an entire codebase at an LLM and get back coherent analysis without token limit anxiety.

skills.sh installs
388
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill gemini --agent claude-code

Installs into .claude/skills of the current project.

Files

Gemini Skill Guide

When to Use Gemini

  • WHEN ASKED TO BE ACTIVATED
  • Code Review: Comprehensive code reviews across multiple files
  • Plan Review: Analyzing architectural plans, technical specifications, or project roadmaps
  • Big Context Processing: Tasks requiring >200k tokens of context (entire codebases, documentation sets)
  • Multi-file Analysis: Understanding relationships and patterns across many files

⚠️ Critical: Background/Non-Interactive Mode Warning

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:

  • ✅ Use --approval-mode yolo for fully automated execution
  • ✅ OR wrap with timeout: timeout 300 gemini ...
  • ❌ NEVER use --approval-mode default without interactive terminal

Symptoms of hung Gemini:

  • Process running 20+ minutes with 0% CPU usage
  • No network activity
  • Process state shows 'S' (sleeping)

Fix hung process:

# Check if hung
ps aux | grep gemini | grep -v grep

# Kill if necessary
pkill -9 -f "gemini.*gemini-3-pro-preview"

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Categories
Git & Pull Requests, Code Review & Quality, Productivity & Planning, CLI & Terminal
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1zenmux avatarzenmux-contextzenmux/skillsAnswer ZenMux questions by reading the latest official docs. Use for product features, APIs, integration, pricing, models/providers, routing, fallback, streamin387skills.sh installs
2alirezarezvani avatarpost-mortemalirezarezvani/claude-skills/cs:post-mortem <decision> — Honest retrospective on an executed decision, scored against original assumptions and dissent. Closes the strategic sprint loop. Us386skills.sh installs
3community-access avatarmobile-accessibilitycommunity-access/accessibility-agentsMobile accessibility specialist for React Native, Expo, iOS (SwiftUI/UIKit), and Android (Jetpack Compose/Views). Audits accessibilityLabel, accessibilityRole, 384skills.sh installs
4mims-harvard avatartooluniverse-drug-target-validationmims-harvard/tooluniverseQuantitative drug-target validation pipeline. Scores druggability, selectivity, safety profile, ADMET feasibility, and structural tractability with a composite 384skills.sh installs
5openclaudia avatargoogle-reviewsopenclaudia/openclaudia-skillsFetch Google review ratings and review counts for businesses via DataForSEO API. Use when the user asks to check Google reviews, get review counts, compare busi384skills.sh installs
6mims-harvard avatardevtu-auto-discover-apismims-harvard/tooluniverseAutomatically discover life science APIs online, create ToolUniverse tools, validate them, and prepare integration PRs. Performs gap analysis to identify missin383skills.sh installs