jupyter-live-kernel

Execute Python code with state persistence via a live Jupyter kernel.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/DaddyElonMusk69/motis-agent --skill jupyter-live-kernel-daddyelonmusk69
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jupyter-live-kernel
Source: https://github.com/DaddyElonMusk69/motis-agent/tree/main/skills/data-science/jupyter-live-kernel
Command: npx skills add https://github.com/DaddyElonMusk69/motis-agent --skill jupyter-live-kernel-daddyelonmusk69

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Provides a stateful, interactive Python REPL by connecting to a live Jupyter kernel, allowing variables and imports to persist across multiple code executions.

Core Features & Use Cases

  • Stateful Execution: Code runs in the same kernel session, preserving variables and imports.
  • Iterative Exploration: Ideal for data‑science notebooks, machine‑learning model prototyping, and API testing where you need to run code step‑by‑step.
  • CLI Integration: Leverages the hamelnb script to list servers, notebooks, execute code, and inspect variables from the command line.

Quick Start

Ask the agent to run a line of Python code in the Jupyter kernel, such as “import pandas as pd; df = pd.read_csv('data.csv'); df.head()”.

Frequently Asked Questions about jupyter-live-kernel

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

FAQPage Schema
How do I execute Python code with state persistence across multiple runs?

Stateful execution connects to a live Jupyter kernel, allowing variables and imports to persist across multiple Python code executions. This is ideal for iterative data-science exploration and machine-learning experimentation where you run code step-by-step.

Can I use a Jupyter kernel for interactive Python without losing my variables?

Yes, a live Jupyter kernel provides an interactive Python REPL that preserves variables and imports. By running code in the same kernel session, your data persists across executions for continuous iterative exploration.

Do I need a running JupyterLab server to maintain state in my Python REPL?

Yes, you need a running JupyterLab server and the hamelnb script to communicate via the Jupyter REST API. This setup enables the live kernel connection required for stateful Python execution.

What's the best way to test APIs step-by-step while keeping my Python environment loaded?

Stateful execution via a live Jupyter kernel is the best way for step-by-step API testing, as it keeps your Python environment loaded and variables intact. You can run code iteratively without reloading imports or losing your session state.

Does this interactive Python REPL support data science exploration and model prototyping?

Yes, the stateful Jupyter kernel is explicitly designed for data-science notebooks and machine-learning model prototyping. It allows you to execute data exploration code iteratively while preserving your loaded datasets and variables across each run.

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

Standard Python REPLs lose variables because they execute in isolated sessions without state persistence. Connecting to a live Jupyter kernel solves this by running your code in the same kernel session, ensuring variables and imports persist across executions.