run-notebook

Automates Jupyter notebook execution, verifies outputs, and extracts PNG images.

1|Updated May 27, 2025
One-click install
npx skills add https://github.com/caiohamamura/reveal-cpvbcdd-202501 --skill run-notebook
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-notebook
Source: https://github.com/caiohamamura/reveal-cpvbcdd-202501/tree/main/.opencode/skills/run-notebook
Command: npx skills add https://github.com/caiohamamura/reveal-cpvbcdd-202501 --skill run-notebook

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jupyter, nbconvert, nbformat, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies running Jupyter notebooks, verifying their outputs, and extracting embedded images, reducing manual processing time.

Core Features & Use Cases

  • Notebook Execution: Automates executing .ipynb files with configurable timeouts and error detection.
  • Image Extraction: Retrieves images embedded in notebook outputs, saving them as standalone PNG files.
  • Use Case: When preparing presentation slides from computational results, users can run notebooks and extract relevant visual outputs efficiently.

Quick Start

Use the run-notebook skill to execute a notebook named 'analysis.ipynb' and extract images to a folder called 'images/'.

Frequently Asked Questions about run-notebook

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

FAQPage Schema
How do I automate Jupyter notebook execution and extract images for presentation slides?

Automating Jupyter notebook execution involves running .ipynb files with configurable timeouts, verifying output success, and extracting embedded visual outputs as standalone PNG files for presentation slides.

How does image extraction from Jupyter notebook outputs work for report generation?

Image extraction from Jupyter notebook outputs retrieves embedded images generated during execution and saves them as standalone PNG files, streamlining report generation and documentation processes.

Do I need jupyter and nbconvert libraries to run notebooks and extract embedded images?

Yes, you need jupyter and nbconvert libraries for notebook execution and image decoding, along with nbformat to automate execution, verify outputs, and extract embedded images successfully.

What's the best way to verify Jupyter notebook output success after automated execution?

The best way to verify Jupyter notebook output success is automating execution with error detection and reporting, ensuring computational results are validated before extracting embedded images for documentation.

Can I use configurable timeouts when automating data analysis in Jupyter notebooks?

Yes, you can use configurable timeouts when automating data analysis in Jupyter notebooks, allowing automated execution to handle long-running computational tasks while verifying output success and extracting embedded images.

Why does my automated Jupyter notebook execution fail during image extraction?

Automated Jupyter notebook execution may fail during image extraction if jupyter or nbconvert libraries are missing, or if error detection identifies execution failures before embedded images can be decoded and saved.