/task
Delegate a task to Gemini CLI as a background or foreground job
$ npx -y skills add abiswas97/gemini-plugin-cc --agent claude-codeHow 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
/task
Context preview
What this command does when you run it.
Delegate a task to Gemini CLI as a background or foreground job
Command definition
task.mddescription: Delegate a task to Gemini CLI as a background or foreground job argument-hint: '[--background] [--resume-last|--resume <session-id>|--fresh] [--model <pro|flash|pro-3|flash-3>] [prompt]' disable-model-invocation: true allowed-tools: Read, Glob, Grep, Bash(node:*), Bash(git:*), AskUserQuestion
Run a Gemini task through the companion runtime.
Raw slash-command arguments: `$ARGUMENTS`
Execution mode rules:
- If `--background` is in the arguments, run in a Claude background task.
- Otherwise, run in the foreground and stream output.
Foreground flow:
- Run:
node "${CLAUDE_PLUGIN_ROOT}/scripts/gemini-companion.mjs" task $ARGUMENTS- Return the command stdout verbatim, exactly as-is.
Background flow:
- Launch with `Bash` in the background:
Bash({
command: `node "${CLAUDE_PLUGIN_ROOT}/scripts/gemini-companion.mjs" task $ARGUMENTS`,
description: "Gemini task",
run_in_background: true
})- Tell the user: "Gemini task started in the background. Check `/gemini:status` for progress."
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.
Repo: abiswas97/gemini-plugin-cc
Other commands on gemini-plugin-cc.
- /adversarial-review
Run a Gemini review that challenges the implementation approach and design choices
Open command - /cancel
Cancel an active background Gemini job in this repository
Open command - /rescue
Delegate investigation, an explicit fix request, or follow-up rescue work to the Gemini rescue subagent
Open command - /result
Show the stored final output for a finished Gemini job in this repository
Open command - /review
Run a Gemini code review against local git state
Open command - /setup
Check whether the local Gemini CLI is ready and optionally toggle the stop-time review gate
Open command

