How this command is triggered — by the user, by Claude, or both
Slash command
/gemini:setup --model <model>Files this command reads when invoked
This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
## Step 0: Parse --model parameter Check if $ARGUMENTS contains `--model <value>`: - If yes: extract the value as MODEL, remove `--model <value>` from $ARGUMENTS - If no: set MODEL = flash Run the following checks in order and report the results: ## 1. Check if Gemini CLI is installed Run: `which gemini || where gemini 2>/dev/null` - If found: report the path - If not found: tell the user to install it with `npm install -g @google/gemini-cli` or visit https://github.com/google-gemini/gemini-cli ## 2. Check Gemini CLI version Run: `gemini --version` - Report the version number ## 3....
Check if $ARGUMENTS contains --model <value>:
--model <value> from $ARGUMENTSRun the following checks in order and report the results:
Run: which gemini || where gemini 2>/dev/null
npm install -g @google/gemini-cli or visit https://github.com/google-gemini/gemini-cliRun: gemini --version
Run: test -f ~/.gemini/oauth_creds.json && echo "OAuth credentials found" || echo "OAuth credentials not found"
gemini interactively to authenticate via Google OAuthRun: echo "ping" | gemini -m $MODEL
After all checks, provide a one-line summary:
/setupInitializes or resumes project setup via interactive Q&A, creating conductor/ artifacts for product definition, guidelines, tech stack, workflow, and style guides.
/setupWalks an enterprise admin through configuring the Claude Office add-in to call their own cloud (Vertex, Bedrock, Foundry, or gateway), producing a customized manifest.xml for M365 deployment.
/setupChecks local Codex CLI readiness, prompts to install if unavailable via npm, and optionally toggles stop-time review gate.
/setupInteractive setup wizard that detects installed AI providers, configures authentication, and optimizes token usage. Auto-runs on first install and surfaces a status dashboard on manual invocation.
npx claudepluginhub haunchen/gemini-plugin-cc --plugin gemini