gemini

Runs one-shot prompts against the Gemini CLI for Q&A, summaries, and generation.

Updated Feb 16, 2026
One-click install
npx skills add https://github.com/travis-burmaster/agentbox --skill gemini-travis-burmaster
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gemini
Source: https://github.com/travis-burmaster/agentbox/tree/main/agentfork/skills/gemini
Command: npx skills add https://github.com/travis-burmaster/agentbox --skill gemini-travis-burmaster

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It lets you query Google's Gemini models directly from the command line in one-shot mode, avoiding interactive sessions when you just need a quick answer, summary, or generated text. ## Core Features & Use Cases - One-Shot Prompting: Pass a positional prompt to get an immediate response without entering interactive mode. - Model and Output Control: Select a specific model with --model and request structured output with --output-format json. - Extension Management: List and manage Gemini CLI extensions via gemini --list-extensions and gemini extensions commands. - Use Case: Ask Gemini to summarize a long error log or return a JSON-formatted answer for use in a shell pipeline. ## Quick Start Ask Gemini a question in one-shot mode, for example run gemini followed by your prompt in quotes to get an immediate answer.

Frequently Asked Questions about gemini

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

FAQPage Schema
How do I use the Gemini CLI for one-shot prompts?

Run gemini followed by your prompt as a quoted positional argument, such as gemini "Answer this question...". This returns a response immediately without entering interactive mode.

How do I get JSON output from the Gemini CLI?

Use the --output-format json flag with your prompt, for example gemini --output-format json "Return JSON". This instructs the CLI to return structured JSON instead of plain text.

How do I choose a specific Gemini model in the CLI?

Pass the --model flag followed by the model name before your prompt, such as gemini --model <name> "Prompt...". This overrides the default model for that invocation.

Why does the Gemini CLI ask for authentication?

The Gemini CLI requires login on first use. Run gemini once interactively and follow the login flow to complete authentication before using one-shot mode.

How do I manage Gemini CLI extensions?

List available extensions with gemini --list-extensions and manage them using gemini extensions followed by the appropriate subcommand.