mcode-delegate

mcode-delegate is a skill for Claude Code, Codex from amElnagdy/delegate-skills. It costs 134 tokens per session (2,548 once invoked), scanned A, original, MIT.

A delegation workflow that hands a bounded coding task to the MiniMax Code command-line tool, then has the main agent inspect the changes and commit them. The separate tool writes code in the working directory, while the main agent remains responsible for review.

In plain words
What is it for?
Use it when someone specifically wants MiniMax Code to implement a coding task, then review its changes and land the result yourself.
Why use it?
It provides a clear handoff and review step instead of treating another tool's code as automatically correct, and it warns when delegation is unsafe or unnecessary.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

Good fit Use it when someone specifically wants MiniMax Code to implement a coding task, then review its changes and land the result yourself.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/amelnagdy/delegate-skills/mcode-delegate
About the project

delegate-skills is a toolkit for assigning coding tasks to separate agent command-line tools while keeping control of review and commits. It is for developers who want to organize installed implementers into lanes for work such as features, tests, or UI, then delegate tasks by lane or directly. The catalogue entries define the setup and delegation workflows.

amElnagdy/delegate-skills · 2,677 stars · on GitHub · skills.sh

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.

Any agent
npx skills add amElnagdy/delegate-skills --skill mcode-delegate
Clone the repo
git clone --depth 1 https://github.com/amElnagdy/delegate-skills

Made for: Claude Code, Codex.

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 mcode-delegate

README.md
[![agentmods](https://agentmods.dev/badge/skills/amelnagdy/delegate-skills/mcode-delegate/github.svg)](https://agentmods.dev/skills/amelnagdy/delegate-skills/mcode-delegate)
Your own site
<a href="https://agentmods.dev/skills/amelnagdy/delegate-skills/mcode-delegate"><img src="https://agentmods.dev/badge/skills/amelnagdy/delegate-skills/mcode-delegate/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 mcode-delegate

Your own site · 80×15
<a href="https://agentmods.dev/skills/amelnagdy/delegate-skills/mcode-delegate"><img src="https://agentmods.dev/badge/skills/amelnagdy/delegate-skills/mcode-delegate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 134 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,548 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 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.1 $0.00134 $0.02548
Opus 5.5 $0.00054 $0.01019
Sonnet 5.5 $0.00027 $0.00510
Haiku 4.5 $0.00013 $0.00255

Measured 24d ago against content hash 3c3ec8360edf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcode-delegate 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 24d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/relay.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/mcode-delegate/SKILL.md · 170 lines

How it starts

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

MiniMax Code Delegate

You are the orchestrator. This skill lets you hand a bounded coding task to a separate implementer — the MiniMax Code CLI (mcode) — then review what it produced and land it yourself. You write the brief and own the judgment; MiniMax Code does the typing in your working tree; you verify and commit.

Nothing here is specific to one orchestrating agent. The loop needs only the ability to run a shell command and read a file, so it works the same whether you are Claude Code, OpenCode with a selected model, or any comparable agent. (It is designed for and run on Claude Code; treat other orchestrators as designed-for, not yet proven.)

When NOT to use this

  • The task is small enough to just do inline — delegation overhead is not worth it.
  • mcode is not installed or not signed in (run mcode login, or mcode login --region global).
  • You want to write the code yourself, or you only need a review of local changes (mcode exec review does that directly).
  • You need writes outside the target tree to be impossible, not just unlikely. MiniMax Code has no sandbox; use an OS-enforced one such as codex-delegate, or run this inside a container.

Read this before the first dispatch: the autonomy model

mcode exec takes a permission policy — smart, full, or off — and has no sandbox and no read-only or plan setting for a headless run (ask needs the TUI or ACP).

  • smart (the relay's default; TUI Auto): already approves file writes and deletions headlessly. A live probe asked for an rm and got it with no prompt. So smart is not a guardrail: the brief and a clean working tree are the real scope.
  • full (TUI Full access): skips normal confirmation entirely. The relay passes it only on an explicit --permission full.
  • off: refused by the relay; MiniMax Code does not document what it disables.

--read-only is advisory: the relay appends a system prompt forbidding edits, keeps smart, and then runs a Git-visible change tripwire (readOnlyViolation). A change is detected after the fact, not prevented, and ignored or outside-repository paths are not covered.

Read the full file on GitHub · 170 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 24d ago First seen · 170 lines · 134 tokens per session scan A 3c3ec8360edf

Subscribe to this mod's changes

mcode-delegate is a skill published in the GitHub repository amElnagdy/delegate-skills (2,677 stars, last pushed 15d ago), licensed MIT. It adds 134 tokens to every session and 2,548 once invoked, about $0.0005 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-11-06.

Related

mcode-delegate compared with skills from other repositories

mcode-delegate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcode-delegateamElnagdy/delegate-skillsSkill2.7k15d agoMITA134Claude Code, Codex
claude-md-improvermrclrchtr/supiSkill106todayMITA39Claude Code
pi-tui-designmrclrchtr/supiSkill106todayMITA141Claude Code, Codex
pi-syncsky-valley/piSkill94yesterdayMITA66Claude Code
claude-md-revisionmrclrchtr/supiSkill106todayMITA45Claude Code
supi-setupmrclrchtr/supiSkill106todayMITA19Claude Code
session-analyticsmrclrchtr/supiSkill106todayMITA39Claude Code