gemini

Run Gemini CLI for code analysis and generation with custom prompts.

3|Updated Jan 18, 2026
One-click install
npx skills add https://github.com/HankLiu447/SuperSpec --skill gemini-hankliu447
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gemini
Source: https://github.com/HankLiu447/SuperSpec/tree/main/skills/gemini
Command: npx skills add https://github.com/HankLiu447/SuperSpec --skill gemini-hankliu447

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill provides a straightforward interface to run Gemini AI for code analysis and generation, enabling developers to leverage Google's Gemini models from the command line within Claude Code workflows.

Core Features & Use Cases

  • Model-agnostic prompts: select from Gemini models to tailor reasoning depth.
  • Code analysis & generation: analyze complex code bases and generate improved snippets.
  • Usage scenarios: perform code reviews, refactoring, and design reasoning with Gemini in your projects.

Quick Start

Use uv run to execute the wrapper with a model and prompt, for example: uv run ~/.claude/skills/gemini/scripts/gemini.py -m gemini-3-pro-preview -p "explain this function and suggest improvements".

Frequently Asked Questions about gemini

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

FAQPage Schema
How do I run Gemini for code analysis and generation within Claude Code workflows?

To run Gemini for code analysis, execute the wrapper script via uv run with your selected model and prompt. The CLI returns plain text output while handling environment variables, timeouts, and errors across platforms.

Can I select different Gemini models for varying reasoning depth in CLI code reviews?

Yes, you can select different Gemini models for CLI code reviews. Use the model selection environment variable or command flag to tailor reasoning depth and generate improved snippets based on your needs.

What do I need to configure before using Gemini CLI for automated code refactoring?

Before using Gemini CLI for code refactoring, you need the Gemini CLI installed and configured on your system. The wrapper script handles cross-platform execution, custom prompts, and optional working directories.

Does this Gemini CLI wrapper support custom working directories and timeout settings?

Yes, the Gemini CLI wrapper supports optional working directories and timeout settings. It uses environment variables for model selection and timeouts to execute AI-powered code analysis and generation reliably.

How does the wrapper handle execution timeouts and command errors during code generation?

The wrapper handles execution timeouts and command errors during code generation by catching failures and returning plain text output. This ensures Claude Code workflows remain stable even if the Gemini CLI encounters issues.

Gemini Skill: what is the best way to analyze complex code bases using Google's models?

The best way to analyze complex code bases using Google's models is supplying a custom prompt to the wrapper script. It leverages Gemini models to perform design reasoning, code reviews, and refactoring directly from the command line.