export-ml-notebook
Skill by probabl-ai
Writes jupytext percent .py files out as Jupyter notebooks with empty outputs, with an optional HTML viewer. Built for ML projects that use the skore_skills workflow. The .py file stays the source of truth.
Install export-ml-notebook
Built from the published package, never by AI.
git clone --depth 1 https://github.com/probabl-ai/skore-skills /tmp/skore-skills && mkdir -p ~/.claude/skills && cp -r /tmp/skore-skills/skills/export-ml-notebook ~/.claude/skills/export-ml-notebookRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/probabl-ai/skore-skills /tmp/skore-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skore-skills/skills/export-ml-notebook ~/.gemini/antigravity-cli/skills/export-ml-notebookAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
export-ml-notebook writes a jupytext percent (.py) file out as a Jupyter notebook with empty code-cell outputs. It covers data analysis, experiment and audit files. The .py file stays the source of truth, and the skill does not rewrite it from the notebook.
With --html it also writes a self-contained HTML viewer next to the .py file, which the project site can link to. Kernel notebook convert is kept for sources that are the execution themselves, such as an unfitted experiment snapshot. The skill is meant for ML projects using the skore_skills workflow and is gated by a notebooks policy flag.
Written from the project's SKILL.md and checked against it.
What it can do
- Notebook fillWrites a .ipynb from a jupytext percent file with empty code-cell outputs, using notebook fill.
- HTML viewerWith --html, writes a self-contained <stem>.nb.html next to the .py file.
- Site buildRuns site build --if-stale when policy.site is true and export-ml-site is installed.
- Kernel convertUses notebook convert only for sources that are themselves the execution, such as an unfitted experiment snapshot.
- Policy gateReads policy.notebooks and turns it on when it is null, before filling notebooks.
What you need
- Python
- jupytext and nbformat packages
- nbconvert for HTML output
Try asking
- Export my data_analysis percent file as an ipynb notebook
- Make an HTML viewer of the experiment notebook for the site
- Fill the audit notebook with empty outputs and keep the .py source
Good to know
- Fill does not execute the file and leaves code-cell outputs empty.
- Automatic notebook work runs only while policy.notebooks is true.
- Generated *.ipynb files are gitignored unless the user asks setup-git to track them.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/export-ml-notebook/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to export-ml-notebook
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
export-ml-notebook: common questions
Does export-ml-notebook run my analysis code?
Fill does not execute the file and leaves code-cell outputs empty. Kernel notebook convert runs only for a source that is itself the execution.
Does it change my .py source file?
No. The source says the .py file stays the source of truth and the skill does not rewrite it from the notebook.
How do I get an HTML version of a notebook?
Pass --html to the fill step. It writes a self-contained <stem>.nb.html next to the .py file, and the site can link to it.
How do I install export-ml-notebook?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is export-ml-notebook free?
The code is published under the BSD-3-Clause licence. The service it connects to may have its own pricing.
Is export-ml-notebook safe to use?
It scores 67 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to export-ml-notebook?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
