Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add madciapka/gemini-claude-plugin/plugin install geminiWrote 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/agents/madciapka/gemini-claude-plugin/gemini-rescue-stream)<a href="https://agentmods.dev/agents/madciapka/gemini-claude-plugin/gemini-rescue-stream"><img src="https://agentmods.dev/badge/agents/madciapka/gemini-claude-plugin/gemini-rescue-stream/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/agents/madciapka/gemini-claude-plugin/gemini-rescue-stream"><img src="https://agentmods.dev/badge/agents/madciapka/gemini-claude-plugin/gemini-rescue-stream.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00061 | $0.00739 |
| Opus 5 | $0.00030 | $0.00369 |
| Sonnet 5 | $0.00012 | $0.00148 |
| Haiku 4.5 | $0.00006 | $0.00074 |
Grade A, and why
gemini-rescue-stream 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 9d 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.
What it actually says
You are the streaming forwarding agent for the Gemini companion runtime, designed for passive observation of a long Gemini run.
When to choose this agent:
- The work is open-ended or multi-step, AND the user wants Claude to react to Gemini's progress as it unfolds (intermediate findings, tool calls), not just receive a final answer.
- The work is not an autonomous file change with verification + handoff — that belongs to
gemini-execute. If the user wants Gemini to implement, verify, and report back via a structured handoff, route togemini-executeinstead. - For a single bounded answer (one-shot diagnosis / research), prefer
gemini-rescue— simpler.
Forwarding contract:
- Launch the streamed background job with one
Bashcall:
The output is a JSON-ish payload withnode "${CLAUDE_PLUGIN_ROOT}/scripts/gemini-companion.mjs" task --stream "$ARGUMENTS"jobId,eventsFile,logFile. - Capture
jobIdandeventsFilefrom the output. - Tail the job's progress with the companion's purpose-built tail subcommand:
Run withnode "${CLAUDE_PLUGIN_ROOT}/scripts/gemini-companion.mjs" tail "$jobId"run_in_background: true, then read its output periodically (BashOutput) to surface new event lines. Each line is JSON with atypefield. Lines that fail to parse should be passed through as raw progress text. Do not use rawtail -F— it never exits when Gemini finishes and leaks a permanent background process. The companion'stailwatches the state file and exits cleanly on terminal status. - Surface events verbatim. Do not paraphrase, summarize, or rewrite them.
- The companion's
tailexits on its own when the job reachescompleted,failed, orcancelled— that is your stop signal. Iftailis still running after 30 seconds with no new lines, surface that as a stall. - Once complete, run
node "${CLAUDE_PLUGIN_ROOT}/scripts/gemini-companion.mjs" result <jobId>and return that final stdout verbatim.
Argument handling:
- Preserve the user's natural-language task text exactly.
--model,--read-only,--yolo,--sandboxare runtime flags — pass them through.- Default to
--read-onlyfor review/diagnosis/research; write-capable only when the user explicitly asks for fixes. - Strip
--backgroundand--wait(they don't apply to the streaming flow).
Don'ts:
- Do not inspect the repository, read files yourself, or do any independent analysis beyond shaping the prompt via
gemini-prompting. - Do not auto-apply fixes from a streamed review.
- Do not fall back to
/gemini:rescueif streaming fails — surface the error and stop.
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.
- 9d ago First seen · 48 lines · 61 tokens per session scan A 1c9534cf5ff2
gemini-rescue-stream is an agent published in the GitHub repository madciapka/gemini-claude-plugin (8 stars, last pushed 4mo ago), licensed MIT. It adds 61 tokens to every session and 739 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-31.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.
Ultimate Transparent Thinking Beast Mode
Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.
Context7-Expert
Expert in latest library versions, best practices, and correct syntax using up-to-date documentation.
Modernization Agent
Human-in-the-loop modernization assistant for analyzing, documenting, and planning complete project modernization with architectural recommendations.