ask-gemini
10
总安装量
5
周安装量
#29049
全站排名
安装命令
npx skills add https://github.com/hiroro-work/claude-plugins --skill ask-gemini
Agent 安装分布
claude-code
5
codex
4
gemini-cli
3
opencode
2
github-copilot
2
kilo
1
Skill 文档
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 using positional prompt:
gemini "Your question or task here"
Common options
| Option | Description |
|---|---|
-m MODEL |
Specify model |
-y, --yolo |
Auto-approve all tool executions |
For all available options, run
gemini --help
Examples
Ask a coding question:
gemini "How do I implement a binary search in Python?"
Use a specific model:
gemini -m gemini-2.5-pro "Review this code for potential issues"
Let Gemini make changes automatically:
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
GEMINI_API_KEYenvironment variable for authentication - Use
-y/--yolofor automatic execution without confirmation prompts - The command inherits the current working directory