AGENT SKILL

gemini

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

License 许可
MIT
所属仓库
openclaw/openclaw
最近更新
2026-11-11
Stars
★ 39w
Forks
8.3w

01 前言 Front Matter

name
gemini
homepage
https://ai.google.dev/
metadata
{ "openclaw": { "emoji": "✨", "install": [ { "id": "brew", "bins": [ "gemini" ], "kind": "brew", "label": "Install Gemini CLI (brew)", "formula": "gemini-cli" } ], "requires": { "bins": [ "gemini" ] } } }
description
Gemini CLI one-shot prompts, summaries, generation, skills, hooks, MCP, or Gemma routing.

03 SKILL.md 正文

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.

04 同仓库更多 Skills