Performs an independent read-only MiMo review as part of the AFK pipeline. Runs only when explicitly configured or directly invoked.
Ships in afk-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Read AFK environment before resolving
configuration, local state or bundled helper paths.
Before invoking this gate, read external review
and review convergence. They own role
selection, authorship declaration, admission, repair allowance and closure.
Before supplying context/receipts or reusing receipts, read
review evidence. Before --design, read
external design review.
Reuse only the same installed revision already read and still in context;
otherwise reread it. Apply these routes for standalone invocations too.
For standalone review, run only the requested gate and return its verdict. Follow external review for the distinction between standalone invocation and driver-managed AFK sequencing.
An optional independent review by mimo-v2.5-pro through Xiaomi's Token Plan.
Run it only when an explicit .afk/config.md gates: or priority: profile
selects MiMo, or when the operator invokes this skill directly. Never use it
when MiMo wrote the change or already occupies another ordered role.
MiMo receives a bounded, redacted snapshot through its REST API. It has no repository tools, so verify findings that require material outside the snapshot. Kilo Code may use the same provider, but this gate neither reads Kilo Code state nor depends on that extension.
Read review evidence before using
--review-context, --review-phase or --review-receipt.
Use --print-prompt to inspect the supplied section before a provider call.
Required history is validated and never silently truncated.
Read environment to resolve
mimo-gate.mjs beside this skill and bootstrap when needed.
node "<helper-dir>/mimo-gate.mjs"
Run it in the background with a generous timeout and save stdout for the run
record. Pass through --base <branch>, --commit <sha>, --uncommitted, or
--design <path>. Use --print-args for resolved metadata or --print-prompt
for the redacted prompt without a provider call. Do not poll in a sleep loop.
Read authorship declaration
before choosing --implementer; design mode names the design author.
The bounded snapshot excludes secret-bearing paths, redacts secret-shaped
values, and rejects unsafe design inputs before the request. A missing or
invalid --design target is ERROR, not a skip. A timeout, unsafe finish
reason, or unverified response model also yields a non-zero ERROR with no
partial verdict. Auth failures, rate limits, and an unavailable model or
endpoint (HTTP 404) are SKIPPED — the reviewer is unavailable and the next
family takes its place, per the shared skip-vs-error table. A successful review that omitted entries carries a bounded
SNAPSHOT_NOTE count; redacted excluded paths stay in local stderr only.
Read the verdict between the
===== MIMO REVIEW (final message) ===== markers. Treat only column-0
marker lines as markers; the last END marker wins. A SKIPPED result is not a
verdict; record it and follow external review for fallback.
Apply review convergence before triage,
repairs or re-review. Keep the issue's current finding record and allowance;
apply consuming .afk/config.md invariants as extra must-check lenses.
Use the canonical closure and stop rules to decide whether this revision earns the role stamp.
Report CLEAN, or OUTSTANDING with what remains. A clean pass is not
authority to merge.
Set MIMO_REVIEW_API_KEY in the environment or a gitignored .env.
DEV_MIMO_API_KEY is the fallback name. Never put a key in the repository,
.afk/config.md, a command argument, or Kilo Code export. Disable with
MIMO_REVIEW_GATE=off.
Config knobs:
MIMO_REVIEW_MODEL (default mimo-v2.5-pro)MIMO_REVIEW_BASE_URL (default
https://token-plan-cn.xiaomimimo.com/v1)MIMO_REVIEW_MAX_CTX_BYTES (default 400000)MIMO_REVIEW_MAX_OUTPUT_TOKENS (default 8192)MIMO_REVIEW_EXCLUDE_GLOBS (comma- or newline-separated additions; built-in
exclusions remain)MIMO_REVIEW_TIMEOUT_MS (default 900000; shared fallback
AFK_REVIEW_TIMEOUT_MS)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 plugins ship this exact skill · first indexed Oct 7, 2026
Other plugins' skills for the same job
13 skills in this plugin
/afkafk: Part of the afk pipeline. Execute an operator-supplied, pre-reviewed issue/PR scope autonomously through the full pipeline. Requires explicit scope; never pick tracker work. Triggers include "/afk", "AFK mode", "go AFK on …"./afk-agent-relayafk-agent-relay: Part of the afk pipeline. Development-time context compression and raw-request scoping through external models. Triggers include "/afk-agent-relay", "compress context", "relay brief", "scope this"./afk-claude-reviewafk-claude-review: Part of the afk pipeline. Independent read-only Claude review, a fallback role when Claude did not implement the change. Triggers include "/afk-claude-review", "run claude review", "claude gate"./afk-codex-reviewafk-codex-review: Part of the afk pipeline. Independent read-only Codex review, the default outer role when eligible. Triggers include "/afk-codex-review", "run codex review", "codex gate"./afk-deepseek-reviewafk-deepseek-review: Part of the afk pipeline. Independent read-only DeepSeek review, an optional external role. Triggers include "/afk-deepseek-review", "run deepseek review", and "DeepSeek external gate"./afk-glm-reviewafk-glm-review: Part of the afk pipeline. Independent read-only GLM review, a fallback external role. Triggers include "/afk-glm-review", "run glm review", "glm gate", and "GLM external gate"./afk-skills:afk-mimo-reviewfrom afk-skills
npx claudepluginhub jimmy1992abc/afk --plugin afk-skills