jupyter-notebooks

Automate Jupyter notebook editing, execution, and format conversion.

1|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/Kang-chen/Agent-skills --skill jupyter-notebooks-kang-chen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jupyter-notebooks
Source: https://github.com/Kang-chen/Agent-skills/tree/main/jupyter-notebooks
Command: npx skills add https://github.com/Kang-chen/Agent-skills --skill jupyter-notebooks-kang-chen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Jupyter notebook operations like editing cells, reading content, executing notebooks, and converting formats are repetitive and error-prone. This Skill provides a unified approach to streamline these tasks within Cursor and standard tooling.

Core Features & Use Cases

  • Edit and reorder cells with supported tools (Cursor EditNotebook, nbformat micro-edits).
  • Read notebook content programmatically and extract data or structure.
  • Execute notebooks with papermill and convert to HTML, PDF, or script formats.
  • Use Jupytext workflows to pair notebooks with Python scripts for version control and collaboration.

Quick Start

Install papermill, jupytext, nbconvert, and nbformat in your Python environment. Use the Cursor EditNotebook tool to edit cells by specifying target_notebook, cell_idx, is_new_cell, cell_language, old_string, and new_string. For structural edits, pair notebooks with Jupytext and keep notebooks synchronized before reading or execution. Use nbformat or papermill for execution and nbconvert for conversion.

Frequently Asked Questions about jupyter-notebooks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Jupyter notebook execution and format conversion?

Automate Jupyter notebook execution and format conversion by running notebooks with papermill and using nbconvert to export the results to HTML, PDF, or script formats, reducing manual notebook management.

How do I pair Jupyter notebooks with Python scripts for version control?

Pair Jupyter notebooks with Python scripts for version control using Jupytext workflows, which synchronize notebook content with script formats to streamline collaboration and track changes.

Can I edit and reorder Jupyter notebook cells programmatically?

Edit and reorder Jupyter notebook cells programmatically using the Cursor EditNotebook tool or nbformat micro-edits, specifying the target notebook, cell index, and new content.

What is the best way to convert a Jupyter notebook to a PDF or HTML file?

The best way to convert a Jupyter notebook to PDF or HTML is using nbconvert, which transforms executed notebook outputs into shareable formats without manual intervention.

Do I need papermill and jupytext installed to automate notebook workflows?

Yes, you need papermill and jupytext installed in your Python environment alongside nbconvert and nbformat to fully support notebook execution, pairing, and format conversion.

Why does my Jupyter notebook execution fail during automated workflows?

Jupyter notebook execution may fail during automated workflows if notebooks are not synchronized with Jupytext before reading or if the Python environment lacks required dependencies like papermill or nbformat.