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 agentmods add skills/xiaomimimo/mimo-code/create-data-contextnpx skills add XiaomiMiMo/MiMo-Code --skill create-data-contextgit clone --depth 1 https://github.com/XiaomiMiMo/MiMo-CodeWhat 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 | $0.00041 | $0.01407 |
| Opus 5 | $0.00020 | $0.00704 |
| Sonnet 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 2d 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.
- 2d 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 (12,923 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 1,407 once invoked, about $0.0002 per session on Opus 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.
Other skills, from other repositories
xiaomi-tts
Use this skill when the user wants to convert text to speech using Xiaomi MiMo's TTS models (mimo-v2.5-tts). Uses OpenAI-compatible chat/completions API with audio response. Supports multiple preset voices and custom voice design. Use when 用户提到 语音合成、文字转语音、TTS、朗读、读出来、生成语音、 生成音频、文本转音频、配音、念出来、小米语音、MiMo 语音、小米 TTS。.
byok-custom-model
Register a custom LLM endpoint with your own API key for chat in Starchild. Use when adding a personal Anthropic, OpenAI, Grok, Qwen, DeepSeek, Meta (Muse Spark), NEAR AI, or Venice key as a chat model (e.g. add my Claude key, register DeepSeek, use Muse Spark 1.1).
deepseek-vision
MUST use when the user sends or asks about images, photos, screenshots, pictures, audio, video, or mixed media documents, including requests to OCR/read text from an image. Route all media through Xiaomi MiMo V2.5 (mimo-v2.5) and mimo-v2.5-asr via scripts/mimo.py; never use local OCR, viewimage, native vision…
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.