Logotipo de Export Ml Notebook

Export Ml Notebook

Organización
probabl-ai
export-ml-notebook

Write a jupytext percent file out as a notebook with empty outputs. `data_analysis/`, `experiments/`, and `audit/` are filled with empty outputs. Pass `--html` when that notebook should also become a viewer on the site. Kernel `notebook convert` stays for a source that is itself the execution. Trigger on notebook, ipynb, HTML, or executed-report requests, or when export-ml-project dispatches notebooks.

Descripción general

Editorprobabl-ai
Repositorioskore-skills
Nombre de la habilidadexport-ml-notebook
Estrellas
144
Forks
9
Archivos incluidos
1
LicenciaBSD-3-Clause
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 1

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por probabl-ai en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Export Ml Notebook en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/probabl-ai/skore-skills/tree/main/skills/export-ml-notebook
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/probabl-ai/skore-skills.git /tmp/skore-skills
mkdir -p .claude/skills
cp -r /tmp/skore-skills/skills/export-ml-notebook .claude/skills/export-ml-notebook
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Export Ml Notebook en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Export Ml Notebook automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Export Ml Notebook no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Export ML Notebook

Source of truth stays the # %% .py. This skill only writes derived .ipynb (and optional .nb.html). Do not rewrite the .py from the notebook. cells run is not a substitute.

Human-facing prose

Details: setup-workspace references/human_facing_prose.md. Tell the user the written .ipynb (and HTML viewer) paths. Do not quote notebook convert, --html, or site build as something they should run.

While policy.notebooks is true, explore-ml-data fills the analysis file it wrote. model-ml-pipeline and evaluate-ml-pipeline fill the experiment script and, when it exists, audit/<stem>.py, with empty outputs. audit-ml-pipeline fills audit/<stem>.py only on a direct close. This skill owns on-demand fills, other sources, and turning the flag on when it is null or false. A data-analysis, experiment, or audit source uses notebook fill, not notebook convert.

Workflow checkpoint execution

Stage owners read policy before executing a human # %% source. Only policy.notebooks true enables automatic notebook materialization; null and false keep the stage's non-notebook execution and do not change policy.

When true, exploratory analysis uses materialize.py as its one run, then notebook fill writes the .ipynb with empty outputs. Add --html only when policy.site is also true. An experiment or audit file is the same: notebook fill writes the .ipynb with empty outputs, and materialize.py is the run that writes the digest and the HTML viewers. Do not notebook convert those files and do not cells run them. Kernel notebook convert stays only for a source that is itself the execution (the unfitted experiment snapshot). A generated notebook records its source fingerprint; loop notebooks fills or converts again only when the source or required HTML changed.

Lookup

Run status and read policy.notebooks. Take the first row that matches. Fill leaves code-cell outputs empty. Do not stop after reading the table.

policy.notebooksRequestThen
nullanystep 2, then match this table again. Do not take the convert row only because it is listed first.
falseanystep 3. Do not fill until the policy is true.
truethe user asked for HTML, a site viewer, or the notebook on the sitestep 4 notebook fill --html, then step 5. data_analysis/, experiments/<stem>.py, and audit/<stem>.py stay notebook fill, not notebook convert.
truethe source is itself the execution (unfitted experiment snapshot, before skore.evaluate) and the user did not ask for HTML or a site viewerkernel notebook convert, not notebook fill
truenotebook, ipynb, or convert, with no HTML and no site viewerstep 4 notebook fill only. No --html. No site build.

Sequence

  1. python -m skore_skills status. Read policy.notebooks and skills.

  2. If policy.notebooks is null: persist python -m skore_skills policy set notebooks true. Do not AskUserQuestion. Then load add-python-package for jupytext and nbformat (agent) and continue.

  3. If policy.notebooks is false: say notebooks are off; offer to turn them on. Do not fill until the policy is true.

  4. Fill the requested percent file (default data_analysis/data_analysis.py when the user did not name one):

    bash
    python -m skore_skills notebook fill data_analysis/data_analysis.py

    Fill does not execute the file and leaves code-cell outputs empty. It needs jupytext and nbformat, not nbclient, ipywidgets, or IPython. Do not start EDA, an evaluation, or an audit from this skill to produce those outputs. experiments/<stem>.py and audit/<stem>.py are filled the same way. Missing jupytext / nbformat / nbconvert stays a one-line skip.

    If the user wants the notebook on the site, load add-python-package for nbconvert (agent) and pass --html (writes a self-contained <stem>.nb.html next to the .py). The site links that file from the associated exploratory data analysis or design report. It opens as a page of its own.

    Optional --out path.ipynb. Keep *.ipynb gitignored unless the user asks setup-git to track them.

    Fill-only requests (notebook / ipynb / convert, no HTML or site viewer): run only that notebook fill line, with no --html. Tell the user the written .ipynb path. Do not mention --html or site build as an optional aside.

    Kernel notebook convert is only for a source that is itself the execution: the unfitted experiment snapshot, before skore.evaluate exists. Convert injects %matplotlib inline for that kernel run so seaborn / matplotlib last expressions emit image/png, then strips that setup cell from the written notebook. Do not put %matplotlib inline in the .py (style / ruff would reject it). If that convert fails because ipywidgets is missing, load add-python-package for it (agent) and convert again.

  5. After --html, if policy.site is true, export-ml-site is installed, run python -m skore_skills site build --if-stale so the viewer is packaged. Run --html and site build only when the user asked for HTML or a site viewer. Fill without --html does not rebuild the site. Skip in one line otherwise. If site build errors with mkdocs-material is required, load add-python-package for mkdocs-material (agent) and build once more. Do not pixi add / uv add. If that skill is missing, or the retry still fails, name the error in one line. Name a build error; do not fail the fill, and do not claim the website was updated. When the build ran, say the website has been updated and paste the file:// line from that output verbatim. Do not name the markdown file or the HTML viewer path. Do not quote the CLI.

Stop conditions

  • Do not git commit or git end-turn.
  • Do not run cells run as a substitute for fill.
  • Do not pixi add / uv add; load add-python-package.
  • Missing skill or missing source → one-line skip.
  • Do not name --html or python -m skore_skills site build unless the user asked for HTML or a site viewer. Tell the user paths, not the CLI.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Export Ml Notebook?

Write a jupytext percent file out as a notebook with empty outputs. `data_analysis/`, `experiments/`, and `audit/` are filled with empty outputs. Pass `--html` when that notebook should also become a viewer on the site. Kernel `notebook convert` stays for a source that is itself the execution. Trigger on notebook, ipynb, HTML, or executed-report requests, or when export-ml-project dispatches notebooks.

¿Por qué usar Export Ml Notebook en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Export Ml Notebook está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Export Ml Notebook en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/probabl-ai/skore-skills/tree/main/skills/export-ml-notebook. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Export Ml Notebook?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Export Ml Notebook?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Export Ml Notebook con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Export Ml Notebook?

Sí. probabl-ai la ha publicado en GitHub bajo la licencia BSD-3-Clause. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