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/commands/madciapka/gemini-claude-plugin/execute)<a href="https://agentmods.dev/commands/madciapka/gemini-claude-plugin/execute"><img src="https://agentmods.dev/badge/commands/madciapka/gemini-claude-plugin/execute/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/commands/madciapka/gemini-claude-plugin/execute"><img src="https://agentmods.dev/badge/commands/madciapka/gemini-claude-plugin/execute.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.00018 | $0.00460 |
| Opus 5.5 | $0.00007 | $0.00184 |
| Sonnet 5.5 | $0.00004 | $0.00092 |
| Haiku 4.5 | $0.00002 | $0.00046 |
Grade A, and why
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 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.
What it actually says
Use this when you have a planned subtask and want Gemini to do the work end-to-end: implement, verify, and write a structured handoff. Gemini runs with --approval-mode yolo and --sandbox by default, on a child branch it creates itself.
For read-only diagnosis or a single-shot answer, use /gemini:rescue instead.
For passive observation of a long Gemini run, use /gemini:rescue-stream.
Route this request to the gemini:gemini-execute subagent.
Raw user request: $ARGUMENTS
Operating rules:
- The subagent is a thin forwarder. It runs
node "${CLAUDE_PLUGIN_ROOT}/scripts/gemini-companion.mjs" execute ...and surfaces the launch payload, streamed events, and final handoff verbatim. - Default execution mode is background+stream. Add
--waitto run in the foreground when the task is tightly bounded and you want the result inline. - The user's task text may be inline ("implement X using Y") or a plan-file reference (
@path/to/plan.md, optionally followed by extra context). The companion script handles both. - Do not preset
--model. Do not pass--yolo(forced) or--read-only(incompatible with executor mode). - After Gemini finishes, the agent reads the handoff file from
handoffPathand surfaces its contents. That handoff is the report — do not paraphrase or summarize it before showing the user. - If Gemini did not write the handoff file, surface that as a failure with the final lines of the log so the user can diagnose.
- Do not auto-merge the executor's branch. The orchestrator (you or the user) decides merge timing.
- If no task was supplied, ask what Gemini should execute (and whether they have a plan file).
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 · 28 lines · 18 tokens per session scan A c841518f7d24
execute is a command published in the GitHub repository madciapka/gemini-claude-plugin (8 stars, last pushed 6mo ago), licensed MIT. It adds 18 tokens to every session and 460 once invoked, about $0.0001 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-31.
execute compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| executemadciapka/gemini-claude-plugin | Command | 8 | 6mo ago | MIT | A | 18 | Claude Code |
| checklistgithub/spec-kit | Command | 148k | yesterday | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 148k | yesterday | MIT | A | 27 | Claude Code |
| specifygithub/spec-kit | Command | 148k | yesterday | MIT | A | 13 | Claude Code |
| analyzegithub/spec-kit | Command | 148k | yesterday | MIT | A | 26 | Claude Code |
| convergegithub/spec-kit | Command | 148k | yesterday | MIT | A | 35 | Claude Code |
| implementgithub/spec-kit | Command | 148k | yesterday | MIT | A | 14 | Claude Code |