multi-execute

multi-execute is a command for Claude Code from Fmarzochi/EGC. It costs 15 tokens per session (2,642 once invoked), scanned A, a copy of multi-execute, Apache-2.0.

A multi-model coding workflow that turns an approved implementation plan into code, then checks the result before delivery. Gemini is the only model allowed to change files.

In plain words
What is it for?
Use it to implement a planned feature, refactor a prototype, audit the implementation, and prepare the final delivery.
Why use it?
It coordinates several coding models while keeping file changes under one controlled writer. It also pauses when a phase has not been validated.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: names the AskUserQuestion tool; mentions Codex.

Part of the egc plugin — 49 skills, 83 commands, 61 agents, 8 hooks shipped together

Good fit Use it to implement a planned feature, refactor a prototype, audit the implementation, and prepare the final delivery.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/fmarzochi/egc/multi-execute
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.

Clone the repo
git clone --depth 1 https://github.com/Fmarzochi/EGC

Made for: Claude Code.

Or install egc, the plugin that ships this one along with the rest of its 49 skills, 83 commands, 61 agents, 8 hooks.

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 multi-execute

README.md
[![agentmods](https://agentmods.dev/badge/commands/fmarzochi/egc/multi-execute/github.svg)](https://agentmods.dev/commands/fmarzochi/egc/multi-execute)
Your own site
<a href="https://agentmods.dev/commands/fmarzochi/egc/multi-execute"><img src="https://agentmods.dev/badge/commands/fmarzochi/egc/multi-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.

agentmods 80×15 button for multi-execute

Your own site · 80×15
<a href="https://agentmods.dev/commands/fmarzochi/egc/multi-execute"><img src="https://agentmods.dev/badge/commands/fmarzochi/egc/multi-execute.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,642 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 91% copy Near-identical to another mod 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.00015 $0.02642
Opus 5.5 $0.00006 $0.01057
Sonnet 5.5 $0.00003 $0.00528
Haiku 4.5 $0.00002 $0.00264

Measured 2mo ago against content hash 917b6c232ea5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

Origin

This is a copy

91% identical to multi-execute — 41 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

commands/multi-execute.md · 320 lines

How it starts

The opening of the file, as written. The whole thing — 320 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Execute - Multi-Model Collaborative Execution

Multi-model collaborative execution - Get prototype from plan → Gemini refactors and implements → Multi-model audit and delivery.

$ARGUMENTS


Core Protocols

  • Language Protocol: Use English when interacting with tools/models, communicate with user in their language
  • Code Sovereignty: External models have zero filesystem write access, all modifications by Gemini
  • Dirty Prototype Refactoring: Treat Codex/Gemini Unified Diff as "dirty prototype", must refactor to production-grade code
  • Stop-Loss Mechanism: Do not proceed to next phase until current phase output is validated
  • Prerequisite: Only execute after user explicitly replies "Y" to /ccg:plan output (if missing, must confirm first)

Multi-Model Call Specification

Call Syntax (parallel: use run_in_background: true):

# Resume session call (recommended) - Implementation Prototype
Bash({
  command: "~/.gemini/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}resume <SESSION_ID> - \"$PWD\" <<'EOF'
ROLE_FILE: <role prompt path>
<TASK>
Requirement: <task description>
Context: <plan content + target files>
</TASK>
OUTPUT: Unified Diff Patch ONLY. Strictly prohibit any actual modifications.
EOF",
  run_in_background: true,
  timeout: 3600000,
  description: "Brief description"
})

# New session call - Implementation Prototype
Bash({
  command: "~/.gemini/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"$PWD\" <<'EOF'
ROLE_FILE: <role prompt path>
<TASK>
Requirement: <task description>
Context: <plan content + target files>
</TASK>
OUTPUT: Unified Diff Patch ONLY. Strictly prohibit any actual modifications.
EOF",
  run_in_background: true,
  timeout: 3600000,
  description: "Brief description"
})

Audit Call Syntax (Code Review / Audit):

Bash({
  command: "~/.gemini/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}resume <SESSION_ID> - \"$PWD\" <<'EOF'
ROLE_FILE: <role prompt path>
<TASK>
Scope: Audit the final code changes.
Inputs:
- The applied patch (git diff / final unified diff)
- The touched files (relevant excerpts if needed)
Constraints:
- Do NOT modify any files.
- Do NOT output tool commands that assume filesystem access.
</TASK>
OUTPUT:
1) A prioritized list of issues (severity, file, rationale)
2) Concrete fixes; if code changes are needed, include a Unified Diff Patch in a fenced code block.
EOF",
  run_in_background: true,
  timeout: 3600000,
  description: "Brief description"
})

Read the full file on GitHub · 320 lines

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. 2mo ago Changed 917b6c232ea5
  2. 2mo ago First seen · 320 lines · 15 tokens per session scan A c943a17e38e8

Subscribe to this mod's changes

multi-execute is a command published in the GitHub repository Fmarzochi/EGC (70 stars, last pushed yesterday), licensed Apache-2.0. It adds 15 tokens to every session and 2,642 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to multi-execute, differing in 41 lines, and is treated as a copy.

Related

multi-execute compared with commands from other repositories

multi-execute next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
multi-executeFmarzochi/EGCCommand70yesterdayApache-2.0A15Claude Code
demand-discoveryDdhjx-code/Demand-Discovery-SkillCommand15mo agoApache-2.0A15Claude Code, OpenCode
lians-recallLians-ai/LiansCommand1721d agoApache-2.0A19Claude Code
handoffwardmos/waybillCommand853mo agoApache-2.0A13Claude Code
session-logSarutobiSasuke8/agentops-templateCommand92mo agoMITA7Claude Code
self-reviewnetanelavr/dotcursorCommand55mo agononeA0Claude Code
checklistgithub/spec-kitCommand153k3d agoMITA13Claude Code