gemini

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

1|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/Cyandex/ErnOS --skill gemini-cyandex
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gemini
Source: https://github.com/Cyandex/ErnOS/tree/main/skills/gemini
Command: npx skills add https://github.com/Cyandex/ErnOS --skill gemini-cyandex

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 gemini and get an immediate response without entering interactive mode. - Model and Output Control: Select a specific model with --model and request structured results with --output-format json. - Extension Management: List and manage Gemini CLI extensions via gemini --list-extensions and gemini extensions <command>. - Use Case: Ask the agent to summarize a long document or return a JSON-structured answer by invoking the Gemini CLI non-interactively. ## Quick Start Ask the agent to run gemini with your prompt, for example: use the gemini skill to answer "What are the main differences between TCP and UDP?" in one-shot mode.

Frequently Asked Questions about gemini

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

FAQPage Schema
How do I run a one-shot prompt with the Gemini CLI?▼

Pass your prompt as a positional argument, for example: gemini "Answer this question...". This runs Gemini in one-shot mode and returns the response directly without entering interactive mode.

How do I get JSON output from the Gemini CLI?▼

Use the --output-format json flag followed by your prompt, such as gemini --output-format json "Return JSON". The CLI then returns the response structured as JSON.

How do I install the Gemini CLI?▼

Install it via Homebrew with the gemini-cli formula, which provides the gemini binary. After installation, run gemini once interactively to complete the authentication flow.

Why does the Gemini CLI ask for authentication?▼

The CLI requires login on first use. Run gemini once in interactive mode and follow the login flow; after that, one-shot invocations work without re-authentication.

How do I manage Gemini CLI extensions?▼

List installed extensions with gemini --list-extensions and manage them using gemini extensions <command>. This lets you inspect and control available CLI extensions from the terminal.