⏳ This skill is pending AI review.

Scores will appear once the review pipeline completes.

version unknown

mimo-code

onsails@onsails⭐ 44 stars· last commit 3mo ago· 0 open issues

Use when delegating a coding task to mimo (the mimo CLI / Xiaomi opencode fork) — offloading implementation to mimo, resuming a mimo session, or running work on a chosen provider/model. Triggers on "/mimo-code", "run mimo", "delegate to mimo", "resume the mimo session", "offload this to mimo".

Choose how to use this skill

You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.

1. Native installer

This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.

Do not guess an installer command or replace an existing version without reviewing the diff.

2. Complete package recommended

Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.

No complete ProSkills package is published for this listing yet.

3. Prompt-only

Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.

Need only the instruction file?

Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.

No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.

—/10

// RATINGS

⭐GitHub Stars
⭐⭐ 44 on GitHubGitHub ↗

Growing

🟢ProSkills Score
—
📍

Not yet listed on ClawHub or SkillsMP

// README

onsails/skills

Claude Code plugins for power users.

Plugins

rust-dev

Strict Rust development standards with FAIL FAST error handling.

  • Enforces Edition 2024, proper error propagation
  • Workspace templates and dependency version lookup
  • review-rust-code agent included
  • Module organization guidance (split at 500+ lines)

Full documentation →

sprint

Orchestrate one large milestone as staged brainstorm/plan/execute cycles in a living sprint doc. Runs on Claude Code or Oh My Pi (OMP).

  • Decomposes a multistage milestone into stages; resumes across sessions from the doc

  • Per stage: brainstorm spec → write plan → executor implements → dedicated sprint-reviewer gate (resolved review backend axes + risk specialists, fix, re-review) → verify → land

  • Keeps the main session a lean conductor; nests each stage through a sprint-stage-runner subagent (Claude Code: probed once per sprint; OMP: requires task.maxRecursionDepth >= 3) or falls back to one subagent per step

  • Delegates implementation to an executor: native subagents on Claude Code or OMP (recommended default), plus mimo or codex on Claude Code only

  • Engine chosen by arg (/sprint native|mimo|codex) or an interactive runtime-supported menu; executor and review models are explicit choices recorded for resume

  • Depends on mimo-code for the Claude Code mimo engine; OMP currently offers native only. Matt Pocock's grilling, codebase-design, and diagnosing-bugs skills are strongly recommended but optional; sprint retains built-in brainstorming, planning, diagnosis, and runtime-native SDD paths. The stage review gate uses the code review named by the repository's instructions, or the runtime's built-in default: Claude Code's bundled /code-review skill, or OMP's bundled /review review (a fan-out of the built-in reviewer agent).

    claude plugin marketplace add mattpocock/skills
    claude plugin install mattpocock-skills@mattpocock
    

Full documentation →

mimo-code

