Install any skill in seconds. Free to start, no credit card required.
Get Started Free →cnfjlhj/collaborating-with-gemini
Use when you want Gemini CLI as a second opinion for coding tasks such as prototyping, debugging, or diff review, while keeping Codex as the primary implementer.
Passed 12 of 17 test cases with the skill, and 7 of 17 without it.
and 5 more in the full report
8 fixed8 passed either way5 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 8 test cases the skill fixed. Same model, same prompt, with and without the skill.
We are tracking our ongoing Gemini session in our conversation responses. What exact section header must introduce the collaboration state block?
| Checked | Without skill | With skill |
|---|---|---|
| Includes [Gemini Collaboration Capsule] as the state header | Missed | Passed |
The instructions your model reads when the skill loads.
Use Gemini CLI as a collaborator while keeping Codex as the primary implementer.
This skill provides a lightweight bridge script that returns structured JSON and supports multi-turn sessions via SESSION_ID.
gemini directly; always use the bridge script (scripts/gemini_bridge.py) so output/session handling stays consistent.--cd set to the repo root (it sets the gemini process working directory). Use --cd "." only if your CWD is the repo root.SESSION_ID and reuse it for follow-ups to keep the collaboration conversation-aware.timeout_ms to 600000 (10 minutes) unless a shorter/longer timeout is explicitly required.--sandbox to run Gemini in sandbox mode.⚠️ If your prompt contains Markdown backticks (`like/this`), do not pass it directly via --PROMPT "..." (your shell may treat backticks as command substitution). Use a heredoc instead; see references/shell-quoting.md.
PROMPT="$(cat <<'EOF'
Review src/auth.py around login() and propose fixes.
OUTPUT: Unified Diff Patch ONLY.
EOF
)"
python3 .codex/skills/collaborating-with-gemini/scripts/gemini_bridge.py --cd "." --PROMPT "$PROMPT"
Output: JSON with success, SESSION_ID, agent_messages, and optional error / all_messages.
# Start a session
PROMPT="$(cat <<'EOF'
Analyze the bug in foo(). Keep it short.
EOF
)"
python3 .codex/skills/collaborating-with-gemini/scripts/gemini_bridge.py --cd "." --PROMPT "$PROMPT"
test cases passed, vs 7 / 17 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.