mimocode-docs
Skill này làm gì
Skill này là hướng dẫn về công cụ lập trình MiMoCode và các tính năng của nó. Skill dành cho người muốn biết cách dùng hoặc thiết lập công cụ.
Khi nào nên dùng
- ✓Khi bạn hỏi MiMoCode làm được gì hoặc một tính năng hoạt động thế nào.
- ✓Khi bạn muốn thay đổi một cài đặt MiMoCode hoặc tìm tệp cấu hình.
- ✓Khi bạn muốn kết nối một endpoint mô hình tùy chỉnh hoặc tương thích.
Liên kết skill
https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/mimocode-docs/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi muốn biết cách chuyển MiMoCode sang chế độ lập kế hoạch (plan) và tệp cài đặt của nó nằm ở đâu.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent trả lời dựa trên hướng dẫn này thay vì đoán, và có thể giúp cấu hình công cụ. Hướng dẫn bao gồm các chế độ, lệnh, nhà cung cấp và cấu hình.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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": {
Câu hỏi thường gặp
Nó có đoán câu trả lời không?
Không. Skill nói phải trả lời theo hướng dẫn và không đoán.
MiMoCode có những chế độ nào?
Nó có chế độ build cho đầy đủ công cụ và chế độ plan để phân tích chỉ đọc.
Nó có giúp kết nối mô hình không?
Có. Nó bao gồm nhà cung cấp, mô hình, xác thực và các endpoint tương thích OpenAI hoặc Anthropic.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 14k
- Vị trí xếp hạng
- #11333
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
effect
14kGiúp agent của bạn trả lời câu hỏi về framework TypeScript Effect bằng cách kiểm tra mã nguồn và tài liệu, thay vì dựa vào trí nhớ.
arxiv
14kGiúp agent của bạn tìm, đọc, trích dẫn và theo dõi các bài báo học thuật trên arXiv, gồm tóm tắt, trích dẫn BibTeX, tải PDF và liên kết trích dẫn.
claude-code
14kGiúp agent của bạn giao một tác vụ lập trình cho công cụ dòng lệnh Claude Code, dưới dạng chạy một lần, phiên tương tác hoặc tác vụ nền.
codex
14kGiúp agent của bạn chạy công cụ dòng lệnh OpenAI Codex mà không cần cửa sổ chat, cho tác vụ lập trình, tập lệnh và quy trình tự động.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.