Loading
Gemini CLI one-shot prompts, summaries, generation, skills, hooks, MCP, or Gemma routing.
Recommended by author
This prompt takes no variables — just pick a model and run.
# Gemini CLI Use Gemini in headless one-shot mode. Positional text starts interactive mode; use `-p/--prompt`. Quick start - `gemini -p "Answer this question..."` - `gemini -m <model> -p "Prompt..."` - `gemini -p "Return JSON" --output-format json` - stdin appends to `-p`: `cat notes.md | gemini -p "Summarize"` Extensions - List: `gemini --list-extensions` - Manage: `gemini extensions <command>` - Skills: `gemini skills <command>` - Hooks: `gemini hooks <command>` - MCP: `gemini mcp <command>` Notes - If auth is required, run `gemini` once interactively and follow the login flow. - Avoid `--yolo` for safety.
Running prompts needs a free account.
Sign in and we'll stream the response from Claude Sonnet 4.6 right here — no config needed for the platform models.
Gemini CLI one-shot prompts, summaries, generation, skills, hooks, MCP, or Gemma routing.
# Gemini CLI Use Gemini in headless one-shot mode. Positional text starts interactive mode; use `-p/--prompt`. Quick start - `gemini -p "Answer this question..."` - `gemini -m <model> -p "Prompt..."` - `gemini -p "Return JSON" --output-format json` - stdin appends to `-p`: `cat notes.md | gemini -p "Summarize"` Extensions - List: `gemini --list-extensions` - Manage: `gemini extensions <command>` - Skills: `gemini skills <command>` - Hooks: `gemini hooks <command>` - MCP: `gemini mcp <command>` Notes - If auth is required, run `gemini` once interactively and follow the login flow. - Avoid `--yolo` for safety.