collaborating-with-gemini

collaborating-with-gemini is a skill for Claude Code, Codex from haoyu-haoyu/Multi-AI-Workflow. It costs 47 tokens per session (488 once invoked), scanned A, original, MIT.

A bridge that sends coding tasks to the Gemini command-line tool, an AI assistant that runs from a terminal.

In plain words
What is it for?
Use it to prototype algorithms, investigate bugs, review code quality, work in a chosen project directory, and resume a previous Gemini session.
Why use it?
It lets another AI assistant help with implementation, debugging, and review while keeping a conversation available for follow-up work.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Gemini CLI.

Good fit Use it to prototype algorithms, investigate bugs, review code quality, work in a chosen project directory, and resume a previous Gemini session.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/haoyu-haoyu/multi-ai-workflow/collaborating-with-gemini
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add haoyu-haoyu/Multi-AI-Workflow --skill collaborating-with-gemini
Clone the repo
git clone --depth 1 https://github.com/haoyu-haoyu/Multi-AI-Workflow

Made for: Claude Code, 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/haoyu-haoyu/multi-ai-workflow/collaborating-with-gemini/github.svg)](https://agentmods.dev/skills/haoyu-haoyu/multi-ai-workflow/collaborating-with-gemini)
Your own site
<a href="https://agentmods.dev/skills/haoyu-haoyu/multi-ai-workflow/collaborating-with-gemini"><img src="https://agentmods.dev/badge/skills/haoyu-haoyu/multi-ai-workflow/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/haoyu-haoyu/multi-ai-workflow/collaborating-with-gemini"><img src="https://agentmods.dev/badge/skills/haoyu-haoyu/multi-ai-workflow/collaborating-with-gemini.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 488 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.
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.00047 $0.00488
Opus 5 $0.00023 $0.00244
Sonnet 5 $0.00009 $0.00098
Haiku 4.5 $0.00005 $0.00049

Measured 11d ago against content hash 32ed8a879899, 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.maw/skills/collaborating-with-gemini/SKILL.md · 57 lines

What it actually says

Quick Start

python scripts/gemini_bridge.py --cd "/path/to/project" --PROMPT "Your task"

Output: JSON with success, SESSION_ID, agent_messages, and optional error.

Parameters

usage: gemini_bridge.py [-h] --PROMPT PROMPT --cd CD [--sandbox] [--SESSION_ID SESSION_ID] [--return-all-messages] [--model MODEL]

Gemini Bridge

options:
  -h, --help            show this help message and exit
  --PROMPT PROMPT       Instruction for the task to send to gemini.
  --cd CD               Set the workspace root for gemini before executing the task.
  --sandbox             Run in sandbox mode. Defaults to `False`.
  --SESSION_ID SESSION_ID
                        Resume the specified session of the gemini. Defaults to empty string, start a new session.
  --return-all-messages
                        Return all messages (e.g. reasoning, tool calls, etc.) from the gemini session. Set to `False` by default, only the agent's final reply message is
                        returned.
  --model MODEL         The model to use for the gemini session. This parameter is strictly prohibited unless explicitly specified by the user.

Multi-turn Sessions

Always capture SESSION_ID from the first response for follow-up:

# Initial task
python scripts/gemini_bridge.py --cd "/project" --PROMPT "Analyze auth in login.py"

# Continue with SESSION_ID
python scripts/gemini_bridge.py --cd "/project" --SESSION_ID "uuid-from-response" --PROMPT "Write unit tests for that"

Common Patterns

Prototyping (request diffs):

python scripts/gemini_bridge.py --cd "/project" --PROMPT "Generate unified diff to add logging"

Debug with full trace:

python scripts/gemini_bridge.py --cd "/project" --PROMPT "Debug this error" --return-all-messages
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 · 57 lines · 47 tokens per session scan A 32ed8a879899

Subscribe to this mod's changes

collaborating-with-gemini is a skill published in the GitHub repository haoyu-haoyu/Multi-AI-Workflow (109 stars, last pushed 4mo ago), licensed MIT. It adds 47 tokens to every session and 488 once invoked, about $0.0002 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.