← ClaudeAtlas

gemini-clilisted

Google Gemini CLI orchestration through `bash.exec`. Use when the user explicitly wants to run Gemini from shell, install or authenticate the `gemini` CLI, choose a Gemini model, or execute one-shot `gemini -p` workflows against a repo or prompt.
afkbot-io/afkbotio · ★ 3 · AI & Automation · score 67
Install: claude install-skill afkbot-io/afkbotio
# gemini-cli Use this skill when AFKBOT should drive the external Google Gemini CLI through `bash.exec`. ## Default mode - Prefer one-shot shell usage for AFKBOT: - `gemini -p "<prompt>"` - `gemini -p "<prompt>" --output-format json` - `gemini -p "<prompt>" --output-format stream-json` - Use interactive `gemini` only if the user explicitly wants a live terminal session or browser sign-in flow. ## What to pass Build each `bash.exec` command from these inputs: 1. target workspace: - `cwd` in the tool call - optional `--include-directories <dir1,dir2>` for multi-root work 2. prompt: - `-p "<prompt>"` 3. model: - `-m <model>` 4. output shape: - default plain text for human-readable answers - `--output-format json` for structured automation - `--output-format stream-json` for long-running streamed events ## Common commands ```bash gemini --version gemini -p "Summarize this repository" gemini -p "Explain the current test failures" --output-format json gemini -m gemini-2.5-flash -p "Draft a migration plan" gemini --include-directories ../src,../lib -p "Compare these directories" ``` ## Installation Gemini CLI supports several installation paths: ```bash npx @google/gemini-cli npm install -g @google/gemini-cli brew install gemini-cli sudo port install gemini-cli ``` - In restricted environments, the official docs also describe installing Node in Conda first and then installing the package with npm. ## Authentication Gemini CLI supports three ma