Install any skill in seconds. Free to start, no credit card required.
Get Started Free →appautomaton/collaborating-with-gemini
Use the Gemini CLI to consult Gemini and delegate coding tasks for prototyping, debugging, and code review. Supports multi-turn sessions via SESSION_ID. Optimized for low-token, file/line-based handoff.
Passed 14 of 19 test cases with the skill, and 5 of 19 without it.
and 10 more in the full report
12 fixed7 passed either way6 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 12 test cases the skill fixed. Same model, same prompt, with and without the skill.
We want to invoke the Gemini bridge to analyze `server/db.ts` using a custom model name 'gemini-1.5-pro-experimental'. What command-line flag is used to specify this model?
| Checked | Without skill | With skill |
|---|---|---|
| Passes --model gemini-1.5-pro-experimental to scripts/gemini_bridge.py. | Missed | Passed |
The instructions your model reads when the skill loads.
Use Gemini CLI as a collaborator while keeping Codex as the primary implementer.
Host note: this skill is written for a Codex host. When running in another host (e.g., Claude Code), adapt Codex-specific details such as the command-runner timeout and upload paths.
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
test cases passed, vs 5 / 19 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.