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 create-data-contextgit 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/create-data-context)<a href="https://agentmods.dev/skills/xiaomimimo/mimo-code/create-data-context"><img src="https://agentmods.dev/badge/skills/xiaomimimo/mimo-code/create-data-context/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/create-data-context"><img src="https://agentmods.dev/badge/skills/xiaomimimo/mimo-code/create-data-context.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 28 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.00041 | $0.01407 |
| Opus 5.5 | $0.00016 | $0.00563 |
| Sonnet 5.5 | $0.00008 | $0.00281 |
| Haiku 4.5 | $0.00004 | $0.00141 |
Grade A, and why
create-data-context 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 3mo 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 — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Create Data Context
This skill creates and maintains semantic-layer skills for Data Analytics. A semantic-layer skill is an explicit artifact the user can inspect and cite later. It captures how future analyses should interpret the data, for example which metric definition is canonical, which dashboard or table is the best source of truth, and what caveats should be checked before answering.
Data-task routing is owned by the Data Analytics index skill. If the user wants Data Analytics to do work with data now, route to index, whether the work starts from connected sources, uploaded files, pasted tables, sample data, or an existing semantic layer. Examples include answering a metric question, building a report, or checking a dataset.
Use this skill only when the user asks to save data context or create, update, inspect, or repair a semantic layer.
Runtime Routing
Use the current runtime's classified surface and mode values, plus the capabilities exposed in the run, to choose intake and persistence. Build and validate the same canonical semantic-layer skill package before writing it to any destination.
For intake:
- Use structured intake when a supported form action is available.
- Use conversational intake for open-ended details and for runtimes without a supported form action.
Choose one persistence destination by default:
| Destination branch | Select this branch when | Action |
|---|---|---|
| ChatGPT personal Skills | surface = chatgpt_web and the run exposes a product-backed personal Skills install surface, such as a native skill draft/upload/install action or an installable skill package preview. |
Install the generated skill into the user's personal Skills library. Capture the installed skill link or Skills-library reference returned by the install surface and include it as a Markdown link in the chat response. Verify through the available Skills-library, list, or fresh-thread discovery surface when the runtime exposes one. |
| Local Codex | The user asks for local persistence, or surface = codex_desktop. |
Write a filesystem skill to $CODEX_HOME/skills/<area>-semantic-layer; if $CODEX_HOME is unavailable and the local runtime clearly uses the default home location, use ~/.codex/skills/<area>-semantic-layer. Validate the written skill and verify it is discoverable in a new local Codex context when possible. |
| Portable package | The current run has no supported persistent skill destination. | Return a portable skill package or source plan and clearly state that it has not been installed persistently, including the exact persistence blocker. |
What ships with it
12 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.
- agents/openai.yaml 290 B
- plugin-author-config/automation-config.md 1.8 KB
- plugin-author-config/source-category-config.json 1.9 KB
- references/automation.md 5.9 KB
- references/semantic-layer/connector-playbook.md 7.8 KB
- references/semantic-layer/skill-template.md 5.8 KB
- references/semantic-layer/source-intake.md 6.6 KB
- references/semantic-layer/weekly-polling-automation.md 6.8 KB
- scripts/data_analytics_preflight.py 6.4 KB runs code
- scripts/record_plugin_install_suppression.py 3.2 KB runs code
- scripts/validate_data_context_contract.py 6.1 KB runs code
- tests/test_state_helpers.py 11 KB runs code
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.
- 3mo ago First seen · 72 lines · 41 tokens per session scan A 6a61f4623041
create-data-context is a skill published in the GitHub repository XiaomiMiMo/MiMo-Code (13,799 stars, last pushed yesterday), licensed MIT. It adds 41 tokens to every session and 1,407 once invoked, about $0.0002 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.
create-data-context compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| create-data-contextXiaomiMiMo/MiMo-Code | Skill | 14k | yesterday | MIT | A | 41 | 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 |