jupyter-notebook

Execute Python code in a stateful Jupyter kernel with persistent variables.

1|Updated Jul 31, 2026
One-click install
npx skills add https://github.com/icyzh/hermes-web --skill jupyter-notebook-icyzh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jupyter-notebook
Source: https://github.com/icyzh/hermes-web/tree/main/optional-skills/data-science/jupyter-notebook
Command: npx skills add https://github.com/icyzh/hermes-web --skill jupyter-notebook-icyzh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires uv, jupyterlab, and includes scripts (resource) components.

What problem does it solve?

This skill solves the limitation of stateless code execution by providing a persistent Jupyter kernel environment, allowing for iterative development, variable state retention, and complex data exploration.

Core Features & Use Cases

  • Stateful Execution: Variables and imports persist across multiple code blocks, enabling incremental development.
  • Jupyter Integration: Full support for Jupyter notebook operations including cell management, kernel restarts, and live variable inspection.
  • Use Case: Use this when performing exploratory data analysis on large datasets where you need to load a dataframe once and perform multiple, sequential transformations or visualizations without re-running the entire script.

Quick Start

Use the jupyter-notebook skill to start a new kernel session and execute the python code that calculates the mean of the current dataset.

Frequently Asked Questions about jupyter-notebook

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

FAQPage Schema
How do I keep Python variables persistent across multiple code blocks for iterative data exploration?

Use a stateful Python REPL environment via a live Jupyter kernel to retain variables and imports across multiple code blocks. This enables incremental development and iterative data exploration without re-executing the entire script.

How do I perform exploratory data analysis on a large dataset without reloading a dataframe every time?

Perform exploratory data analysis by loading your dataframe once in a stateful Jupyter notebook environment. The persistent kernel retains the dataframe in memory, allowing sequential transformations or visualizations across multiple code blocks without reloading.

Do I need a local JupyterLab installation to run a stateful Python kernel?

Yes, a local JupyterLab installation is required. The environment uses a hamelnb kernel management script to interface with the Jupyter REST API, facilitating persistent variable management, notebook cell manipulation, and structured code execution.

Can I restart a Jupyter kernel and manage notebook cells during live data science sessions?

Yes, full Jupyter notebook operations are supported including cell management, kernel restarts, and live variable inspection. This allows you to reset state and restructure code execution dynamically during iterative data science workflows.

What is the best way to execute Python code across multiple steps while retaining variable state?

Use a stateful Python REPL environment that facilitates structured execution of Python code across multiple steps. The live Jupyter kernel manages persistent variables, enabling complex data exploration and iterative development.

Why does my Python code execution lose variable state between sequential data transformations?

Standard stateless code execution does not retain variables. A stateful Jupyter kernel environment solves this limitation by providing persistent variable management, allowing sequential transformations to build upon previous execution steps.