gemini
Original:🇺🇸 English
Translated
Use when the user wants to invoke Google Gemini CLI for reasoning tasks, research, and AI assistance. Trigger phrases: "use gemini", "ask gemini", "run gemini", "call gemini", "gemini cli", "Google AI", "Gemini reasoning", or when users request Google's AI models, research with web search, or want to continue a previous Gemini session.
2installs
Sourcealpoxdev/hypercore
Added on
NPX Install
npx skill4agent add alpoxdev/hypercore geminiTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Gemini Skill
Defaults
| Parameter | Default |
|---|---|
| Model | |
| Approval mode | |
| Fallback chain | |
Do NOT ask the user for model unless explicitly requested.
CRITICAL: Headless Mode
Always use / in Claude Code. As of v0.29.0+, positional prompts open interactive mode.
-p--promptbash
# Correct
gemini -m gemini-3.1-pro-preview -p "your prompt here"
# Wrong — opens interactive terminal
gemini -m gemini-3.1-pro-preview "your prompt here"Running a Task
-
Select approval mode based on the task:
- (default): all tasks — prompts before edits
default - : only when user explicitly requests file editing
auto_edit - : read-only, no file modifications
plan - : full auto-approval — ask user before using
yolo
-
Assemble and run the command:bash
gemini -m gemini-3.1-pro-preview -p "your prompt here" -
To resume a previous session:bash
gemini -r latest -p "your follow-up prompt" gemini --list-sessions # to see available sessions -
After completion, useto confirm next steps or whether to resume.
AskUserQuestion -
When output includes warnings or partial results, summarize and ask how to adjust.
Preview features note: If OAuth free tier with in causes 404 errors, set . Fallback to automatically on 404.
previewFeatures: true~/.gemini/settings.json"previewFeatures": falsegemini-2.5-flashCritical Evaluation
Treat Gemini as a colleague, not an authority.
- Trust your knowledge when confident. Push back on incorrect claims directly.
- Research disagreements using WebSearch or docs before accepting Gemini's claims.
- Remember knowledge cutoffs — Gemini may not know about recent releases or API changes.
- Let the user decide when there's genuine ambiguity.
Error Handling
- : tell user to install Gemini CLI.
command not found: gemini - Auth errors: run .
gemini login - 429 / rate limit: free tier is 60 req/min, 1000 req/day — wait or upgrade.
- 404 / model not found: retry with fallback model.
- 403 / access denied: disable or use
previewFeatures.gemini-2.5-pro - Session not found: run .
gemini --list-sessions