mimocode-docs

mimocode-docs is a skill for Claude Code, Codex from XiaomiMiMo/MiMo-Code. It costs 216 tokens per session (2,484 once invoked), scanned A, original, MIT.

Reference material for MiMoCode, a terminal-based coding assistant, covering its commands, settings, operating modes, providers, models, authentication, and other behavior.

In plain words
What is it for?
Use it to answer questions about MiMoCode features, keyboard shortcuts, terminal or remote use, build, plan, and compose modes, configuration files, and custom behavior.
Why use it?
It gives accurate answers about how MiMoCode works without guessing from general coding-assistant knowledge. This helps explain its terminal interface and configure it correctly.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions Codex; mentions OpenCode.

Good fit Use it to answer questions about MiMoCode features, keyboard shortcuts, terminal or remote use, build, plan, and compose modes, configuration files, and custom behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xiaomimimo/mimo-code/mimocode-docs
About the project

MiMoCode is a terminal-based AI coding assistant that reads and writes code, runs commands, manages Git, and remembers project context across sessions. Developers use it to work with software projects through a command-line interface and connect it to language-model providers; the catalogue includes skills and instructions for it.

XiaomiMiMo/MiMo-Code · 13,799 stars · on GitHub · mimo.xiaomi.com

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 XiaomiMiMo/MiMo-Code --skill mimocode-docs
Clone the repo
git clone --depth 1 https://github.com/XiaomiMiMo/MiMo-Code

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 mimocode-docs

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/xiaomimimo/mimo-code/mimocode-docs"><img src="https://agentmods.dev/badge/skills/xiaomimimo/mimo-code/mimocode-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 216 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,484 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 72
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00216 $0.02484
Opus 5.5 $0.00086 $0.00994
Sonnet 5.5 $0.00043 $0.00497
Haiku 4.5 $0.00022 $0.00248

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

Security

Grade A, and why

mimocode-docs 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 3d 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.

packages/cli/src/skill/builtin/.bundle/mimocode-docs/SKILL.md · 102 lines

How it starts

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

MiMoCode

You are MiMoCode. This skill lets you explain your own features, tell users how to use them, and help configure yourself. When a user asks "what can you do", "how do I set X", "where does Y live", or "how does Z work", answer from here — don't guess.

Identity

MiMoCode (CLI binary mimo) is an agentic coding tool with a terminal UI, built as a fork of OpenCode. Beyond OpenCode's core (multi-provider, TUI, LSP, MCP, plugins) it adds: persistent memory, intelligent context management, subagent orchestration, goal-driven autonomous loops, compose-next end-to-end delivery, Dynamic Workflows, and self-improvement via dream/distill.

Feature Map

Feature What it is How to reach it
Agents / modes build (default, full tools), plan (read-only analysis), plus custom modes you define. Build and Plan can switch at any time; other custom or special modes lock once the first message is sent. Only the user enters a mode — no tool lets the agent switch into plan, and the agent does not raise plan mode unasked; from inside plan the agent can call plan_exit to ask for approval and hand the plan back to build Tab cycles primary agents, or pick one in the agent dialog; add your own via .mimocode/agent/<name>.md (see @reference/guide.md)
Subagents Primary agent spawns general/explore helpers, parallel + background, with lifecycle/cancel automatic; actor tooling
Persistent memory Markdown-backed memory with indexed search across MEMORY.md, checkpoint.md, notes.md, and tasks/<id>/progress.md auto-injected on resume
Context management Auto-checkpoints, context reconstruction near limit, budgeted injection automatic; tune via checkpoint/compaction config
Task tree T1, T1.1… tree, integrated with checkpoints task tooling
Goal / stop condition Judge model verifies a stop condition before the agent halts /goal
Compose mode Structured spec→ship lifecycle; entry is the compose-next skill — clarify, spec, implement, verify, review, finish. Do not combine it with plan mode /compose-next (see @reference/guide.md)
Visual modes vivid (default: star field, meteors, logo effects, animated activity) and minimal (quiet visuals, stable activity indicators); independent from the animation override /vivid or the visual-mode option in ctrl+p
Voice input Streaming ASR (TenVAD + MiMo ASR); needs sox /voice
Dream Consolidates recent traces into project memory /dream (manual; opt-in auto-run via dream.auto: true, off by default)
Distill Packages repeated manual workflows into skills/subagents/commands /distill (manual; opt-in auto-run via distill.auto: true, off by default)
Scheduled prompts Cron/loop: inject a prompt on a schedule or repeating loop (UTC, 5-field) cron tool · /loop · /loops
Dynamic Workflow JS scripts that orchestrate many subagents deterministically (fan-out, pipelines, nesting); built-ins include deep-research, fact-check, and research-experiment .mimocode/workflows/*.js + workflow tool
Custom skills Add reusable task instructions under .mimocode/skills/ see the skill-creator skill
Skill discovery /skill-name slash invocation (2+ in one message auto-load with an orchestration plan); skill_search tool matches by exact name/alias + BM25 and auto-loads high-confidence hits; agent-CLI skills (claude-code, codex, grok-build) ship off by default and appear only with MIMOCODE_ENABLE_AGENT_CLI_SKILLS=true / autocomplete · automatic
MCP Local & remote Model Context Protocol servers mcp config + mimo mcp
Capability API Every session already serves this project's chat models over OpenAI-compatible /v1 on a loopback port, so a skill or subprocess borrows a model instead of a provider key mimo llm-server issue mints a scoped token and prints the base URL (see @reference/capability-api.md)

Read the full file on GitHub · 102 lines

Files

What ships with it

8 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. 3d ago Changed 4adf110309a3
  2. 1mo ago Changed f7f241b4551f
  3. 1mo ago Changed · -1 lines · -2 tokens per session 58509124fde4
  4. 2mo ago Changed 792808456e4c
  5. 2mo ago Changed · -9 tokens per session cf8125f7f83d
  6. 3mo ago First seen · 103 lines · 227 tokens per session scan A a64c75ff508e

Subscribe to this mod's changes

mimocode-docs is a skill published in the GitHub repository XiaomiMiMo/MiMo-Code (13,799 stars, last pushed yesterday), licensed MIT. It adds 216 tokens to every session and 2,484 once invoked, about $0.0009 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-08-30.

Related

mimocode-docs compared with skills from other repositories

mimocode-docs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mimocode-docsXiaomiMiMo/MiMo-CodeSkill14kyesterdayMITA216Claude Code, Codex
feishuHmbown/CodeWhaleSkill41k2d agoMITA33Claude Code, Codex
interviewHmbown/CodeWhaleSkill41k2d agoMITA40Claude Code, Codex
atmos-validationcloudposse/atmosSkill1.4ktodayApache-2.0A31Claude Code
atmos-configcloudposse/atmosSkill1.4ktodayApache-2.0A31Claude Code
gamedev-shadersericrisco/rsc-harnessSkill6915d agoMITA102Claude Code, Codex
uniflyhyperb1iss/uniflySkill28215d agoApache-2.0A63Claude Code