Borrowing it
Nothing to install: this file belongs to appautomaton/latex-arxiv-SKILL. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/appautomaton/latex-arxiv-SKILL/main/.codex/skills/collaborating-with-gemini/SKILL.mdgit clone --depth 1 https://github.com/appautomaton/latex-arxiv-SKILLWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/appautomaton/latex-arxiv-skill/collaborating-with-gemini)<a href="https://agentmods.dev/skills/appautomaton/latex-arxiv-skill/collaborating-with-gemini"><img src="https://agentmods.dev/badge/skills/appautomaton/latex-arxiv-skill/collaborating-with-gemini/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/appautomaton/latex-arxiv-skill/collaborating-with-gemini"><img src="https://agentmods.dev/badge/skills/appautomaton/latex-arxiv-skill/collaborating-with-gemini.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00050 | $0.01104 |
| Opus 5.5 | $0.00020 | $0.00442 |
| Sonnet 5.5 | $0.00010 | $0.00221 |
| Haiku 4.5 | $0.00005 | $0.00110 |
Grade A, and why
collaborating-with-gemini scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Collaborating with Gemini (Codex)
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.
Core rules
- Gemini is a collaborator; you own the final result and must verify changes locally.
- Do not invoke
geminidirectly; always use the bridge script (scripts/gemini_bridge.py) so output/session handling stays consistent. - Prefer file/line references over pasting snippets. Run the bridge with
--cdset to the repo root (it sets thegeminiprocess working directory). Use--cd "."only if your CWD is the repo root. - For code changes, request Unified Diff Patch ONLY and forbid direct file modification.
- Always capture
SESSION_IDand reuse it for follow-ups to keep the collaboration conversation-aware. - Keep a short Collaboration State Capsule updated while this skill is active.
- Default timeout: when invoking via the Codex command runner, set
timeout_msto 600000 (10 minutes) unless a shorter/longer timeout is explicitly required. - Optional: pass
--sandboxto run Gemini in sandbox mode.
Quick start (shell-safe)
⚠️ 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.
Multi-turn sessions
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 111 lines · 50 tokens per session scan A 4cc2f7b57a83
collaborating-with-gemini is a skill published in the GitHub repository appautomaton/latex-arxiv-SKILL (478 stars, last pushed 1mo ago), licensed MIT. It adds 50 tokens to every session and 1,104 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
collaborating-with-gemini compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| collaborating-with-geminiappautomaton/latex-arxiv-SKILL | Skill | 478 | 1mo ago | MIT | A | 50 | Codex |
| coding-quality-loopzaingz/coding-quality-loop | Skill | 6 | 14d ago | MIT | A | 33 | Claude Code, Codex |
| assignment-reviewyyz666ai/Learning-Agent | Skill | 0 | 2mo ago | MIT | A | 37 | Codex |
| code-review-excellencewshobson/agents | Skill | 42k | yesterday | MIT | A | 42 | Claude Code |
| multi-reviewer-patternswshobson/agents | Skill | 42k | yesterday | MIT | A | 49 | Claude Code |
| make-pr-easy-to-reviewmichael-denyer/pstack-claude | Skill | 4.1k | yesterday | MIT | A | 57 | Claude Code |
| thermo-nuclear-code-quality-reviewmichael-denyer/pstack-claude | Skill | 4.1k | yesterday | MIT | A | 54 | Claude Code |