gemini

Run one-shot Q&A and content generation from the Gemini CLI.

Updated Apr 8, 2026
One-click install
npx skills add https://github.com/JOHNNYWHITEMIKE/openclaw --skill gemini-johnnywhitemike
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gemini
Source: https://github.com/JOHNNYWHITEMIKE/openclaw/tree/main/openclaw/.openclaw/openclaw/skills/gemini
Command: npx skills add https://github.com/JOHNNYWHITEMIKE/openclaw --skill gemini-johnnywhitemike

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you quickly ask questions and generate outputs from the command line without setting up an interactive chat flow.

Core Features & Use Cases

  • One-shot Q&A and generation: Produce answers, summaries, or generated text in a single command invocation.
  • Model and output control: Select a model and request structured output (for example, JSON) for downstream use.
  • Extension management: List and manage Gemini extensions from the CLI.

Quick Start

Run gemini --model <name> "Summarize the key points of this text in three bullets."

Frequently Asked Questions about gemini

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

FAQPage Schema
How do I get one-shot answers from the command line using Gemini?

To get one-shot answers, use the Gemini CLI to execute a single command invocation with your prompt. This avoids interactive login and directly returns generated text or summaries without setting up a chat flow.

Can I generate JSON output directly from a terminal prompt?

Yes, you can generate JSON output directly from a terminal prompt by using the Gemini CLI. It supports requesting structured output like JSON during your single-turn text generation for downstream use.

Do I need a specific Gemini CLI installation to run non-interactive commands?

Yes, you need a Gemini CLI installation to run non-interactive commands. The setup requires this local environment to execute one-shot question answering and select specific models for your tasks.

How do I select a specific model for text generation in the CLI?

You select a specific model for text generation by including the model selection flag in your command. Use the syntax gemini --model <name> followed by your prompt to specify the desired generation engine.

What is the best way to manage Gemini extensions from the terminal?

The best way to manage Gemini extensions is through the CLI's built-in extension management feature. This allows you to list and manage extensions directly within your common terminal workflows.

Why does my one-shot QA command require non-interactive execution?

One-shot QA commands require non-interactive execution to avoid interactive login prompts during automated workflows. This ensures the command runs immediately and returns results without requiring manual authentication steps.