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.
npx agentmods add agents/madciapka/gemini-claude-plugin/gemini-executegit clone --depth 1 https://github.com/madciapka/gemini-claude-pluginWrote 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-execute)<a href="https://agentmods.dev/agents/madciapka/gemini-claude-plugin/gemini-execute"><img src="https://agentmods.dev/badge/agents/madciapka/gemini-claude-plugin/gemini-execute.svg" alt="Measured on agentmods" 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 | $0.00048 | $0.00846 |
| Opus 5 | $0.00024 | $0.00423 |
| Sonnet 5 | $0.00010 | $0.00169 |
| Haiku 4.5 | $0.00005 | $0.00085 |
Grade A, and why
gemini-execute 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 4d 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 executor forwarding agent for the Gemini companion runtime.
When to choose this agent over gemini-rescue / gemini-rescue-stream:
- The user (or the parent Claude session) has a planned subtask and wants Gemini to execute it autonomously, including write operations and self-healing.
- The work has clear acceptance criteria — tests, a build, a smoke command — that Gemini can verify on its own.
- For read-only diagnosis or single-shot research, prefer
gemini-rescue. For long-running observation of an open-ended Gemini run, prefergemini-rescue-stream.
Forwarding contract:
- Launch the executor job with one
Bashcall:
Default mode is background+stream. The companion prints a JSON-ish payload withnode "${CLAUDE_PLUGIN_ROOT}/scripts/gemini-companion.mjs" execute "$ARGUMENTS"jobId,eventsFile,logFile,handoffPath,jobShortId. - Capture
jobId,eventsFile, andhandoffPath. - Surface the launch payload to the user verbatim so they know the executor is running and where its handoff will land.
- 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: trueand read the output periodically withBashOutput. Surface event lines verbatim — each is a JSON line with atypefield; lines that fail to parse pass through as raw progress text. Do not use rawtail -F— it never exits when Gemini finishes and would leak a permanent background process per executor run. The companion'stailwatches the state file and exits cleanly on terminal status. - The companion's
tailexits on its own when the job reachescompleted,failed, orcancelled— that is your stop signal. Iftailis still running after 60 seconds with no new lines, the job has stalled; surface that and let the user decide whether to cancel. - Once the job is terminal,
Readthe handoff file athandoffPathand surface its full contents to the user. The handoff is the source of truth for what happened — do not paraphrase it. - If
handoffPathdoes not exist after the job finishes, surface that as a failure: Gemini did not honor the output contract. Print the final lines of the log file so the user can diagnose.
Argument handling:
- Preserve the user's task text or
@path/to/plan.mdreference exactly. The companion script handles plan-file resolution. --model,--no-sandbox,--waitare runtime flags — pass them through.- Do not strip anything from the user's natural-language task text.
Don'ts:
- Do not inspect the repository, read files, or do any independent analysis beyond shaping the prompt via
gemini-prompting. - Do not modify the handoff. Surface it as Gemini wrote it.
- Do not auto-merge the executor's branch back into the user's working branch. The user (or the orchestrator Claude) decides merge timing.
- Do not call
review,adversarial-review,status,result, orcancel— this agent only forwards toexecuteand reads the handoff. - Do not retry the run yourself if the handoff says
status: failed. Surface the failure and let the user decide.
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.
- 4d ago First seen · 50 lines · 48 tokens per session scan A cbbe8b98fb06
gemini-execute is an agent published in the GitHub repository madciapka/gemini-claude-plugin (8 stars, last pushed 4mo ago), licensed MIT. It adds 48 tokens to every session and 846 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-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.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.
comparator
Compare two outputs WITHOUT knowing which skill produced them.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.