Token导航 LogoToken导航TokenDH.com
开发执行命令github未标认证来源可访问许可证需确认审计异常

gemini-cliGemini CLI

Agent Skill

gemini-cli 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,787

周安装

161

GitHub Stars

2

下载量

1,327
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:gemini-cli(Gemini CLI)
来源仓库:https://github.com/x-zero-l/agent-skills
仓库路径:skills/gemini-cli
安装命令:
npx skills add https://github.com/x-zero-l/agent-skills --skill gemini-cli
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/x-zero-l/agent-skills --skill gemini-cli

简介

gemini-cli 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中整理协作事项。

  • 适用于围绕仓库状态、代码变更或团队协作进行信息梳理与汇总。
  • 通过输入仓库链接、Issue 编号或 PR 信息,由 Agent 提取并组织相关数据。
  • 安装前需确认权限范围、维护状态,注意是否触发联网或 API 调用。
  • 建议结合原始 README 和仓库路径进一步核验具体用法和功能边界。

SKILL.md

Gemini CLI Skill

Use Google’s gemini CLI as an external “second brain” when you need a very large context window, a second opinion, or safe sandbox execution. This skill does not use MCP; it runs the local CLI directly.

When To Use

Use this skill when the user asks to:

  • “Ask Gemini” / “Use Gemini”
  • Analyze or summarize large files or directories (especially with @path references)
  • Brainstorm options with a specific framework (SCAMPER, design thinking, etc.)
  • Generate structured edit suggestions (“change mode”) that can be applied deterministically

Prerequisites

  • gemini CLI is installed and configured (e.g. gemini --version works)
  • You are allowed to run local shell commands in this environment
  • For sandbox execution, Gemini CLI supports -s/--sandbox (see gemini --help)

Core Commands

One-shot query (plain)

gemini "Explain what this code does: @src/main.ts"

Choose a model

gemini -m gemini-3-pro-preview "..."
gemini -m gemini-3-flash-preview "..."

Sandbox mode

gemini -s "Safely test @scripts/example.py and explain the results."

Helper Script (Recommended)

This skill ships with a dependency-free wrapper that mirrors the core behavior of gemini-mcp-tool without MCP:

skills/gemini-cli/scripts/gemini-tool.mjs

Important: Gemini CLI can only read files under its current “project directory” (typically the process working directory). Run the wrapper from the repo you want Gemini to read, or pass --cwd.

node skills/gemini-cli/scripts/gemini-tool.mjs help

Ask Gemini (wrapper)

node skills/gemini-cli/scripts/gemini-tool.mjs ask --prompt "Summarize @. in 5 bullets."
node skills/gemini-cli/scripts/gemini-tool.mjs ask --cwd /path/to/project --prompt "Summarize @. in 5 bullets."
node skills/gemini-cli/scripts/gemini-tool.mjs ask --prompt "..." --model gemini-3-pro-preview
node skills/gemini-cli/scripts/gemini-tool.mjs ask --prompt "..." --sandbox

Brainstorm (wrapper)

node skills/gemini-cli/scripts/gemini-tool.mjs brainstorm --prompt "How should we design onboarding?" --methodology scamper --ideaCount 12

Change Mode (structured edits + chunk caching)

Use change mode when you want Gemini to output deterministic OLD/NEW blocks that can be applied by exact string matching.

node skills/gemini-cli/scripts/gemini-tool.mjs ask --changeMode --prompt "In @src/foo.ts, rename Foo to Bar and update call sites."

If the response is chunked, the output includes a cacheKey. Fetch the next chunk:

node skills/gemini-cli/scripts/gemini-tool.mjs fetch-chunk --cacheKey <key> --chunkIndex 2

Safety Rules

  • Never execute destructive commands from Gemini output without explicit user approval.
  • In change mode, the OLD block must match the file content exactly; otherwise, do not apply the edit.
  • Prefer read-only analysis unless the user explicitly requests changes.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.74%
按下载量换算474

Claude

33.39%
按下载量换算443

Cursor

17.23%
按下载量换算229

Gemini CLI

10.59%
按下载量换算141

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/x-zero-l/agent-skills --skill gemini-cli 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills