From critique
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".
How this skill is triggered — by the user, by Claude, or both
Slash command
/critique:geminiThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run Google's Gemini CLI to get an independent critique of a file (spec, code, etc.).
Run Google's Gemini CLI to get an independent critique of a file (spec, code, etc.).
Verify gemini is available: !which gemini
If gemini is not found, tell the user to install it:
npm install -g @anthropic-ai/gemini-cli # or see https://github.com/anthropics/gemini-cli
/critique:gemini $ARGUMENTS
$0 — optional file path to critique (relative or absolute)$1 — optional focus area (e.g., "security", "performance", "UX gaps")--model <model> — override the gemini model for this invocationAll arguments are optional. When no file is given, infer the target from conversation context.
Config is resolved with the following precedence (first match wins):
--model) — one-off override.claude/skill-configs/gemini/config.local.yaml) — personal/local scope, gitignored.claude/skill-configs/gemini/config.yaml) — project scope, committed to repogemini-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.
$ARGUMENTS contains --model <model>. If so, use that model and skip config lookup..claude/skill-configs/gemini/config.local.yaml (local scope, gitignored).claude/skill-configs/gemini/config.yaml (project scope, committed to repo)gemini-3.1-pro-preview as the default.${MODEL} to the resolved model name.$0 is provided, use it as the file path@games/foo/bar.js), use thatgit diff against the state before the conversation's changes to identify the affected files and pass them to gemini${CLAUDE_SKILL_DIR}/templates/:
spec-review.md — for specification filescode-review.md — for source code filesdiff-review.md — for reviewing recent changesgemini non-interactively in sandbox modecd <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 equivalentnpx claudepluginhub isnbh0/shared --plugin critiqueDelegates tasks to Gemini CLI for large-context analysis like broad codebase reviews or long-document processing. Activates on explicit requests such as 'use gemini' or 'delegate to gemini'.
Use when the user asks to run Gemini CLI (gemini, gemini resume) or references Google Gemini for code analysis, refactoring, or automated editing
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.