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.