gemini-cli

Solid

Run Gemini CLI for AI queries. Use when user asks to "run/ask/use gemini", compare Claude vs Gemini, or delegate tasks to Gemini.

AI & Automation 25 stars 8 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 80/100

Stars 20%
47
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Gemini CLI Interact w/ Google's Gemini CLI locally. Run queries, get responses, compare outputs. ## Prerequisites Gemini CLI must be installed & configured: 1. **Install:** https://github.com/google-gemini/gemini-cli 2. **Auth:** Run `gemini` & sign in w/ Google account 3. **Verify:** `gemini --version` ## When to Use - User asks to "run/ask/use gemini" - Compare Claude vs Gemini responses - Get second AI opinion - Delegate task to Gemini ## Usage **IMPORTANT:** Use `-p` flag for non-interactive (headless) one-shot queries. Without `-p`, gemini opens interactive mode which hangs in automation. ```bash # One-shot query (MUST use -p for non-interactive) gemini -p "Your prompt" # Specific model gemini -p "prompt" -m gemini-3-pro # JSON output gemini -p "prompt" -o json # Auto-approve tool use (-y is deprecated) gemini --approval-mode=yolo -p "prompt" # File analysis cat file.txt | gemini -p "Analyze this" ``` ## Models | Alias | Use case | |-------|----------| | `auto` | DEFAULT — routes per prompt (simple → Flash, complex → 3 Pro) | | `pro` | Force Gemini 3 Pro (best all-round) | | `flash` / `flash-lite` | Fast, lightweight tasks (3.5 Flash GA rolling out as auto default) | Omit `-m` to use `auto` routing. Aliases beat pinned model ids — they track upstream model swaps. Pin a full id (e.g. `gemini-3-pro`) only when the user names one. ## CLI Options | Flag | Desc | |------|------| | `-p` | **Required for headless.** Non-interactive prompt | | `-m` | Model se...

Details

Author
georgekhananaev
Repository
georgekhananaev/claude-skills-vault
Created
6 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category