Delegate write-capable coding sessions to the mimo CLI (Xiaomi's opencode fork), keeping Claude the conductor.

  • Offloads implementation to mimo on a chosen provider/model + effort
  • Runs each session in a sonnet subagent — main context stays lean
  • Captures every session id to a parallel-safe file for resume (--session, never --continue)
  • Resolves the model from mimo models ∩ authenticated providers and asks you
  • Per-handle O_EXCL lock keeps concurrent sessions isolated

Full documentation →

Installation

claude plugin marketplace add https://github.com/onsails/skills
claude plugin install rust-dev@onsails-skills
claude plugin install sprint@onsails-skills
claude plugin install mimo-code@onsails-skills

Installing sprint auto-installs its mimo-code dependency. To also use the codex engine, install the official Codex plugin from its own marketplace (optional):

claude plugin marketplace add https://github.com/openai/codex-plugin-cc
claude plugin install codex@openai-codex

Oh My Pi (omp)

OMP consumes the same marketplace natively:

omp plugin marketplace add onsails/skills
omp plugin install rust-dev@onsails-skills sprint@onsails-skills

Each installed plugin exposes its skills/ and agents/ to OMP (rust-coder, review-rust-code, and the sprint agents). mimo-code is Claude Code-only; do not install it in OMP.

License

MIT

// HOW IT'S BUILT

// FILES

2 files shipped with this skill. Inline text is the catalog copy. The upstream link is the source repository.

  • mimo-code/skills/mimo-code/SKILL.md5.3 KBupstream ↗
    ---
    name: mimo-code
    description: Use when delegating a coding task to mimo (the mimo CLI / Xiaomi opencode fork) — offloading implementation to mimo, resuming a mimo session, or running work on a chosen provider/model. Triggers on "/mimo-code", "run mimo", "delegate to mimo", "resume the mimo session", "offload this to mimo".
    argument-hint: "[<provider/model>] [variant] [task | resume]"
    ---
    
    # mimo-code
    
    ## Overview
    Delegate a write-capable coding session to `mimo`, staying the conductor. Heavy
    work and tokens move to mimo; you orchestrate and review the diff.
    
    ## When to use
    - The user invokes `/mimo-code [provider/model] [variant] <task>` or asks to run/resume mimo.
    - A prior mimo session needs continuation (it asked something or was cut off).
    
    ## The rule that shapes everything
    **Never run mimo in the main thread.** ALWAYS dispatch the `mimo-delegate` subagent
    (model sonnet) so the live NDJSON stream and any blocking stay out of the main
    context. You only ever receive its distilled summary.
    
    ## Parse the invocation
    Raw slash-command arguments: `$ARGUMENTS`
    
    Interpret as `[provider/model] [variant] <task>` (empty when triggered by description match rather than `/mimo-code` — then read intent from the user's message):
    - A leading `xxx/yyy` token → model. A following `minimal|low|medium|high|max` → variant.
    - The rest is the task; `resume`/`continue` → resume the recorded session (see Resume). Natural-language requests map the same way.
    
    ## Resolve the model — ASK, do not default (only when no model was given, fresh runs only)
    1. **Gather options via the `mimo-resolve` subagent** (model sonnet). It runs the
       `resolve-models` launcher and returns the authenticated provider∩model `options`
       and `variants` — keeping the catalogue output out of the conductor's context.
       Empty options (no authenticated provider) → STOP and tell the user to run
       `mimo providers login`.
    2. Using the returned `options` (the authenticated intersection — count **models**,
       not providers):
       **Exactly one usable model** → auto-pick (asking is pointless). **≤4** → one
       AskUserQuestion listing them. **>4** (the common real case — a single provider can
       expose *dozens*) → **narrow, never dump**: AskUserQuestion the **provider** first
       (the authenticated set is small), then AskUserQuestion **≤4 models** for that
       provider — lead with `mimo-resolve`'s recommended id, and rely on the auto-added
       **Other** free-text for the long tail. One authenticated provider offering several
       models is still "more than one" → ASK; "low-risk"/"mechanical"/cost or proactivity
       never justify a silent pick, and printing the whole catalogue for the user to
       retype an id verbatim is the anti-pattern to avoid.
    3. **Ask effort/variant** with a **≤4 menu** — AskUserQuestion caps at 4 options, so
       you **cannot** list all five variants + a default. Offer `default` (omit `--variant`)
       plus a few variants, **each with a one-line description** (`default` is the safe
       recommendation for a one-shot delegation); `minimal`/`medium` reach via **Other**.
    
    The conductor does the asking/auto-pick itself — `mimo-resolve` only gathers,
    never asks.
    
    ## Pick a handle — unique per delegation
    Generate a UNIQUE slug per fresh delegation: a task-derived stem **plus a short
    random suffix**, e.g. `json-logger-a1b2` (`[a-z0-9_-]`). The handle is the registry
    key (`<handle>.sessionid`/`.lock`/`.ndjson`); a unique handle is what keeps parallel
    or repeated runs from clashing. Record the handle you used — resume reuses THAT exact
    handle, never a freshly re-derived bare slug.
    
    ## Dispatch
    Dispatch `mimo-delegate` with: `handle`, `cwd` (absolute), `model`/`variant` (fresh
    only), the `prompt`, and `mode: fresh`. (The subagent resolves the launcher path
    itself.) Relay its summary; never echo raw NDJSON.
    
    ## Resume
    Re-dispatch `mimo-delegate` with the SAME handle, `mode: resume`, and the
    continuation prompt. Do NOT re-ask for a model (the session remembers it). The
    launcher resumes by recorded session id — never `--continue`.
    
    ## Parallel runs
    Concurrent tasks → distinct handles, one `mimo-delegate` each (dispatch in one
    message to run in parallel). Concurrent **write** tasks → give each its own git
    worktree under `.worktrees/` and pass it as `cwd`; the registry is safe regardless,
    but two mimos editing one tree is a workspace hazard.
    
    ## Common mistakes (counters to real failures)
    | Tempting move | Why it's wrong |
    |---|---|
    | "Asking the model is annoying — just default / omit `-m`." | The user wants to choose. Resolve the intersection and ASK (unless exactly one usable). Silent defaults are a violation, not a convenience. |
    | Bare task-slug handle (`json-logger`) | Two runs of the same task collide on the lock/state. Always add a unique suffix. |
    | Skipping effort selection | Offer a ≤4 variant menu (`default` that omits `--variant`, + a few with one-line descriptions; `minimal`/`medium` via Other). |
    | Dumping the whole model list for the user to type an id (when >4) | Narrow provider-first: ASK the provider, then ≤4 of its models (recommended id first, Other for the tail). Never a wall of ids to retype. |
    | Running mimo inline to "keep it simple" | Pollutes the main context. Always the subagent. |
    | Resuming with `--continue` | Attaches to "the last session" → cross-task pollution. Resume is by recorded session id only. |
    
  • README.mdupstream ↗

    Contents are not inlined in the catalog. Open the upstream file.

Plain-text copy, no login: /skill-bundles/onsails-skills-mimo-code-skills-mimo-code.md

// REPO STATS

44 stars
0 open issues
Last commit: 3mo ago