A Gemini CLI extension that pairs Gemini with Claude in an adversarial peer-review loop — for when you can't cope without Claude.
Gemini builds. Claude reviews. You ship.
Warning
Even though this is an extension for the Gemini CLI, and not using any third-party tools, only Google APIs, Google still seems to block it with a Terms of Service violation.
You have been warned.
claude-cope adds a /cope slash command to Gemini CLI. When invoked, it:
- Runs Gemini through four sequential phases: PRD → Research → Plan → Implementation
- After each phase, calls Claude via the Antigravity Cloud Code API to adversarially review the output.
- If Claude
APPROVES, moves to the next phase. - If Claude requests
CHANGES_NEEDED, Gemini iterates on the current phase until approved.
- Sessions are persisted to
.claude-cope/in your project so work survives restarts
- Install the extension
gemini extensions install claude-cope# Install into Gemini CLI (live symlink — no re-install after changes)
gemini extensions link .Warning
Sandbox mode must be disabled. The OAuth login flow requires a local
HTTP callback server on port 7777. When GEMINI_SANDBOX=true (Docker
sandbox), the browser cannot reach the container's localhost. Set
"sandbox": "none" in .gemini/settings.json or unset GEMINI_SANDBOX.
- Start a cope session — just describe what you want built
/cope Implement a YAML config system for user preferences- Check status
/coping- See token usage stats
/show-cope- Pause and resume later
/uncope
/recope| Doc | Description |
|---|---|
| docs/spec.md | Full product specification |
| docs/PLAN.md | Architecture and build plan |
| docs/issues/todo/ | Open implementation issues |
| docs/issues/done/ | Completed issues |
| docs/agents/ | Reference docs for AI agents (geminicli.txt, …) |
| AGENTS.md | Agent instructions and project internals |