Skip to content
Skillpedia
Agents394k · #54

gemini

What it does

It guides an AI agent through running Gemini in headless mode for single prompts, summaries, and structured output, and through managing its extensions. It is for people who want to use Gemini from the terminal or inside a workflow.

When to use it

  • ✓When you want a quick answer or summary from Gemini without a long chat.
  • ✓When you need Gemini to return structured JSON for another tool.
  • ✓When you want to pass a file's contents to Gemini for summarizing.

Skill link

https://github.com/openclaw/openclaw/blob/main/skills/gemini/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/openclaw/openclaw/blob/main/skills/gemini/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Use Gemini to summarize these meeting notes in five bullet points.”

5 new skills a week. 1 minute to read.

How it works

The skill runs the gemini command with a prompt, and it can take extra text piped in from a file. Results come back as plain text or JSON, depending on the option you choose.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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.
FAQ

What if Gemini asks me to log in?

Run gemini once in an interactive session and follow the login steps, then the one-off commands will work.

Can it take input from a file?

Yes. Text piped in from a file is added to the prompt you give with the p option.

Can I pick a model?

Yes. You can pass a model name with the m option.

Details

Original description by the author

Gemini CLI one-shot prompts, summaries, generation, skills, hooks, MCP, or Gemma routing.

repo: openclaw/openclaw

Popularity

GitHub stars
394k
Ranking position
#54
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills