mimocode-docs
What it does
This skill is a guide to the MiMoCode coding tool and its features. It is for users who want to know how to use it or set it up.
When to use it
- ✓When you ask what MiMoCode can do or how a feature works.
- ✓When you want to change a MiMoCode setting or find a configuration file.
- ✓When you want to connect a custom or compatible model endpoint.
Skill link
https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/mimocode-docs/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“I want to know how to switch MiMoCode into plan mode and where its settings file lives.”
5 new skills a week. 1 minute to read.
How it works
The agent answers from this guide rather than guessing, and can help configure the tool. The guide covers modes, commands, providers, and configuration.
Technical content (original SKILL.md)
Original text by the author, straight from 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 |
| Distill | Packages repeated manual workflows into skills/subagents/commands | /distill |
| 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) |
Configuration Basics
Config file (JSON or JSONC), discovered by walking up from cwd:
- Project:
.mimocode/mimocode.json(or.jsonc) - Global:
~/.config/mimocode/mimocode.jsonc(preferred for new files) ormimocode.json
Add "$schema": "https://mimo.xiaomi.com/mimocode/config.json" for editor validation. All top-level keys are optional; project config merges over global.
{
"$schema": "https://mimo.xiaomi.com/mimocode/config.json",
"model": "provider/model",
"permission": { "external_directory": {
FAQ
Does it guess the answers?
No. The skill says to answer from the guide and not guess.
What modes does MiMoCode have?
It has build mode for full tools and plan mode for read-only analysis.
Can it help with model connections?
Yes. It covers providers, models, authentication, and OpenAI or Anthropic compatible endpoints.
Details
Original description by the author
Use whenever the user asks about MiMoCode itself: features, TUI or CLI commands, keybindings, terminal compatibility, rendering glitches, TUI lag, SSH or remote rendering, agent modes (build / plan) and how to switch between them, configuration, file locations, providers, models, authentication, or custom OpenAI-compatible or Anthropic-compatible API endpoints. Especially trigger when a prompt supplies or asks to configure a base URL/baseURL, API key/apiKey, model name or ID, provider, Anthropic Messages API, or global/project mimocode.json/jsonc, or when the user asks how to enter or leave pl
repo: XiaomiMiMo/MiMo-Code
Popularity
- GitHub stars
- 14k
- Ranking position
- #11333
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
effect
14kHelps your agent answer questions about the Effect TypeScript framework by checking its source code and docs instead of relying on memory.
arxiv
14kHelps your agent search, read, cite, and track academic papers on arXiv, including abstracts, BibTeX citations, PDF downloads, and citation links.
claude-code
14kHelps your agent hand a coding task to the Claude Code command line tool, as a one-shot run, an interactive session, or a background job.
codex
14kHelps your agent run the OpenAI Codex command line tool without a chat window, for coding tasks, scripts, and automated pipelines.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.