ask_gemini

Execute the local gemini CLI for code generation, debugging, and review.

3|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/lucasgrow/some-skills --skill ask-gemini-lucasgrow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ask_gemini
Source: https://github.com/lucasgrow/some-skills/tree/main/ask-gemini
Command: npx skills add https://github.com/lucasgrow/some-skills --skill ask-gemini-lucasgrow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a way to get coding assistance directly from the Gemini CLI, helping with tasks like code generation, debugging, and getting a second opinion on code.

Core Features & Use Cases

  • Code Generation: Ask Gemini to write code snippets or functions.
  • Debugging: Get help identifying and fixing errors in your code.
  • Code Review: Request feedback on your existing code.
  • Delegation: Assign coding tasks to Gemini.

Quick Start

Ask Gemini to explain how to implement a binary search in Python.

Frequently Asked Questions about ask_gemini

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use the Gemini CLI for code generation and debugging?

You can use the Gemini CLI for code generation and debugging by executing it through this Skill, which sends your prompts to Gemini to write code snippets, identify errors, and provide fixes.

What coding tasks can I delegate to Gemini using this approach?

You can delegate coding tasks to Gemini such as code generation, debugging, code review, and getting a second opinion on your existing code directly from your environment.

Do I need an API key to run the local Gemini coding assistant?

Yes, you need the `GEMINI_API_KEY` environment variable set for authentication, and the local `gemini` CLI must be installed on your system to execute coding assistance requests.

Can I use Gemini for non-interactive code review in automated pipelines?

Yes, the Skill supports specifying models and auto-approving tool executions, allowing you to use Gemini for non-interactive code review and delegation in automated environments.

What is the best way to get a second opinion on my existing code?

The best way to get a second opinion on existing code is to execute the local `gemini` CLI to request a code review, providing detailed feedback on your implementation directly.