AGENT SKILL

gemini

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

License 许可
Apache-2.0
所属仓库
leon36000/OPSYS-AI
最近更新
2026-11-08
Stars
★ 0
Forks
0

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.
  • Avoid --yolo for safety.

04 同仓库更多 Skills