skills-codex-gemini-review¶
referee-simulationskills-codex-gemini-review¶
This package is a thin override layer for users who want:
- Codex as the main executor
- Gemini as the reviewer
- the local
gemini-reviewMCP bridge instead of a second Codex reviewer
It is designed to sit on top of the upstream Codex-native package at skills/skills-codex/.
What this package contains¶
- Only the reviewer-aware skill overrides that need a different reviewer backend
- No duplicate templates or resource directories
- No replacement for the base
skills/skills-codex/installation
Current overrides:
idea-creatoridea-discoveryidea-discovery-robotresearch-reviewnovelty-checkresearch-refineauto-review-loopgrant-proposalpaper-planpaper-figurepaper-posterpaper-slidespaper-writepaper-writingauto-paper-improvement-loop
Core 8 vs Full 15¶
To avoid confusion, there are two useful ways to describe this overlay:
- Core 8: the direct reviewer-heavy overlay set that maps one-to-one to the earlier Claude-review route
- Full 15: the current reviewer-aware Codex skill surface routed to Gemini in this repository
The core 8 are:
research-reviewnovelty-checkresearch-refineauto-review-looppaper-planpaper-figurepaper-writeauto-paper-improvement-loop
The additional 7 routed reviewer-aware entry points are:
idea-creatoridea-discoveryidea-discovery-robotgrant-proposalpaper-writingpaper-slidespaper-poster
So when comparing against the Claude overlay, the cleanest statement is:
The Gemini route preserves the same core 8-skill reviewer overlay shape, but expands the practical reviewer-facing surface to 15 skills in the current repo.
Direct Consumers vs Wrappers¶
- 12 direct consumers call
mcp__gemini-review__review_start/review_reply_start/review_statusthemselves: research-reviewnovelty-checkresearch-refineauto-review-looppaper-planpaper-figurepaper-writeauto-paper-improvement-loopidea-creatorgrant-proposalpaper-slidespaper-poster- 3 wrappers mostly orchestrate downstream reviewer-aware skills and pass
REVIEWER_MODEL=gemini-reviewthrough: idea-discoveryidea-discovery-robotpaper-writing
Install¶
Before registering the bridge, prepare the direct Gemini API path:
- Gemini API: set
GEMINI_API_KEYorGOOGLE_API_KEY(for example in~/.gemini/.env)
Optional fallback only:
-
Gemini CLI: install
geminiand complete login/auth if you explicitly wantGEMINI_REVIEW_BACKEND=cli -
Install the base Codex-native mirror first:
- Re-run with the Gemini overlay enabled:
bash ~/aris_repo/tools/install_aris_codex.sh ~/your-project --reconcile --with-gemini-review-overlay
- Register the local reviewer bridge:
mkdir -p ~/.codex/mcp-servers/gemini-review
cp mcp-servers/gemini-review/server.py ~/.codex/mcp-servers/gemini-review/server.py
codex mcp add gemini-review --env GEMINI_REVIEW_BACKEND=api -- python3 ~/.codex/mcp-servers/gemini-review/server.py
The bridge defaults to the direct Gemini API path. This is the intended reviewer backend for this overlay.
If the default API model is temporarily rate-limited on your current free-tier window, keep the same overlay and bridge, and override only the reviewer model:
codex mcp remove gemini-review
codex mcp add gemini-review --env GEMINI_REVIEW_BACKEND=api --env GEMINI_REVIEW_MODEL=gemini-flash-latest -- python3 ~/.codex/mcp-servers/gemini-review/server.py
Why this exists¶
The upstream skills/skills-codex/ path already supports Codex-native execution with a second Codex reviewer via spawn_agent.
This package adds a different split:
- executor: Codex
- reviewer: Gemini direct API
- transport:
gemini-reviewMCP
For long paper and review prompts, the reviewer path uses:
review_startreview_reply_startreview_status
This avoids the observed Codex-hosted timeout issue when Gemini is invoked synchronously through a local bridge.
Validation Summary¶
This overlay was validated in two ways:
- Coverage check: all
15predefined reviewer-aware skill overrides in this package were checked to confirm they targetgemini-review - Runtime check:
- the underlying bridge completed sync, async, threaded follow-up, and multimodal local-image review tests
- representative Codex-side runs on a private, non-public research repository confirmed that real skill executions could reach the Gemini reviewer path for research-review, idea-generation, and paper-planning style tasks
Operational note:
- Gemini free tier was usable for this workflow in practice, but bursty stress tests could still produce temporary
429responses - on the same setup, a later retry completed sync review, async
review_start->review_status, and threadedreview_reply_start->review_statussuccessfully withGEMINI_REVIEW_MODEL=gemini-flash-latest - for long prompts, prefer the async
review_start/review_reply_start+review_statuspath
References¶
- Upstream overlay pattern from ARIS:
- https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/tree/main/skills/skills-codex-claude-review
- https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/tree/main/mcp-servers/claude-review
- Local Gemini reviewer bridge in this repo:
mcp-servers/gemini-review/README.md- Gemini backends referenced by this overlay:
- Official Gemini API: https://ai.google.dev/api
- Official Gemini CLI: https://github.com/google-gemini/gemini-cli
- AI Studio API key entry: https://aistudio.google.com/apikey
This package keeps the upstream ARIS skill shape, but swaps the reviewer transport to the local gemini-review bridge. It now covers every predefined Codex skill in this repo that previously depended on a secondary Codex reviewer or mcp__codex__codex review step. We intentionally did not directly depend on a generic Gemini MCP server package because the ARIS review skills rely on the narrow review* tool contract, resumable review-thread behavior, and now optional local-image review for poster PNGs.