jupyter-live-kernel

Executes Python code in a stateful Jupyter kernel with persistent variables across calls.

Updated Jul 10, 2026
One-click install
npx skills add https://github.com/AvaTar-ArTs/.Agent-skills --skill jupyter-live-kernel-avatar-arts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jupyter-live-kernel
Source: https://github.com/AvaTar-ArTs/.Agent-skills/tree/main/skills/data-science/jupyter-live-kernel
Command: npx skills add https://github.com/AvaTar-ArTs/.Agent-skills --skill jupyter-live-kernel-avatar-arts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jupyterlab, uv.

What problem does it solve? One-shot code execution loses all state between runs, forcing you to re-import libraries, reload data, and rebuild variables every time. This Skill provides a live Jupyter kernel where variables, imports, and objects persist across executions, enabling true iterative exploration. ## Core Features & Use Cases - Stateful Code Execution: Run Python code against a live kernel where DataFrames, models, and variables survive between calls. - Variable Inspection: List and preview live kernel variables to check intermediate results without re-running code. - Notebook Cell Editing: Insert, replace, and delete cells in a notebook, plus restart-and-run-all verification for reproducibility. - Use Case: Load a CSV into a pandas DataFrame, inspect its columns, try a cleaning transformation, check the result, and iterate on a plot — all without reloading the data between steps. ## Quick Start Start a Jupyter kernel session and run my Python analysis code step by step, keeping the DataFrame in memory between each step.

Frequently Asked Questions about jupyter-live-kernel

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

FAQPage Schema
How do I run Python code with persistent state between executions?

Use a live Jupyter kernel via the jupyter_live_kernel.py script's execute command, which keeps variables, imports, and objects alive across calls. Point it at a notebook path on a running Jupyter server and each execution builds on the previous state.

When should I use a Jupyter kernel instead of one-shot code execution?

Use a live kernel for iterative exploration, data science, and ML tasks where you build state incrementally. Use one-shot execution for stateless scripts that need tool access, and the terminal for shell commands, installs, and process management.

What are the prerequisites for running a live Jupyter kernel?

You need uv installed, JupyterLab installed via uv tool install, and a running Jupyter server. A kernel session must also be started through the Jupyter REST API before the execute command can run code.

Why does the first code execution against a Jupyter kernel time out?

The kernel needs a moment to initialize after the server starts, so the first execution may hit the 30-second default timeout. Retrying usually succeeds, and you can pass a longer timeout such as --timeout 120 for heavy operations.

Can I inspect variables in a running Jupyter kernel?

Yes, the variables subcommand lists all live variables and can preview a specific one by name. This lets you check intermediate DataFrames or objects without re-executing the code that created them.