jupyter-live-kernel

Execute Python code iteratively in a stateful Jupyter kernel.

Updated Jun 22, 2026
One-click install
npx skills add https://github.com/ashiqcodeleaf/long-Run-Agents --skill jupyter-live-kernel-ashiqcodeleaf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jupyter-live-kernel
Source: https://github.com/ashiqcodeleaf/long-Run-Agents/tree/main/skills/data-science/jupyter-live-kernel
Command: npx skills add https://github.com/ashiqcodeleaf/long-Run-Agents --skill jupyter-live-kernel-ashiqcodeleaf

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a stateful Python REPL through a live Jupyter kernel, making it perfect for iterative code development, data science experiments, and complex exploration tasks.

Core Features & Use Cases

  • Stateful Python REPL: Execute code incrementally, maintain state across executions.
  • Data Science Tools: Integrate with JupyterLab for Python environments.
  • Use Case: For instance, you can use this Skill to analyze data sets, explore APIs, and iteratively test complex code in a Python environment with persistent state.

Quick Start

Start the Jupyter live kernel with the command: uv run "$SCRIPT" servers --compact to discover servers and notebooks, and uv run "$SCRIPT" execute --path <notebook.ipynb> --code '<python code>' --compact to execute Python code.

Frequently Asked Questions about jupyter-live-kernel

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

FAQPage Schema
How do I maintain state across Python code executions in a Jupyter environment?

To maintain state across Python code executions in a Jupyter environment, use a stateful Python REPL with a live Jupyter kernel. This setup preserves variables and program state incrementally, enabling iterative code development without losing prior computation results.

What is a stateful Python REPL used for in data science?

A stateful Python REPL is used for iterative data science exploration, allowing you to execute code incrementally and analyze datasets while preserving environment state. It supports complex analysis tasks by retaining variable values across multiple code executions.

Do I need JupyterLab installed to use a live Python kernel for iterative coding?

Yes, you need JupyterLab installed to use a live Python kernel for iterative coding. The stateful REPL requires a JupyterLab setup and Python environments with specified libraries to execute interactive code and preserve state.

How do I execute Python code in an existing notebook using a live Jupyter kernel?

To execute Python code in an existing notebook using a live Jupyter kernel, use the command `uv run "$SCRIPT" execute --path <notebook.ipynb> --code '<python code>' --compact`. This sends code directly to the notebook for interactive execution.

Can I discover available Jupyter servers and notebooks programmatically?

Yes, you can discover available Jupyter servers and notebooks programmatically by running `uv run "$SCRIPT" servers --compact`. This command scans the environment to identify active servers and accessible notebooks for stateful REPL execution.

Does a live Jupyter kernel work better than a standard Python REPL for complex analysis?

A live Jupyter kernel works better than a standard Python REPL for complex analysis because it integrates directly with JupyterLab and preserves state across executions. This stateful behavior allows data scientists to iteratively test code without reloading environments.