jupyter-notebook
Skill by microsoft
Creates, scaffolds and edits Jupyter notebooks (.ipynb) for experiments, analyses and tutorials. Built for users who want clean, reproducible notebooks started from bundled templates.
Install jupyter-notebook
Built from the published package, never by AI.
git clone --depth 1 https://github.com/microsoft/ai-agents-for-beginners /tmp/ai-agents-for-beginners && mkdir -p ~/.claude/skills && cp -r /tmp/ai-agents-for-beginners/translations/ml/.agents/skills/jupyter-notebook ~/.claude/skills/jupyter-notebookRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/microsoft/ai-agents-for-beginners /tmp/ai-agents-for-beginners && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ai-agents-for-beginners/translations/ml/.agents/skills/jupyter-notebook ~/.gemini/antigravity-cli/skills/jupyter-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
The jupyter-notebook skill helps an AI assistant create, scaffold and edit Jupyter notebooks (.ipynb). It sorts each request into an experiment or a tutorial notebook, then starts from a matching bundled template. A helper script, new_notebook.py, writes a clean starting notebook by loading the template and updating its title cell.
The skill asks the assistant to keep each code cell focused on one step, add short markdown explanations and avoid large outputs. When editing an existing notebook, it preserves the structure and prefers targeted edits. Where the environment allows, the notebook is run from top to bottom to validate it. It is aimed at people who want notebooks that others can read or rerun.
Written from the project's SKILL.md and checked against it.
What it can do
- Experiment notebooksScaffolds an experiment notebook from the bundled experiment template for exploratory or hypothesis-driven work.
- Tutorial notebooksScaffolds a tutorial notebook from the bundled tutorial template for step-by-step instructional material.
- Safe editingEdits existing notebooks with targeted changes that keep their structure intact.
- Top-to-bottom validationRuns the notebook from top to bottom when the environment allows, and explains how to validate locally otherwise.
What you need
- Python 3.12, used with uv run in the examples
- uv for dependency management (preferred)
- Optional: jupyterlab and ipykernel for local notebook execution
Try asking
- Create an experiment notebook that compares prompt variants
- Turn my analysis script into a structured tutorial notebook
- Edit this existing notebook so it runs top to bottom
Good to know
- Notebook execution may not be possible in every environment; the skill then says so.
- Prefers targeted edits over full rewrites of existing notebooks.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: translations/ml/.agents/skills/jupyter-notebook/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB -
assets/experiment-template.ipynb5 KB -
assets/tutorial-template.ipynb5 KB -
references/experiment-patterns.md4 KB -
references/notebook-structure.md3 KB
Show all 7 files
-
references/quality-checklist.md4 KB -
references/tutorial-patterns.md4 KB
Alternatives to jupyter-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
jupyter-notebook: common questions
Does it need Jupyter installed?
Installing jupyterlab and ipykernel is optional and only needed for local notebook execution. The bundled scaffold script uses only the Python standard library.
Where are the notebooks saved?
Final notebooks go under output/jupyter-notebook/ when working in the repo, and intermediate files go under tmp/jupyter-notebook/ and are deleted when done.
What are the two notebook kinds?
Experiment is for exploratory, analytical or hypothesis-driven work. Tutorial is for instructional, step-by-step material aimed at a specific audience.
How do I install jupyter-notebook?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is jupyter-notebook free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is jupyter-notebook safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. 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 jupyter-notebook?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
