jupyter-live-kernel

Execute Python code incrementally in a stateful Jupyter kernel.

Updated Sep 1, 2021
One-click install
npx skills add https://github.com/unclehowell/unclehowell --skill jupyter-live-kernel-unclehowell
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jupyter-live-kernel
Source: https://github.com/unclehowell/unclehowell/tree/main/skills/data-science/jupyter-live-kernel
Command: npx skills add https://github.com/unclehowell/unclehowell --skill jupyter-live-kernel-unclehowell

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill provides a stateful Python REPL via a live Jupyter kernel, enabling iterative experimentation with persistent variables across executions to support data science workflows and exploratory coding.

Core Features & Use Cases

  • Stateful execution: preserve variables, imports, and environment across runs to build up analysis steps.
  • Interactive exploration: inspect data, try API calls, and iterate on ideas without restarting the kernel.
  • Lightweight integration: relies on a minimal setup (uv and JupyterLab) and runs headless for agent environments.

Quick Start

Start a live Jupyter kernel session and execute Python commands incrementally to build up state and observe results.

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 persistent between executions in a data science workflow?

A stateful Python REPL preserves variables, imports, and environment across executions using a live Jupyter kernel. This allows you to build up analysis steps and iterate on data exploration without restarting the environment.

How does a live Jupyter kernel handle stepwise code development?

A live Jupyter kernel handles stepwise development by running a headless server that maintains state between commands. You can execute Python code incrementally, inspect data outputs, and iterate on model prototypes without losing previous results.

Do I need JupyterLab installed to use a stateful Python REPL?

Yes, you need JupyterLab and uv installed to run the stateful Python REPL. The environment operates a headless Jupyter server in the background to support agent-based execution and interactive exploration.

What's the best way to run a stateful Python environment for API exploration?

The best way to run a stateful Python environment for API exploration is via a live Jupyter kernel. It allows you to execute API calls iteratively and inspect responses while preserving authentication tokens and variables across runs.

Why does my Python REPL lose variables between separate code executions?

Standard Python REPLs lose variables because they execute in isolated sessions without state persistence. Using a live Jupyter kernel solves this by maintaining a persistent state, ensuring imports and data variables survive across multiple executions.

Can I use a live Jupyter kernel for iterative model prototyping?

Yes, you can use a live Jupyter kernel for iterative model prototyping. It provides a stateful execution environment that preserves variables and imported libraries, allowing you to incrementally adjust and inspect data science models.