Mastering Gemini Cli Agentic Skill
Description
Claude Code skill for mastering headless automation with Google's Gemini CLI
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Mastering Gemini CLI Skill
Build headless automation and agentic workflows with Google's Gemini CLI.
Overview
This skill provides comprehensive guidance for using Google's Gemini CLI in headless and agentic scenarios. It covers:
- Approval Modes: Understanding default, auto_edit, and yolo modes
- File Permission Model: Explicit consent and visibility patterns
- Tool Selection: When to use Edit vs WriteFile vs RunShell
- smartEdit Configuration: Solving the "0 occurrences found" reliability crisis
- GEMINI.md Context Files: Project-specific agent instructions
- settings.json Hierarchy: Configuration precedence
- MCP Server Integration: Extending agents to external services
- Session Persistence: Multi-step workflows with --resume
Quick Start
# Basic headless invocation
gemini -p "Refactor auth.js to use async/await" --approval-mode auto_edit
# Pipe input for context
git diff --staged | gemini -p "Generate semantic commit message"
# JSON output for scripts
gemini -p "List TODOs in src/" --output-format json --include-directories src
When to Use This Skill
Use when:
- Building CI/CD pipelines with Gemini
- Debugging "0 occurrences found" edit failures
- Configuring --approval-mode for automation
- Creating long-running agents with --resume
- Integrating external services via Model Context Protocol
Installing with Skilz (Universal Installer)
The recommended way to install this skill across different AI coding agents is using the **skilz** universal installer.
Install Skilz
pip install skilz
This skill supports [Agent Skill Standard](https://agentskills.io/) which means it supports 14 plus coding agents including Claude Code, OpenAI Codex, Cursor and Gemini.
Git URL Options
You can use either `-g` or `--git` with HTTPS or SSH URLs:
# HTTPS URL
skilz install -g https://github.com/SpillwaveSolutions/mastering-gemini-cli-agentic-skill
# SSH URL
skilz install --git git@g
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11