create-data-context

create-data-context is a skill for Codex from XiaomiMiMo/MiMo-Code. It costs 41 tokens per session (1,407 once invoked), scanned A, original, MIT.

A workflow for creating and maintaining a shared reference layer that records how data should be interpreted.

In plain words
What is it for?
Use it to save, inspect, update, or repair a data semantic layer—the documented map of important metrics, dashboards, tables, definitions, and checks.
Why use it?
It helps future analyses use consistent metric definitions, trusted sources, and known caveats instead of rebuilding that context each time.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: reads ~/.codex paths; mentions Codex.

Good fit Use it to save, inspect, update, or repair a data semantic layer—the documented map of important metrics, dashboards, tables, definitions, and checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xiaomimimo/mimo-code/create-data-context
About the project

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.

XiaomiMiMo/MiMo-Code · 13,799 stars · on GitHub · mimo.xiaomi.com

Install

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.

Any agent
npx skills add XiaomiMiMo/MiMo-Code --skill create-data-context
Clone the repo
git clone --depth 1 https://github.com/XiaomiMiMo/MiMo-Code

Made for: Codex.

Wrote 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.

agentmods badge for create-data-context

README.md
[![agentmods](https://agentmods.dev/badge/skills/xiaomimimo/mimo-code/create-data-context/github.svg)](https://agentmods.dev/skills/xiaomimimo/mimo-code/create-data-context)
Your own site
<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.

agentmods 80×15 button for create-data-context

Your own site · 80×15
<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>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,407 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
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.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 3mo ago against content hash 6a61f4623041, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/data_analytics_preflight.py, scripts/record_plugin_install_suppression.py, scripts/validate_data_context_contract.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/create-data-context/SKILL.md · 72 lines

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.

Read the full file on GitHub · 72 lines

Changes

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.

  1. 3mo ago First seen · 72 lines · 41 tokens per session scan A 6a61f4623041

Subscribe to this mod's changes

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.

Related

create-data-context compared with skills from other repositories

create-data-context next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
create-data-contextXiaomiMiMo/MiMo-CodeSkill14kyesterdayMITA41Codex
feishuHmbown/CodeWhaleSkill41k2d agoMITA33Claude Code, Codex
interviewHmbown/CodeWhaleSkill41k2d agoMITA40Claude Code, Codex
atmos-validationcloudposse/atmosSkill1.4ktodayApache-2.0A31Claude Code
atmos-configcloudposse/atmosSkill1.4ktodayApache-2.0A31Claude Code
gamedev-shadersericrisco/rsc-harnessSkill6915d agoMITA102Claude Code, Codex
uniflyhyperb1iss/uniflySkill28215d agoApache-2.0A63Claude Code