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.
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.
npx skills add XiaomiMiMo/MiMo-Code --skill mimocode-docsgit clone --depth 1 https://github.com/XiaomiMiMo/MiMo-CodeWrote 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.
[](https://agentmods.dev/skills/xiaomimimo/mimo-code/mimocode-docs)<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.
<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>- NVIDIA SkillSpector warn
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.
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.
| Model | Per session | Once 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 |
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.
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) |
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.
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.
- 3d ago Changed 4adf110309a3
- 1mo ago Changed f7f241b4551f
- 1mo ago Changed · -1 lines · -2 tokens per session 58509124fde4
- 2mo ago Changed 792808456e4c
- 2mo ago Changed · -9 tokens per session cf8125f7f83d
- 3mo ago First seen · 103 lines · 227 tokens per session scan A a64c75ff508e
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.
mimocode-docs compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mimocode-docsXiaomiMiMo/MiMo-Code | Skill | 14k | yesterday | MIT | A | 216 | Claude Code, Codex |
| feishuHmbown/CodeWhale | Skill | 41k | 2d ago | MIT | A | 33 | Claude Code, Codex |
| interviewHmbown/CodeWhale | Skill | 41k | 2d ago | MIT | A | 40 | Claude Code, Codex |
| atmos-validationcloudposse/atmos | Skill | 1.4k | today | Apache-2.0 | A | 31 | Claude Code |
| atmos-configcloudposse/atmos | Skill | 1.4k | today | Apache-2.0 | A | 31 | Claude Code |
| gamedev-shadersericrisco/rsc-harness | Skill | 691 | 5d ago | MIT | A | 102 | Claude Code, Codex |
| uniflyhyperb1iss/unifly | Skill | 282 | 15d ago | Apache-2.0 | A | 63 | Claude Code |