Back to Skills

ask-gemini

verified

Asks Gemini CLI for coding assistance. Use for getting a second opinion, code generation, debugging, or delegating coding tasks.

View on GitHub

Marketplace

hiropon-plugins

hiroro-work/claude-plugins

Plugin

security-scanner

security

Repository

hiroro-work/claude-plugins
18stars

skills/ask-gemini/SKILL.md

Last Verified

January 25, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/hiroro-work/claude-plugins/blob/main/skills/ask-gemini/SKILL.md -a claude-code --skill ask-gemini

Installation paths:

Claude
.claude/skills/ask-gemini/
Powered by add-skill CLI

Instructions

# 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:

```bash
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:**

```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 `GEMINI_API_KEY` environment variable for authentication
- Use `-y/--yolo` for automatic execution without confirmation prompts
- The command inherits the current working directory

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
1085 chars