jupyter-live-kernel

Execute stateful Python code in a live Jupyter kernel within Hermes.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill addresses the need for a stateful Python REPL, enabling incremental code execution and exploration with persistent state.

Core Features & Use Cases

  • Stateful Python REPL: Persistent state across executions for iterative exploration.
  • Data Science and ML Exploration: Use for building state incrementally, exploring APIs, inspecting DataFrames, or iterating on complex code.
  • Integration with Hermes: Operates within the Hermes AI Agent ecosystem for a seamless integration of tools.

Quick Start

Start the live Jupyter kernel to explore Python and perform iterative data science tasks. Run: uv run jupyter-live-kernel execute --path scratch.ipynb --code "import pandas as pd; df = pd.DataFrame({'col1': [1, 2, 3], 'col2': [4, 5, 6]})" --compact

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 stateful Python execution for iterative data science exploration?

A live Jupyter kernel maintains stateful Python execution by persisting your environment across multiple code executions. This allows you to incrementally build state, inspect DataFrames, and iterate on complex code without losing variables between runs.

What do I need to run a live Jupyter kernel for ML tasks?

Running a live Jupyter kernel for ML tasks requires uv and JupyterLab installed, along with a Python 3 environment. You must also ensure appropriate ML libraries are installed to execute your stateful data science code.

How do I execute Python code in a persistent REPL using Jupyter?

You execute Python code in a persistent REPL using Jupyter by running the live kernel command with your target notebook path and code string. Use the execute command with the --path and --code arguments to run scripts and maintain state.

Can I use a Jupyter kernel for incremental API exploration and DataFrame inspection?

Yes, you can use a live Jupyter kernel for incremental API exploration and DataFrame inspection. It operates within the Hermes ecosystem, allowing you to iteratively explore APIs and inspect DataFrames while maintaining persistent state across executions.

What is the best way to do stateful Python code execution within an AI agent ecosystem?

Using a live Jupyter kernel integrated with Hermes is the best way to achieve stateful Python code execution within an AI agent ecosystem. It provides a persistent REPL for incremental development and data science tasks directly within the agent workflow.

Why does my Python state reset between executions in standard REPL?

Python state resets between executions in standard REPL environments because they lack persistent state management. A live Jupyter kernel solves this by maintaining stateful execution, ensuring variables and DataFrames persist for iterative exploration.