
ask-gemini
Get a second opinion from Google Gemini
- version
- 1.2.3
- GitHub stars
- 47
Install
/plugin install ask-gemini@hiropon-pluginsRun it inside Claude Code after adding the marketplace with /plugin marketplace add hiroro-work/claude-plugins.
Contents
Discovered from sourceSkills 1
Ask Gemini
Executes the local gemini CLI to get coding assistance.
Note: This skill requires the gemini CLI to be installed and available in your system's PATH.
Quick start
Run a single query with -p (non-interactive mode):
gemini -p "Your question or task here"
Common options
| Option | Description |
|---|---|
-p | Non-interactive mode (required for scripting) |
-m MODEL | Specify model |
-y, --yolo | Auto-approve all tool executions |
-r, --resume latest | Resume the most recent session |
For all available options, run
gemini --help
Examples
Ask a coding question:
gemini -p "How do I implement a binary search in Python?"
Use a specific model:
gemini -p -m <model> "Review this code for potential issues"
Let Gemini make changes automatically:
gemini -y -p "Refactor this function to use async/await"
Continue a previous session:
gemini --resume latest -p "Now add error handling to that function"
Notes
- The
-pflag runs Gemini non-interactively and outputs result to stdout - Gemini CLI uses the
GEMINI_API_KEYenvironment variable for authentication - Use
-y/--yolofor automatic execution without confirmation prompts - The command inherits the current working directory
Sponsors
Details
- Marketplace
- hiroro-work/claude-plugins
- Source
- skills/ask-gemini
- Author
- hiropon
- Category
- Workflow
More from hiroro-work/claude-plugins
All 22- caffeinatev1.0.0
- demov1.14.0
- dev-workflowv2.17.0
- dev-workflow-bundlev2.44.0
- extract-rulesv1.31.0
- furikaeriv1.0.2
- kabeuchiv3.1.1
- merge-rulesv2.1.3
- mobprov2.0.1
- peerv2.6.7
- prose-polishv1.9.0
- rules-reviewv1.8.8
- security-scannerv1.3.2
- tidyv1.6.4
- translatev1.1.2
- apply-rulesv2.1.3
- artifactorv1.1.3
- ask-agyv1.0.1
- ask-claudev1.1.4
- ask-codexv1.2.4
- ask-copilotv1.0.5