jupyter-live-kernel

Execute Python code in a persistent Jupyter kernel with state retention.

Updated May 11, 2026
One-click install
npx skills add https://github.com/heximao/agents --skill jupyter-live-kernel-heximao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jupyter-live-kernel
Source: https://github.com/heximao/agents/tree/main/skill-archive/docker-hermes/data-science/jupyter-live-kernel
Command: npx skills add https://github.com/heximao/agents --skill jupyter-live-kernel-heximao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides an interactive Python environment with a persistent Jupyter kernel, allowing for iterative development and state persistence across code executions.

Core Features & Use Cases

  • Persistent State: Variables and state persist across code executions, enabling iterative development.
  • Jupyter Kernel: Offers a full-featured Jupyter kernel for Python code execution.
  • Use Case: Ideal for data science tasks that require incremental testing and refinement of code, such as exploring data, prototyping algorithms, or building machine learning models.

Quick Start

Start the Jupyter Live Kernel and execute Python code: uv run jupyter-live-kernel execute --path scratch.ipynb --code "print('Hello, world!')"

Frequently Asked Questions about jupyter-live-kernel

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

FAQPage Schema
How do I keep Python variables and state persistent across code executions?

To keep Python variables and state persistent across executions, you can use a Jupyter kernel environment. This allows iterative development by retaining variable values and state between separate code runs.

What is the best way to prototype algorithms iteratively without losing state?

The best way to prototype algorithms iteratively without losing state is using a persistent Jupyter kernel. It maintains the Python environment between runs, enabling incremental testing and refinement of code.

Does this environment support incremental testing for data science tasks?

Yes, this environment supports incremental testing for data science tasks. It provides a full-featured Jupyter kernel ideal for exploring data, prototyping algorithms, or building machine learning models through state persistence.

How do I execute Python code in a Jupyter kernel from the command line?

To execute Python code in a Jupyter kernel from the command line, run the execution script with a target notebook path and the code string. This sends the code directly to the persistent kernel environment.

Can I use this for building machine learning models that require state persistence?

Yes, you can use this for building machine learning models that require state persistence. The persistent Jupyter kernel allows you to incrementally test and refine model code across multiple executions.

Why does my Python session reset variables between executions?

Your Python session resets variables between executions because it lacks a persistent Jupyter kernel. Using an interactive environment with state persistence ensures variables remain available across code runs.