Skip to content
Development
Command

/setup

Check whether the local Gemini CLI is ready and optionally toggle the stop-time review gate

From plugin
gemini-plugin-cc
488 skills1 agent8 commands
Install
$ npx -y skills add abiswas97/gemini-plugin-cc --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/setup

Context preview

What this command does when you run it.

Check whether the local Gemini CLI is ready and optionally toggle the stop-time review gate

Command definition

setup.md
description: Check whether the local Gemini CLI is ready and optionally toggle the stop-time review gate
argument-hint: '[--enable-review-gate|--disable-review-gate]'
allowed-tools: Bash(node:*), AskUserQuestion

Run:

node "${CLAUDE_PLUGIN_ROOT}/scripts/gemini-companion.mjs" setup --json $ARGUMENTS

If the result says Gemini is unavailable:

  • Tell the user to install the Gemini CLI. Refer them to https://developers.google.com/gemini-cli
  • Do not attempt to install it yourself.

If Gemini is installed but not authenticated:

  • Tell the user to set the `GOOGLE_API_KEY` environment variable or configure Application Default Credentials.
  • Preserve any guidance in the setup output.

If setup passes but `/gemini:review`, `/gemini:rescue`, or `/gemini:task` fail with "ACP initialize timed out":

  • Tell the user to set `GEMINI_ACP_INIT_TIMEOUT_MS` to a higher value (e.g. `60000`). Common on Homebrew installs where keytar falls back to a file-based keychain.

Output rules:

  • Present the final setup output to the user.
Ships withgemini-plugin-cc

Use Gemini from inside Claude Code for code reviews or to delegate tasks to Gemini. Based on openai/codex-plugin-cc, adapted for the Gemini CLI. Also adds /gemini:task for direct task delegation.

Get the whole plugin, auto-invoked
Stats
48
Stars
0
Views
11
Forks
Maintained
Maintenance
JavaScript
Language
Apache-2.0
License
3mo ago
Last commit
4mo ago
Created

Repo: abiswas97/gemini-plugin-cc