Agent skill
claude-gemini
Use the local Gemini CLI from Claude Code with the user's existing Gemini authentication or API configuration. Use for large-context repo scans, multimodal analysis, second-opinion planning, or structured Gemini runs in the current workspace.
Install this agent skill to your Project
npx add-skill https://github.com/sonichi/sutando/tree/main/skills/claude-gemini
SKILL.md
Claude Gemini
Delegate work from Claude Code to the local gemini CLI. This skill uses whatever authentication the Gemini CLI is already configured to use on this machine, including API key or signed-in CLI flows. It does not copy or export secrets.
Usage: /claude-gemini [prompt]
ARGUMENTS: $ARGUMENTS
When to Use
- "Use Gemini on this repo"
- Need a large-context scan across many files
- Need multimodal or cross-module analysis from a second model
- Need a read-only or JSON-formatted Gemini pass from the current workspace
Guardrails
- Default to
--approval-mode planfor read-only analysis. - Switch to
--approval-mode auto_editonly when the user wants Gemini to make edits. - Keep Gemini in the same repo by changing into the target workspace before running it.
- Prefer
--output-format jsonorstream-jsonwhen another tool will consume the output.
Quick Checks
bash "$SKILL_DIR/scripts/gemini-run.sh" --check
Common Commands
# Read-only analysis
bash "$SKILL_DIR/scripts/gemini-run.sh" -- "Trace how tasks flow from voice input to execution"
# Explicit model selection
bash "$SKILL_DIR/scripts/gemini-run.sh" --model gemini-2.5-pro -- "Review the repo structure and identify weak points"
# Machine-readable output
bash "$SKILL_DIR/scripts/gemini-run.sh" --output-format json -- "Summarize risks in src/startup.sh"
# Allow edits when the user asked for implementation help
bash "$SKILL_DIR/scripts/gemini-run.sh" --approval-mode auto_edit -- "Implement a safer startup preflight for missing services"
If Invoked As A Slash Command
- If ARGUMENTS is empty, explain the available modes and suggest
--approval-mode planfor analysis. - If ARGUMENTS is present, run:
bash "$SKILL_DIR/scripts/gemini-run.sh" -- "$ARGUMENTS"
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
x-twitter
Post tweets, search, read mentions, and check engagement on X (Twitter) via API v2.
schedule-crons
claude-codex
Use the local Codex CLI from Claude Code with the user's existing Codex login or API key. Use for Codex reviews, second-opinion analysis, implementation delegation, or non-interactive Codex runs in the current workspace.
phone-conversation
Make conversational phone calls and join Zoom meetings via Twilio + Gemini. Multi-turn AI conversations on the phone on behalf of the user.
screen-record
quota-tracker
Track Claude Code quota usage via Anthropic API rate limit headers. Shows 5h and 7d utilization, reset times, and quota status. Works with both subscription and API key auth.
Didn't find tool you were looking for?