create-data-context
Qué hace
Esta habilidad crea y actualiza un conjunto guardado de definiciones de datos, como qué métrica es la oficial y qué tabla es la fuente de verdad. Está pensada para equipos que quieren que todos los análisis usen los mismos significados.
Cuándo usarla
- ✓Cuando quieres guardar la definición oficial de una métrica para análisis futuros.
- ✓Cuando quieres indicar qué panel o tabla es la fuente de confianza.
- ✓Cuando necesitas reparar o actualizar una capa semántica existente.
Link de la skill
https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/create-data-context/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Quiero guardar la definición oficial de nuestra métrica de usuarios activos mensuales para que los análisis futuros la usen.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente reúne los datos mediante un formulario corto o una conversación, y luego crea y comprueba un archivo de definiciones reutilizable. Los trabajos de datos futuros pueden leer ese archivo y citarlo.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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. |
For dual ChatGPT web and local Codex availability, install the same canonical package into both the ChatGPT Skills library and the local Codex user-skill directory.
For ordinary data work, return to the Data Analytics index workflow.
Skill Configuration
Audience And Language
Write for Data Analytics users, not plugin maintainers. Explain what context would improve the current or future analysis in practical terms. Avoid implementation terms such as raw state paths, connector ids, cache, runtime, metadata, or preflight unless the user asks for debugging details.
Source Links
When referencing sources inline, prefer clickable Markdown links over plain labels whenever a useful URL exists. Use the source title, record name, channel/thread, or meeting/date as the link text. Use plain labels only when no useful link is available.
Semantic Layer Setup
Use this flow when the user wants to create or maintain a semantic layer. If they are not ready to create the layer yet, use the same flow to produce a short source plan for what the semantic layer needs.
The output is a visible skill or plan. Build the semantic-layer skill when enough source-backed detail exists to make it useful. When the available detail is still thin, return a practical plan that explains what source to collect next and why.
Creating Or Updating The Layer
Create one semantic layer per coherent product, business, metric, source, or reporting area unless the user explicitly asks for a broader shared layer. Infer the area from the provided context when it is clear; ask only when the answer changes the crawl, destination, or resulting skill.
Choose the destination from Runtime Routing using the supported persistence mechanism exposed in the current run. For local Codex creations, default to $CODEX_HOME/skills/<area>-semantic-layer unless the u
Preguntas frecuentes
¿Qué es una capa semántica?
Es un conjunto guardado de definiciones que explica cómo se deben leer los datos, por ejemplo cuál es la métrica oficial.
¿Esta habilidad hace análisis de datos?
No. Solo guarda o actualiza el contexto de datos, y cualquier trabajo con datos se dirige al enrutador de Data Analytics.
¿Puedo revisar el archivo guardado?
Sí. La habilidad está hecha para que puedas inspeccionar el archivo y citarlo en análisis posteriores.
Detalles
Descripción original del autor
Create, update, inspect, or repair Data Analytics semantic layers. Use when the user asks to save data context or create a semantic layer that future Data Analytics work can inspect and cite.
repo: XiaomiMiMo/MiMo-Code
Popularidad
- Estrellas en GitHub
- 14 mil
- Posición en el ranking
- #11314
- Licencia
- MIT
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
effect
14 milAyuda a tu agente a responder preguntas sobre el framework TypeScript Effect, consultando su código fuente y su documentación en lugar de confiar en la memoria.
arxiv
14 milAyuda a tu agente a buscar, leer, citar y seguir artículos académicos de arXiv, incluidos resúmenes, citas BibTeX, descargas de PDF y enlaces de citas.
claude-code
14 milAyuda a tu agente a delegar una tarea de programación en la herramienta de línea de comandos Claude Code, como una ejecución puntual, una sesión interactiva o un trabajo en segundo plano.
codex
14 milAyuda a tu agente a ejecutar la herramienta de línea de comandos OpenAI Codex sin ventana de chat, para tareas de programación, scripts y flujos automatizados.
Skills parecidas
gitcrawl
394 milPermite que tu agente busque en un archivo guardado de incidencias y pull requests de GitHub, agrupe duplicados y revise su estado actual en GitHub.
slacrawl
394 milPermite que tu agente busque y cuente mensajes en un archivo local de Slack, revise qué tan reciente es y lo actualice cuando haga falta.
goplaces
394 milAyuda a tu agente a buscar lugares, obtener sus detalles y reseñas, y resolver nombres de lugares usando Google Places, con salida JSON para scripts.