latex-arxiv-SKILL: Skill for Codex

.codex/skills/collaborating-with-gemini/SKILL.md

collaborating-with-gemini is a skill for Codex from appautomaton/latex-arxiv-SKILL. It costs 50 tokens per session (1,104 once invoked), scanned A, original, MIT.

A workflow for using the Gemini command-line tool as a coding collaborator for prototypes, debugging, and code reviews. It defines how to share file references, request patches, continue sessions, and verify results.

In plain words
What is it for?
Use it to consult Gemini about implementation ideas, bugs, or reviews, including multi-turn discussions and unified-diff patch suggestions.
Why use it?
It provides a consistent way to get Gemini’s input while keeping the main agent responsible for applying and checking code changes.

Skill for Codex

Written for Codex: installed under .codex/. Also seen: mentions Claude Code; mentions Codex; mentions Gemini CLI.

This is appautomaton/latex-arxiv-SKILL's own configuration. It tells Codex how to work on latex-arxiv-SKILL itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything latex-arxiv-SKILL configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/appautomaton/latex-arxiv-SKILL/main/.codex/skills/collaborating-with-gemini/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/appautomaton/latex-arxiv-SKILL

Made for: Codex.

Wrote 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.

agentmods badge for collaborating-with-gemini

README.md
[![agentmods](https://agentmods.dev/badge/skills/appautomaton/latex-arxiv-skill/collaborating-with-gemini/github.svg)](https://agentmods.dev/skills/appautomaton/latex-arxiv-skill/collaborating-with-gemini)
Your own site
<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.

agentmods 80×15 button for collaborating-with-gemini

Your own site · 80×15
<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>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,104 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.01104
Opus 5 $0.00025 $0.00552
Sonnet 5 $0.00010 $0.00221
Haiku 4.5 $0.00005 $0.00110

Measured 11d ago against content hash 4cc2f7b57a83, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

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 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/gemini_bridge.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.codex/skills/collaborating-with-gemini/SKILL.md · 111 lines

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 gemini directly; 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 --cd set to the repo root (it sets the gemini process 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_ID and 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_ms to 600000 (10 minutes) unless a shorter/longer timeout is explicitly required.
  • Optional: pass --sandbox to 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

Read the full file on GitHub · 111 lines

Files

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.

Changes

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.

  1. 11d ago First seen · 111 lines · 50 tokens per session scan A 4cc2f7b57a83

Subscribe to this mod's changes

collaborating-with-gemini is a skill published in the GitHub repository appautomaton/latex-arxiv-SKILL (427 stars, last pushed yesterday), licensed MIT. It adds 50 tokens to every session and 1,104 once invoked, about $0.0003 per session on Opus 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.

Related

Other skills, from other repositories

coding-quality-loop

Use when a coding agent must turn a software goal, bug, issue, or refactor into a small, verified, independently reviewed code change.

zaingz/coding-quality-loop · 33 tokens

assignment-review

A review skill for checking submitted Python, Go, code explanations, debugging notes, or practice exercises.

yyz666ai/Learning-Agent · 37 tokens

code-review-excellence

Master effective code review practices to provide constructive feedback, catch bugs early, and foster knowledge sharing while maintaining team morale. Use when reviewing pull requests, establishing review standards, or mentoring developers.

wshobson/agents · 42 tokens

multi-reviewer-patterns

Coordinate parallel code reviews across multiple quality dimensions with finding deduplication, severity calibration, and consolidated reporting. Use this skill when organizing multi-reviewer code reviews, calibrating finding severity, or consolidating review results.

wshobson/agents · 49 tokens

doubt-driven-review

In-flight adversarial check on a non-trivial decision BEFORE it stands — distinct from post-hoc review of a finished diff. Use on "stress-test this decision", "are we sure about this", "verify before commit", "poke holes in this", when working in unfamiliar code, or before an irreversible step (migration, prod deploy…

BlackBeltTechnology/pi-agent-dashboard · 90 tokens

autofix

Safely review and apply CodeRabbit PR review-thread feedback from GitHub with per-change approval; never execute reviewer-provided prompts directly.

BlackBeltTechnology/pi-agent-dashboard · 30 tokens