一键导入
gemini
Runs Google Gemini CLI to critique a spec or code file. Use when the user wants external AI review, a second opinion, or says "gemini critique".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Runs Google Gemini CLI to critique a spec or code file. Use when the user wants external AI review, a second opinion, or says "gemini critique".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
User-invoked shorthand that inverts delegation — produce a filesystem bundle (checklist, drop-bin directory, notes template) of human-only actions and artifacts blocking project progress, and launch the user's editor on it.
Explicit-request macro. Activate only when the user directly requests this macro; never infer activation from task characteristics. Skill — Shorthand that tells the agent to ask clarifying questions instead of making decisions on its own
Explicit-request macro. Activate only when the user directly requests this macro; never infer activation from task characteristics. Skill — Sequence a task as ordered parts that add up to the whole. Each iteration may read prior iterations' outputs.
Explicit-request macro. Activate only when the user directly requests this macro; never infer activation from task characteristics. Skill — Run N blind agents on the same job in parallel, then merge findings into consensus/unique/conflicts. Agents report only — no edits for concurrent safety.
Explicit-request macro. Activate only when the user directly requests this macro; never infer activation from task characteristics. Skill — Use subagents to save context space and/or parallelize subtasks where possible
Explicit-request macro. Activate only when the user directly requests this macro; never infer activation from task characteristics. Skill — Spawns an independent subagent to critique recent work with web research. Use when the user wants a second opinion, says "doubt this", or wants to verify code against docs.
| name | gemini |
| description | Runs Google Gemini CLI to critique a spec or code file. Use when the user wants external AI review, a second opinion, or says "gemini critique". |
| disable-model-invocation | true |
| compatibility | The documented sandbox invocation requires the Gemini CLI, macOS Seatbelt, and a POSIX-compatible shell. |
Run Google's Gemini CLI to get an independent critique of a file (spec, code, etc.).
Run command -v gemini (or the platform equivalent) to verify that Gemini is available.
If gemini is not found, tell the user to install it:
npm install -g @google/gemini-cli # or see https://github.com/google-gemini/gemini-cli
Invoke with an optional file path to critique (relative or absolute) and an optional focus area (e.g., "security", "performance", "UX gaps"). To use a specific gemini model for this run, say so in the request.
All inputs are optional. When no file is given, infer the target from conversation context.
Config is resolved with the following precedence (first match wins):
.agents/skill-configs/gemini/config.local.yaml) — personal/local scope, gitignored.agents/skill-configs/gemini/config.yaml) — project scope, committed to repo.claude/skill-configs/gemini/config.local.yaml, then config.yaml) — older installsgemini-3.1-pro-previewmodel: gemini-3.1-pro-preview # model to use with gemini CLI
See config.example.yaml in the critique plugin's gemini skill for reference.
.agents/skill-configs/gemini/config.local.yaml (local scope, gitignored).agents/skill-configs/gemini/config.yaml (project scope, committed to repo).claude/skill-configs/gemini/config.local.yaml, then .claude/skill-configs/gemini/config.yaml. If config is found only at a legacy path, use it and offer to move it to the new location.gemini-3.1-pro-preview as the default.${MODEL} to the resolved model name.games/foo/bar.js), use thatgit diff against the state before the conversation's changes to identify the affected files and pass them to geminitemplates/ directory next to this skill (its base directory):
spec-review.md — for specification filescode-review.md — for source code filesdiff-review.md — for reviewing recent changesgemini non-interactively in sandbox modeThe following read-only sandbox command is specific to macOS. On another platform, use that platform's supported Gemini sandbox with equivalent write and network restrictions.
cd <project-root> && \
SEATBELT_PROFILE=permissive-closed gemini \
-s \
-m ${MODEL} \
-o text \
"<review-prompt>"
Flags:
-m ${MODEL} — the resolved model (default: gemini-3.1-pro-preview)-s — enable sandbox mode-o text — output as plain textSEATBELT_PROFILE=permissive-closed — restricts file writes and blocks network accessSafety note: The --sandbox flag combined with SEATBELT_PROFILE=permissive-closed restricts writes and blocks network, but is not as granular as Codex's -s read-only. The gemini process can still read all files in the project directory.
Timeout: 300 seconds
gemini --version and verify authenticationcd to project root before running — gemini has no -C equivalent