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-codeInstalls 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 yolofor fully automated execution - ✅ OR wrap with timeout:
timeout 300 gemini ... - ❌ NEVER use
--approval-mode defaultwithout 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- Lead Research Assistant386
- Prisma Expert386
- Clinical Decision Support384
- Theme Factory384
- Transformers383
- Systematic Debugging382
- Task Execution Engine382
- Pydicom381
- Weights And Biases381
- Segment Anything Model380
- Ai Wrapper Product379
- Dispatching Parallel Agents379
- It Operations379
- Gguf Quantization378
- Peft Fine Tuning378
- Dspy376
- Sentence Transformers376
- Vercel React Best Practices376
- Fine Tuning With Trl375
- Image Enhancer375
- Competitive Ads Extractor373
- Linear373
- Shap373
- Drugbank Database372
