jupyter-notebook

Executes Python code in a live Jupyter kernel with persistent state across calls.

Updated Aug 22, 2026
One-click install
npx skills add https://github.com/vivekgoquest/hermes-agent-stable --skill jupyter-notebook-vivekgoquest
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: jupyter-notebook
Source: https://github.com/vivekgoquest/hermes-agent-stable/tree/main/optional-skills/data-science/jupyter-notebook
Command: npx skills add https://github.com/vivekgoquest/hermes-agent-stable --skill jupyter-notebook-vivekgoquest

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jupyterlab, uv.

What problem does it solve? One-shot code execution loses all variables between runs, forcing you to re-import libraries and reload data every time. This Skill provides a stateful Python REPL through a live Jupyter kernel, so variables, imports, and objects persist across executions for iterative exploration. ## Core Features & Use Cases - Stateful Code Execution: Run Python code against a live kernel where variables and imports survive between calls, ideal for incremental data exploration. - Variable Inspection: List and preview live kernel variables to inspect DataFrames, models, and intermediate results without re-running code. - Notebook Cell Editing: View, insert, replace, and delete notebook cells, plus restart-and-run-all verification to confirm a notebook executes top-to-bottom. - Use Case: While exploring a new dataset, load it into a pandas DataFrame once, then iteratively filter, plot, and transform it across many executions without reloading. ## 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-notebook

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

FAQPage Schema
How do I run Python code in a persistent Jupyter kernel from the command line?▼

Use the jupyter_live_kernel.py script with the execute subcommand, passing --path to a notebook and --code with your Python code. State persists across calls, so variables and imports survive between executions.

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

Use a live Jupyter kernel when you need state across steps, such as iterative data exploration, ML prototyping, or inspecting DataFrames. Use one-shot execution for stateless scripts that complete in a single run.

How do I inspect variables in a running Jupyter kernel?▼

Run the variables subcommand with list to see all live variables, or preview with --name to inspect a specific variable's value. Add --compact to reduce verbose JSON output.

Why does Jupyter kernel execution time out on the first run?▼

The kernel needs time to initialize after the server starts, so the first execution may exceed the 30-second default timeout. Retry the call or pass --timeout 120 for long-running operations.

How do I fix websocket timeouts when executing Jupyter cells?▼

Force zmq transport by adding --transport zmq to the execute command. This uses jupyter_client directly and sidesteps broken websocket reply channels where the kernel actually ran fine.

Why does creating a Jupyter session fail with an _xsrf error?▼

POST requests to /api/sessions fail with '_xsrf argument missing' unless the server was started with --ServerApp.disable_check_xsrf=True. Restart JupyterLab with that flag for REST-only access.