gemini
Execute Gemini CLI for AI-powered code analysis and generation. Use when you need to leverage Google's Gemini models for complex reasoning tasks.
npx skills add majiayu000/claude-skill-registry --skill gemini-hankliu447-superspec --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Gemini CLI Integration ## Overview Execute Gemini CLI commands with support for multiple models and flexible prompt input. Integrates Google's Gemini AI models into Claude Code workflows. ## When to Use - Complex reasoning tasks requiring advanced AI capabilities - Code generation and analysis with Gemini models - Tasks requiring Google's latest AI technology - Alternative perspective on code problems ## Usage **推荐方式**(使用 uv run,自动管理 Python 环境): ```bash uv run ~/.claude/skills/gemini/scripts/gemini.py -m <model> -p "<prompt>" [working_dir] ``` **备选方式**(直接执行或使用 Python): ```bash ~/.claude/skills/gemini/scripts/gemini.py -m <model> -p "<prompt>" [working_dir] # 或 python3 ~/.claude/skills/gemini/scripts/gemini.py -m <model> -p "<prompt>" [working_dir] ``` ## Environment Variables - **GEMINI_MODEL**: Override default model (default: `gemini-3-pro-preview`) - Example: `export GEMINI_MODEL=gemini-3` - **GEMINI_TIMEOUT**: Override timeout in milliseconds (default: 7200000 = 2 hours) - Example: `export GEMINI_TIMEOUT=3600000` for 1 hour ## Timeout Control - **Built-in**: Script enforces 2-hour timeout by default - **Override**: Set `GEMINI_TIMEOUT` environment variable (in milliseconds) -
- Overview
- When to Use
- Usage
- Environment Variables
- Timeout Control
- Parameters
- Return Format
- Invocation Pattern
- Examples
- Notes
uv run ~/.claude/skills/gemini/scripts/gemini.py -m <model> -p "<prompt>" [working_dir] python3 ~/.claude/skills/gemini/scripts/gemini.py -m <model> -p "<prompt>" [working_dir] uv run ~/.claude/skills/gemini/scripts/gemini.py -m gemini-3-pro-preview -p "explain quantum computing" uv run ~/.claude/skills/gemini/scripts/gemini.py -m gemini-3-pro-preview -p "review this code for security issues: $(cat app.py)" uv run ~/.claude/skills/gemini/scripts/gemini.py -m gemini-3-pro-preview -p "analyze project structure" "/path/to/project" uv run ~/.claude/skills/gemini/scripts/gemini.py -m gemini-3-pro-preview -p "quick code suggestion" python3 ~/.claude/skills/gemini/scripts/gemini.py -m gemini-3-pro-preview -p "your prompt here"
What does the gemini skill do?
Execute Gemini CLI for AI-powered code analysis and generation. Use when you need to leverage Google's Gemini models for complex reasoning tasks.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill gemini-hankliu447-superspec --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
