Gemini
Use this skill when the task specifically benefits from the gemini CLI rather than a generic model prompt.
Prerequisites
geminiCLI installed and available onPATH- Authenticated locally by running
geminionce interactively if needed
When To Use
- Run one-shot prompts against Gemini models
- Request structured JSON output from the CLI
- Switch models explicitly for a prompt
- Summarize or generate text through Gemini without entering interactive mode
Common Patterns
- Basic prompt:
gemini "Answer this question..." - Model selection:
gemini --model <name> "Prompt..." - Structured output:
gemini --output-format json "Return JSON" - Extension discovery:
gemini --list-extensions
Working Notes
- Prefer positional prompts for deterministic one-shot execution
- Avoid interactive sessions unless setup or login is required
- Avoid unsafe flags like
--yolo - If a task depends on Gemini extensions, list them first before assuming availability