mimocode-docs
它能做什么
这项技能是 MiMoCode 编程工具及其功能的指南。适合想了解如何使用或设置它的用户。
适用场景
- ✓当你询问 MiMoCode 能做什么,或某项功能如何运作的时候。
- ✓当你想更改 MiMoCode 的某项设置或查找配置文件的时候。
- ✓当你想连接自定义或兼容的模型端点的时候。
技能链接
https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/mimocode-docs/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我想知道如何让 MiMoCode 切换到计划模式,以及它的设置文件放在哪里。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会依据本指南作答,而不是猜测,并且可以帮你配置该工具。本指南涵盖模式、命令、服务商和配置。
技术内容(原始 SKILL.md)
作者在 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": {
常见问题
它会猜测答案吗?
不会。这项技能要求依据指南作答,而不是猜测。
MiMoCode 有哪些模式?
它有用于完整工具的 build 模式,以及用于只读分析的 plan 模式。
它能帮忙连接模型吗?
能。它涵盖服务商、模型、身份验证以及 OpenAI 或 Anthropic 兼容的端点。
详情
作者的原始描述
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
热度
- GitHub 星标
- 14k
- 排名
- #11333
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
effect
14k帮你的智能体通过查看源代码和文档来回答关于 Effect TypeScript 框架的问题,而不是依赖记忆。
arxiv
14k帮你的智能体在 arXiv 上搜索、阅读、引用和跟踪学术论文,包括摘要、BibTeX 引用、PDF 下载和引用关系。
claude-code
14k帮你的智能体把编程任务交给 Claude Code 命令行工具,可以是一次性运行、交互式会话或后台任务。
codex
14k帮你的智能体在没有聊天窗口的情况下运行 OpenAI Codex 命令行工具,用于编程任务、脚本和自动化流程。