This skill should be used when the user wants to invoke Google Gemini CLI for complex reasoning tasks, research, and AI assistance. Trigger phrases include "use gemini", "ask gemini", "run gemini", "call gemini", "gemini cli", "Google AI", "Gemini reasoning", or when users request Google's AI models, need advanced reasoning capabilities, research with web search, or want to continue previous Gemini conversations. Automatically triggers on Gemini-related requests and supports session continuation for iterative development.
View on GitHubSelect agents to install to:
npx add-skill https://github.com/Lucklyric/cc-dev-tools/blob/main/plugins/gemini/skills/gemini/SKILL.md -a claude-code --skill geminiInstallation paths:
.claude/skills/gemini/# Gemini: Google AI Assistant for Claude Code
---
## DEFAULT MODEL: Gemini 3 Pro
**The default model for ALL Gemini invocations is `gemini-3-pro-preview`.**
- Always use `gemini-3-pro-preview` unless user explicitly requests another model
- This is the highest reasoning model available
- Fallback to `gemini-2.5-flash` ONLY on 404/access errors
```bash
# Default invocation - ALWAYS use gemini-3-pro-preview
gemini -m gemini-3-pro-preview "your prompt here"
```
---
## CRITICAL: Positional Prompts Required
**REQUIRED**: Use positional prompts for Gemini CLI invocations.
**DEPRECATED**: `-p/--prompt` flag is officially deprecated and will be removed in a future version.
**Examples:**
- `gemini -m gemini-3-pro-preview "prompt"` (CORRECT - positional)
- `gemini -m gemini-3-pro-preview -p "prompt"` (DEPRECATED - avoid using)
- `gemini -r latest` (CORRECT - session resume)
**Warning from CLI help**: "[deprecated: Use the positional prompt instead. This flag will be removed in a future version.]"
**Why?** As of Gemini CLI v0.20.0, the `-p` flag is explicitly marked deprecated. Use positional prompts for forward compatibility.
---
## IMPORTANT: Preview Features & OAuth Free Tier
**For OAuth free tier users in headless mode:**
When `previewFeatures: true` in `~/.gemini/settings.json`, the CLI routes ALL requests to Gemini 3 Pro (even `-m gemini-2.5-pro`). Since free tier doesn't have Gemini 3 access, this causes 404 errors.
**Solution**: Disable preview features for reliable headless operation:
```json
// ~/.gemini/settings.json
{
"general": {
"previewFeatures": false
}
}
```
**Plugin Behavior**: This skill automatically falls back to `gemini-2.5-flash` when encountering 404 errors. Flash always works with OAuth free tier.
---
## Trigger Examples
This skill activates when users say phrases like:
- "Use gemini to research this topic"
- "Ask gemini about this design pattern"
- "Run gemini on this analysis"
- "Call gemini for help with this problem"
-