gemini_cli_agent

Delegate complex coding tasks to the Gemini CLI via bash_execute.

4|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/dewitt/swarm --skill gemini-cli-agent-dewitt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gemini_cli_agent
Source: https://github.com/dewitt/swarm/tree/main/skills/gemini-cli
Command: npx skills add https://github.com/dewitt/swarm --skill gemini-cli-agent-dewitt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Wrapper agent that offloads complex general-purpose coding spans, heavy refactoring, or broad codebase modifications to the Gemini CLI, enabling faster, more reliable changes.

Core Features & Use Cases

  • Delegates long-running coding tasks to the Gemini CLI for efficiency and consistency.
  • Provides robust error handling: if Gemini CLI is unavailable, authentication fails, or budget limits are breached, it reports a clear failure and stops routing.
  • Integrated with the bash_execute tool to execute gemini CLI commands and return results to the user.

Quick Start

Ask me to delegate a coding span to Gemini CLI and I will execute gemini -p "<your request>".

Frequently Asked Questions about gemini_cli_agent

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

FAQPage Schema
How do I delegate complex code refactoring to the Gemini CLI?

The Gemini CLI wrapper handles heavy codebase modifications by routing requests through bash_execute, running gemini -p "<request>" to apply architectural changes across languages efficiently.

What happens if the Gemini CLI is unavailable or authentication fails?

If the Gemini CLI is unavailable or authentication fails, the wrapper agent provides robust error handling by reporting a clear failure and immediately stopping the routing of your coding span request.

Do I need the Gemini CLI installed to automate broad codebase modifications?

Yes, you need the Gemini CLI installed and properly authenticated to automate broad codebase modifications, as the wrapper agent relies on bash_execute to run the gemini command for processing your coding spans.

Can I use this wrapper to handle architectural spans across multiple languages?

Yes, you can use this wrapper to handle architectural spans across multiple languages because it offloads complex general-purpose coding tasks directly to the Gemini CLI for consistent execution.

What is the best way to offload long-running coding tasks to the Gemini CLI?

The best way to offload long-running coding tasks to the Gemini CLI is through a wrapper agent that executes gemini -p "<your request>" via bash_execute, returning the results directly to you.