Community编程与开发github.com

Gemini CLI

在无头一次性模式下使用 Gemini。支持提示、摘要、生成、扩展、技能、钩子、MCP 或 Gemma 路由。

Gemini CLI 是什么?

Gemini CLI 技能允许开发者通过命令行直接调用 Gemini 模型,执行一次性(one-shot)提示任务。它支持通过 `-p/--prompt` 标志传递文本或从 stdin 追加内容,非常适合快速问答、代码生成、文本摘要和 JSON 输出等场景。该技能还提供了扩展管理、技能配置、钩子(hooks)和 MCP 支持,增强了工作流的灵活性和自动化能力。Gemini CLI 在 macOS, Linux 和 Windows 上均可运行,需要一次性的交互式登录以完成认证。

兼容平台~Claude Code~Codex CLI~Cursor✓Gemini CLI
npx skills add https://github.com/clawdbot/clawdbot/tree/main/skills/gemini

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Gemini CLI 是做什么的?

以无头一次性模式使用 Gemini。位置文本将启动交互模式;请使用 -p/--prompt。

快速开始

  • gemini -p "回答这个问题..."
  • gemini -m <模型> -p "提示..."
  • gemini -p "返回 JSON" --output-format json
  • stdin 追加到 -p:cat notes.md | gemini -p "总结"

扩展

  • 列表:gemini --list-extensions
  • 管理:gemini extensions <命令>
  • 技能:gemini skills <命令>
  • 钩子:gemini hooks <命令>
  • MCP:gemini mcp <命令>

注意事项

  • 如果需要认证,请先以交互模式运行一次 gemini,并按照登录流程操作。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills when explicitly requested; install, verify, update, uninstall, publish, or sync skills.

相关技能