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.
What's inside
FAQ
gemini-plugin-cc is a Claude Code plugin with 4 hand-picked skills for development work, indexed on Flowy. Install it with the command on its page. It includes release, gemini-cli-runtime, gemini-prompting. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
> /plugin marketplace add abiswas97/gemini-plugin-cc> /plugin install gemini@abiswas97-gemini
Repo: abiswas97/gemini-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.
/gemini:review for a normal read-only Gemini review/gemini:adversarial-review for a steerable challenge review/gemini:rescue, /gemini:status, /gemini:result, and /gemini:cancel to delegate work and manage background jobs/gemini:setup to verify Gemini CLI is ready and manage the review gate/gemini:task for quick one-off task delegationgcloud auth application-default loginAdd the marketplace in Claude Code:
/plugin marketplace add abiswas97/gemini-plugin-cc
Install the plugin:
/plugin install gemini@abiswas97-gemini
Reload plugins:
/reload-plugins
Then run:
/gemini:setup
/gemini:setup will tell you whether Gemini is ready. If Gemini is missing, refer to the Gemini CLI installation guide.
If Gemini is installed but not authenticated, set up your credentials:
!gcloud auth application-default login
Or set the GOOGLE_API_KEY environment variable with a key from AI Studio.
After install, you should see:
gemini:gemini-rescue subagent in /agents| Variable | Purpose |
|---|---|
GOOGLE_API_KEY | API key from AI Studio. Alternative to gcloud auth application-default login. |
GEMINI_ACP_INIT_TIMEOUT_MS | Override the 30s ACP initialize timeout. Bump it if Gemini CLI cold-start is slow on your machine (e.g. Homebrew installs that fall back to a file-based keychain). |
| Command | Description |
|---|---|
/gemini:review | Code review on current work or branch. Supports --wait, --background, --base <ref>. |
/gemini:adversarial-review | Challenges design choices, not just bugs. Same flags as review plus custom focus text. |
/gemini:rescue | Delegate a task to Gemini via subagent. Supports --background, --resume, --fresh, --model <pro|flash|pro-3|flash-3>. |
/gemini:task | Quick one-off task delegation. Supports --background, --model. |
/gemini:status | Show running and recent jobs. |
/gemini:result | Show output for a finished job. Includes session ID for gemini resume. |
/gemini:cancel | Cancel an active background job. |
/gemini:setup | Check Gemini CLI readiness. Toggle review gate with --enable-review-gate / --disable-review-gate. |
# Review before shipping
/gemini:review --background
/gemini:status
/gemini:result
# Hand a problem to Gemini
/gemini:rescue investigate why the build is failing in CI
# Challenge your design
/gemini:adversarial-review --base main question the caching strategy
The --model flag accepts shortcuts or full model names:
flash โ gemini-2.5-flash (default)pro โ gemini-2.5-proflash-3 โ gemini-3-flash-previewpro-3 โ gemini-3-pro-previewIf omitted, defaults to gemini-2.5-flash. Any concrete model name (e.g. gemini-3.1-pro-preview) is passed through as-is.
When enabled (/gemini:setup --enable-review-gate), the plugin runs a targeted Gemini review on Claude's response before stopping. If issues are found, the stop is blocked so Claude can address them first.
[!WARNING] The review gate can create a long-running Claude/Gemini loop. Only enable it when actively monitoring the session.
pnpm test # run tests
pnpm run ci # type check + lint + test
pnpm run lint:fix # auto-fix lint issues
plugins/gemini/
โโโ .claude-plugin/plugin.json # Plugin metadata
โโโ agents/ # Gemini rescue subagent
โโโ commands/ # Slash commands (.md)
โโโ hooks/ # Session lifecycle + review gate hooks
โโโ prompts/ # Prompt templates
โโโ schemas/ # Output JSON schemas (review, errors)
โโโ scripts/ # Companion CLI + runtime modules
โโโ skills/ # Claude Code skills
Apache 2.0 โ see LICENSE.
.claude/
.claude-plugin/
marketplace.json
skills/
release/
SKILL.md
.github/
workflows/
ci.yml
release-draft.yml
release-publish.yml
.gitignore
biome.json
CHANGELOG.md
LICENSE
NOTICE
package.json
plugins/
gemini/
.claude-plugin/
plugin.json
agents/
gemini-rescue.md
commands/
adversarial-review.md
cancel.md
rescue.md
result.md
review.md
setup.md
status.md
task.md
hooks/
hooks.json
prompts/
adversarial-review.md
stop-review-gate.md
schemas/
error-output.schema.json
review-output.schema.json
scripts/
gemini-companion.mjs
lib/
acp-client.mjs
acp-lifecycle.mjs
acp-protocol.d.ts
args.mjs
fs.mjs
gemini.mjs
git.mjs
job-control.mjs
models.mjs
process.mjs
prompts.mjs
render.mjs
state.mjs
tracked-jobs.mjs
workspace.mjs
session-lifecycle-hook.mjs
stop-review-gate-hook.mjs
skills/
gemini-cli-runtime/
SKILL.md
gemini-prompting/
references/
gemini-prompt-antipatterns.md
gemini-prompt-recipes.md
SKILL.md
gemini-result-handling/
SKILL.md
pnpm-lock.yaml
README.md
scripts/
add-local-plugin.mjs
check-version.mjs
extract-latest-changelog.mjs
generate-changelog.mjs
lib/
changelog.mjs
versions.mjs
sync-version.mjs
version-locations.mjs
tests/
acp-client.test.mjs
acp-lifecycle.test.mjs
changelog.test.mjs
commands.test.mjs
fake-gemini-fixture.mjs
fake-gemini-fixture.test.mjs
gemini-parse.test.mjs
git.test.mjs
helpers.mjs
models.test.mjs
process.test.mjs
render.test.mjs
runtime.test.mjs
state.test.mjs
version-sync.test.mjs
tsconfig.scripts.jsonยฉ 2026 Flowy ยท Free and open source
Built for Claude Code ยท Not affiliated with Anthropic