mimo-delegate

mimo-delegate is an agent for Claude Code from onsails/skills. It costs 34 tokens per session (1,056 once invoked), scanned B, original, MIT.

An agent that runs one coding session through the mimo command-line launcher and reports a concise result. It supports starting a new session or continuing an existing one.

In plain words
What is it for?
Use it to run or resume a mimo coding session in a specified workspace and return what happened.
Why use it?
It gives the delegating agent a defined way to execute exactly one mimo task and identify missing launchers or runtimes.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; reads .claude/ paths.

Part of the mimo-code plugin — 1 skill, 2 agents shipped together

Good fit Use it to run or resume a mimo coding session in a specified workspace and return what happened.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/onsails/skills/mimo-delegate
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/onsails/skills

Made for: Claude Code.

Or install mimo-code, the plugin that ships this one along with the rest of its 1 skill, 2 agents.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/onsails/skills/mimo-delegate"><img src="https://agentmods.dev/badge/agents/onsails/skills/mimo-delegate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,056 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00034 $0.01056
Opus 5.5 $0.00014 $0.00422
Sonnet 5.5 $0.00007 $0.00211
Haiku 4.5 $0.00003 $0.00106

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

Security

Grade B, and why

mimo-delegate scanned grade B with 1 finding 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 1mo 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

[ -f "$LAUNCHER" ] || LAUNCHER=$(find ~/.claude/plugins/cache/onsails-skills/mimo-code -path '*/scripts/mimo-run.mjs' 2>/dev/null | head -1)
mimo-code/agents/mimo-delegate.md · 74 lines

How it starts

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

mimo-delegate

You run ONE mimo session through the launcher and report back. You do not design or second-guess the task — you execute the delegation and summarize the outcome.

Inputs (from the dispatching skill)

  • handle — unique slug for this session ([a-z0-9_-]).
  • cwd — absolute workspace directory.
  • model / variant — optional; only on a fresh run.
  • prompt — the task (fresh) or the continuation (resume).
  • mode — fresh or resume.

What you do

  1. Resolve the launcher — the deployed plugin copy (nix-vendor path, with the marketplace cache as a fallback). Keep it glob-free: an unmatched * glob ABORTS the command under zsh, so use a literal path + find, not a * glob:
    LAUNCHER=~/.claude/vendor/onsails-skills/mimo-code/scripts/mimo-run.mjs
    [ -f "$LAUNCHER" ] || LAUNCHER=$(find ~/.claude/plugins/cache/onsails-skills/mimo-code -path '*/scripts/mimo-run.mjs' 2>/dev/null | head -1)
    
    (If $LAUNCHER is still empty, the plugin isn't deployed — report that and stop.)
  2. Resolve the runtime: RUNNER=$(command -v bun || command -v node) (bun preferred, node fallback). Then run EXACTLY ONE foreground Bash call (set a generous timeout, up to the max):
    • Fresh: "$RUNNER" "$LAUNCHER" --handle <handle> --cwd <cwd> -- [-m <model>] [--variant <variant>] "<prompt>"
    • Resume: "$RUNNER" "$LAUNCHER" --handle <handle> --cwd <cwd> --resume -- "<prompt>" The launcher streams concise [mimo] progress lines to stdout (one per event — ▸ step started, ⚙ <tool>, · <text>, ■ step finished (reason)); the full raw NDJSON goes to the <handle>.ndjson log file, not stdout.
  3. Decide the outcome from the progress trace AND the worktree diff. done requires BOTH a terminal ■ step finished (stop) AND a non-empty git -C <cwd> status --porcelain. A run that ends on tool-calls (or any non-stop reason), times out, exits non-zero, or leaves the worktree empty is incomplete → resumable, NOT done — mimo often stops mid-plan having written nothing yet. Do not report done for an empty diff.
  4. Collect changed files with git -C <cwd> status --porcelain (and git -C <cwd> diff --stat). The launcher writes the session id to $XDG_STATE_HOME/mimo-code/<sha256(abs cwd)[:16]>/<handle>.sessionid (default ~/.local/state/...) if you need to read it back.

Read the full file on GitHub · 74 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. 1mo ago First seen · 74 lines · 34 tokens per session scan B 443cb22d7a6c

Subscribe to this mod's changes

mimo-delegate is an agent published in the GitHub repository onsails/skills (44 stars, last pushed 1mo ago), licensed MIT. It adds 34 tokens to every session and 1,056 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

data-model-architect

Use when an orchestrator needs a Dataverse data model proposed (existing-table reuse, new tables in dependency-tier order, Mermaid ER diagram) for embedding in native-app-plan.md. Read-only — proposes, never mutates. Called by native-app-planner and /edit-app; not invoked directly by users.

microsoft/power-platform-skills · 67 tokens

webapi-integration

Use this agent when the user needs to integrate Power Pages Web API for a specific Dataverse table into their frontend code. Trigger examples: "integrate web api for products table", "add api calls for orders", "connect my site to the blog posts table", "implement crud for categories", "set up web api client", "create…

microsoft/power-platform-skills · 182 tokens

genpage-edit-planner

Plans edits to an existing generative page. Reads the downloaded page artifacts (source, original prompt, config), analyzes the current implementation against the user's edit intent, and returns a proposed edit plan for the orchestrator to present for approval. Writes genpage-edit-plan.md, for the orchestrator to…

microsoft/power-platform-skills · 92 tokens

catchup-runner

Does the catch-up fan-out, impact analysis, and brief assembly for /catchup on Sonnet (cheaper/faster than the caller's session). Spawned by the /catchup and /ketchup skills with a pre-resolved time window. Not user-invoked directly.

oliver-kriska/claude-elixir-phoenix · 63 tokens

ecto-schema-designer

Ecto schema architect - designs migrations, data models, and query patterns. Use proactively when planning database structure for new features.

oliver-kriska/claude-elixir-phoenix · 30 tokens

otp-advisor

OTP patterns specialist - GenServer, Supervisor, Agent, Task, Registry, ETS. Use proactively when deciding if you need OTP abstractions or simpler solutions.

oliver-kriska/claude-elixir-phoenix · 35 tokens