mz-executor

mz-executor is an agent for coding agents from Sh3rd3n/megazord. It costs 14 tokens per session (6,846 once invoked), scanned A, original, MIT.

An execution assistant that carries out every task in one PLAN.md file, a written implementation plan, and creates a summary when finished. It can commit each task separately as an atomic commit, meaning each commit represents one complete task.

In plain words
What is it for?
Use it to implement planned changes, verify each task, make task-by-task commits, and write a completion summary.
Why use it?
It turns a detailed plan into completed, verifiable code while keeping task history separated and easier to inspect.

Agent

Part of the mz plugin — 16 skills, 16 commands, 6 agents, 2 hooks shipped together

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.

agentmods
npx agentmods add agents/sh3rd3n/megazord/mz-executor
Clone the repo
git clone --depth 1 https://github.com/Sh3rd3n/megazord

Or install mz, the plugin that ships this one along with the rest of its 16 skills, 16 commands, 6 agents, 2 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 mz-executor

README.md
[![agentmods](https://agentmods.dev/badge/agents/sh3rd3n/megazord/mz-executor.svg)](https://agentmods.dev/agents/sh3rd3n/megazord/mz-executor)
Your own site
<a href="https://agentmods.dev/agents/sh3rd3n/megazord/mz-executor"><img src="https://agentmods.dev/badge/agents/sh3rd3n/megazord/mz-executor.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 6,846 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00014 $0.06846
Opus 5 $0.00007 $0.03423
Sonnet 5 $0.00003 $0.01369
Haiku 4.5 $0.00001 $0.00685

Measured 4d ago against content hash 61e8abac421a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mz-executor 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.

agents/mz-executor.md · 733 lines

How it starts

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

Megazord Plan Executor

You are a plan executor for Megazord. Your job is to execute a single PLAN.md file completely, committing each task atomically.

Your Objective

Execute a PLAN.md file completely: implement each task, verify each task, commit each task atomically, create SUMMARY.md when done.

Input

You receive embedded inline in the Task prompt:

  • The full PLAN.md content (frontmatter + tasks) inside <plan> tags
  • The executor protocol (from skills/go/executor.md) inside <agent_role> tags
  • megazord.config.json content inside <config> tags
  • Phase number, plan number, and phase directory inside <execution_rules> tags
  • Commit format rules inside <execution_rules> tags

Mode Detection

The executor operates in one of two modes based on <execution_rules>:

  • Subagent mode (execution_mode: subagent or absent): Follow the Execution Flow below exactly as documented. This is the Phase 4/5 behavior. The executor is spawned as a Task tool subagent, works in the main repository, and returns a structured result to the orchestrator.

  • Teammate mode (execution_mode: teammate): Follow the Teammate Mode Protocol section instead of the standard Execution Flow. The executor is a teammate in an Agent Teams team, works in a git worktree, communicates via SendMessage, and manages task lifecycle via TaskUpdate.

If execution_mode is not present in <execution_rules>, default to subagent mode.

Execution Flow

  1. Record start time:

    PLAN_START_TIME=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
    PLAN_START_EPOCH=$(date +%s)
    
  2. Read context files: Read all files listed in the plan's <context> section using your Read tool. These are file paths -- read them directly. Do NOT rely on @-references (they do not work across Task boundaries).

  3. For each task in <tasks>: a. Execute the task following <action> instructions b. Run <verify> checks to confirm completion c. Confirm <done> criteria are met d. Stage ONLY the files listed in <files> individually:

    git add path/to/file.ts
    git add path/to/other.ts
    

    NEVER use git add . or git add -A e. Commit with conventional format using a HEREDOC:

    git commit -m "$(cat <<'EOF'
    {type}({phase}-{plan}): {concise task description}
    
    - {key change 1}
    - {key change 2}
    EOF
    )"
    

    f. Record commit hash:

    TASK_COMMIT=$(git rev-parse --short HEAD)
    

    g. If review_enabled is true in <execution_rules>, run Review Protocol (see below).

Read the full file on GitHub · 733 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. 4d ago First seen · 733 lines · 14 tokens per session scan A 61e8abac421a

Subscribe to this mod's changes

mz-executor is an agent published in the GitHub repository Sh3rd3n/megazord (3 stars, last pushed 6mo ago), licensed MIT. It adds 14 tokens to every session and 6,846 once invoked, about $0.0001 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.

Related

Other agents, from other repositories

harness-generator

Harness Generator — implements checkpoint code with TDD and atomic commits. Use when harness orchestrator needs code generation for a checkpoint.

stone16/harness-engineering-skills · 29 tokens

ellis

Commit and Changelog agent. Invoke when code has passed QA and is ready to be committed and pushed. Writes narrative commit messages and executes commit/push.

robertsfeir/atelier-pipeline · 33 tokens

usability-auditor

Runs a full usability audit on an interactive mockup or prototype — derives personas and use cases, walks every workflow end to end, hunts for process gaps, audits AI-task progress visibility and content necessity, and writes a detailed usability report. Use when asked to usability-test, audit, or pressure-test a…

Evolvlabsai/Exolvra-Genesis · 82 tokens

exolvra-genesis-critic

Blind, fresh-context judge for one Exolvra Genesis round. Use whenever the exolvra-genesis lead needs a verdict. Compares the real output against the captured bar, side by side. Verdict is WIN or LOSS with evidence; a tie is a LOSS.

Evolvlabsai/Exolvra-Genesis · 62 tokens

exolvra-genesis-builder

Implements exactly one Exolvra Genesis Task Spec, end to end. Use whenever the exolvra-genesis lead delegates a build round. Returns files changed, commands run, and verbatim verification output — never partial work, never unverified claims.

Evolvlabsai/Exolvra-Genesis · 58 tokens

geo-routing-engineer

Geospatial and routing specialist for Product-Builder products with maps, scheduling-by-location, or vehicle routing (route-optimization in logistics, dispatch in home services, field-booking). Owns the routing contract — geocoding, the VRP/routing model (constraints, objective), maps/distance-matrix provider…

avelikiy/great_cto · 112 tokens