gemini

Run one-shot Gemini AI queries from the command line with JSON output.

307|86|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/johnson7788/MultiUserClaw --skill gemini-johnson7788
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gemini
Source: https://github.com/johnson7788/MultiUserClaw/tree/main/openclaw/skills/gemini
Command: npx skills add https://github.com/johnson7788/MultiUserClaw --skill gemini-johnson7788

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a command-line interface to interact with the Gemini AI model for quick questions, summaries, and content generation without needing to use an interactive chat session.

Core Features & Use Cases

  • One-shot Q&A: Ask questions directly from the command line.
  • Content Generation: Generate text based on a given prompt.
  • Model Selection: Specify different Gemini models for varied outputs.
  • Output Formatting: Request output in JSON format for programmatic use.
  • Use Case: Quickly get a summary of a long article by running gemini "Summarize this article..." or generate a code snippet with gemini --output-format json "Generate a Python function to...".

Quick Start

Use the gemini skill to answer the question "What is the capital of France?".

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 AI model for one-shot question answering from the command line?

To use the Gemini AI model for one-shot question answering, you pass your prompt directly to the gemini-cli tool, such as running gemini "Your question here". This executes the task without requiring an interactive chat session.

Can I format Gemini CLI text generation output as JSON for automated workflows?

Yes, you can format Gemini CLI text generation output as JSON by including the --output-format json flag in your command. This renders model responses as structured JSON objects for programmatic integration.

Do I need to install and authenticate the gemini-cli tool before using this Skill?

Yes, you need the gemini-cli tool installed and authenticated before using this Skill. This prerequisite ensures the command-line interface can successfully route prompts to the Gemini AI model and execute generation tasks.

How do I specify different Gemini models for varied text generation outputs?

To specify different Gemini models for varied text generation outputs, you use model selection commands within the gemini-cli interface. This allows you to customize the AI model applied to your one-shot prompts and summaries.

What is the best way to summarize a long article using Gemini from the terminal?

The best way to summarize a long article using Gemini is to pass the text directly to the command-line interface, such as gemini "Summarize this article...". This executes a one-shot summarization task without an interactive chat session.

Why should I use command line AI generation instead of an interactive chat session?

Command line AI generation is ideal for quick questions and automated workflows because it executes one-shot tasks directly. This avoids the overhead of an interactive chat session, enabling immediate text generation and programmatic JSON output.