gemini
SKILL.md
Gemini Skill
Defaults
| Parameter | Default |
|---|---|
| Model | gemini-3.1-pro-preview |
| Approval mode | default |
| Fallback chain | gemini-3.1-pro-preview → gemini-2.5-pro → gemini-2.5-flash |
Do NOT ask the user for model unless explicitly requested.
CRITICAL: Headless Mode
Always use -p/--prompt in Claude Code. As of v0.29.0+, positional prompts open interactive mode.
# 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(default): all tasks — prompts before editsauto_edit: only when user explicitly requests file editingplan: read-only, no file modificationsyolo: full auto-approval — ask user before using
-
Assemble and run the command:
gemini -m gemini-3.1-pro-preview -p "your prompt here" -
To resume a previous session:
gemini -r latest -p "your follow-up prompt" gemini --list-sessions # to see available sessions -
After completion, use
AskUserQuestionto confirm next steps or whether to resume. -
When output includes warnings or partial results, summarize and ask how to adjust.
Preview features note: If OAuth free tier with previewFeatures: true in ~/.gemini/settings.json causes 404 errors, set "previewFeatures": false. Fallback to gemini-2.5-flash automatically on 404.
Critical 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
command not found: gemini: tell user to install Gemini CLI.- 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
previewFeaturesor usegemini-2.5-pro. - Session not found: run
gemini --list-sessions.
Weekly Installs
5
Repository
alpoxdev/hypercoreGitHub Stars
2
First Seen
10 days ago
Security Audits
Installed on
opencode5
gemini-cli5
claude-code5
github-copilot5
codex5
amp5