New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Use Gemini CLI for code review, plan review, and large-context analysis above 200k tokens.

skills.sh installs
4K
GitHub stars
2.7K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers code review, plan review, big-context processing, and multi-file analysis through Gemini CLI commands
  • Defaults to gemini-3-pro-preview and offers gemini-3-flash and legacy 2.5 models with per-model context and cost notes
  • Enforces --approval-mode yolo or a timeout wrapper for background runs, since default hangs in non-interactive shells
  • Includes a hung-process check and kill procedure for stalled Gemini sessions, with prompts before high-impact flags

Install

$ npx -y skills add softaworks/agent-toolkit --skill gemini -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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"

Details

Repository
github.com/softaworks/agent-toolkit
Categories
Code Review & Quality, CLI & Terminal

More from softaworks/agent-toolkit

All 40