Agent skill · AI & Agents

gemini

Run Google Gemini CLI as a subagent for second opinions, code reviews, and questions. Use when you want a different AI model's perspective.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill gemini-yuvasee-samocode --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 2 KB
Bundled scripts: none
Path: skills/ai-llm/gemini-yuvasee-samocode/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Gemini Subagent Run Google Gemini CLI for second opinions and external reviews. ## Availability Check Before using Gemini, verify it's installed: ```bash which gemini >/dev/null 2>&1 || echo "GEMINI_NOT_INSTALLED" ``` If not installed, inform the user: "Gemini CLI is not installed. Skipping Gemini review." ## API Key Gemini requires `GEMINI_API_KEY` in the environment. Load it from the `.env` file in the current working directory (the folder your current agent session is running from): ```bash GEMINI_API_KEY=$(grep '^GEMINI_API_KEY=' .env 2>/dev/null | cut -d= -f2-) export GEMINI_API_KEY ``` If `.env` doesn't exist or doesn't contain `GEMINI_API_KEY`, inform the user: "GEMINI_API_KEY not found in .env file." ## Execution Pattern ```bash GEMINI_API_KEY=$(grep '^GEMINI_API_KEY=' .env 2>/dev/null | cut -d= -f2-) gemini -p "$PROMPT" --yolo 2>&1 ``` ### Flags | Flag | Purpose | |------|---------| | `-p` / `--prompt` | Non-interactive mode with direct prompt | | `--yolo` | Auto-approve all tool calls without prompts | | `2>&1` | Capture both stdout and stderr | ### Timeout Gemini can take several minutes for complex prompts. Use 15 minute timeout: ```bash timeout 900 gemini -p "$PROMPT

What's inside
Steps it walks through
  1. Availability Check
  2. API Key
  3. Execution Pattern
  4. Flags
  5. Timeout
  6. Usage Examples
  7. Simple Question
  8. Code Review
  9. With Working Directory
  10. GitHub PR Review
  11. Notes
Ships with 1 file
  • metadata.json
Commands it runs
which gemini >/dev/null 2>&1 || echo "GEMINI_NOT_INSTALLED"
export GEMINI_API_KEY
timeout 900 gemini -p "$PROMPT" --yolo 2>&1
timeout 900 gemini -p "What are the tradeoffs between Redis and Memcached for session storage?" --yolo 2>&1
timeout 900 gemini -p "Review this diff for issues:
List concerns with severity (blocking/important/nice-to-have)." --yolo 2>&1
cd /path/to/repo && timeout 900 gemini -p "Analyze the architecture of this codebase" --yolo 2>&1
timeout 900 gemini -p "Review this PR: https://github.com/owner/repo/pull/123
Use gh CLI to get the diff and review for issues." --yolo 2>&1
More from claude-skill-registry
All skills →
About this skill
What does the gemini skill do?

Run Google Gemini CLI as a subagent for second opinions, code reviews, and questions. Use when you want a different AI model's perspective.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill gemini-yuvasee-samocode --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.

Keep going