ask-gemini
Original:🇺🇸 English
Translated
Asks Gemini CLI for coding assistance. Use for getting a second opinion, code generation, debugging, or delegating coding tasks.
6installs
Added on
NPX Install
npx skill4agent add hiroro-work/claude-plugins ask-geminiTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Ask Gemini
Executes the local CLI to get coding assistance.
geminiNote: This skill requires the CLI to be installed and available in your system's PATH.
geminiQuick start
Run a single query using positional prompt:
bash
gemini "Your question or task here"Common options
| Option | Description |
|---|---|
| Specify model |
| Auto-approve all tool executions |
For all available options, rungemini --help
Examples
Ask a coding question:
bash
gemini "How do I implement a binary search in Python?"Use a specific model:
bash
gemini -m gemini-2.5-pro "Review this code for potential issues"Let Gemini make changes automatically:
bash
gemini -y "Refactor this function to use async/await"Notes
- Positional prompts run Gemini non-interactively and output result to stdout
- Gemini CLI uses the environment variable for authentication
GEMINI_API_KEY - Use for automatic execution without confirmation prompts
-y/--yolo - The command inherits the current working directory