jupyter-live-kernel
Skill by TencentCloud
Jupyter Live Kernel gives an AI assistant a stateful Python REPL on a live Jupyter kernel. It is for iterative exploration, data science, and machine learning work where variables must persist between steps.
Install jupyter-live-kernel
Built from the published package, never by AI.
git clone --depth 1 https://github.com/TencentCloud/octop-harness /tmp/octop-harness && mkdir -p ~/.claude/skills && cp -r /tmp/octop-harness/src/octop_harness/builtin/skills/zh/jupyter-live-kernel ~/.claude/skills/jupyter-live-kernelRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/TencentCloud/octop-harness /tmp/octop-harness && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/octop-harness/src/octop_harness/builtin/skills/zh/jupyter-live-kernel ~/.gemini/antigravity-cli/skills/jupyter-live-kernelAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install jupyter-live-kernel in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Jupyter Live Kernel gives an AI assistant a stateful Python REPL backed by a live Jupyter kernel. Variables, imports and objects persist across separate execute calls, so the assistant can build state step by step, explore APIs, inspect DataFrames and iterate on code. The skill is built on the hamelnb script and is described as ported from Octop.
The assistant drives the kernel through a bundled or cloned hamelnb script that returns structured JSON. It can list servers and notebooks, run code against a notebook path, inspect variables, edit notebook cells, and run a restart and run-all check. The source says it suits iterative exploration, data science, machine learning and tasks that need a Jupyter notebook. For short scripts, installs or shell commands it recommends plain execute calls instead. It requires uv, JupyterLab and a running Jupyter server.
Written from the project's SKILL.md and checked against it.
What it can do
- Stateful Python executionRuns Python code against a live kernel, keeping variables and imports between calls.
- Server and notebook discoveryLists running Jupyter servers and available notebooks using the servers and notebooks commands.
- Live variable inspectionLists kernel variables and previews a named variable's value.
- Notebook cell editingShows notebook contents and inserts, replaces the source of, or deletes cells.
- Restart and run-all checkRestarts the kernel and runs every cell to confirm a notebook runs top to bottom.
- Structured JSON outputReturns command results as JSON, with errors shown as tracebacks using ename and evalue fields.
What you need
- uv installed
- JupyterLab installed via uv tool install jupyterlab
- A running Jupyter server
- Linux, macOS or Windows
Try asking
- Load this CSV in the live kernel and show the first rows of the DataFrame
- List the variables in my scratch notebook and preview the largest one
- Restart my notebook and run all cells to check it runs top to bottom
Good to know
- Token and password are disabled for local agent access, and the server runs headless
- Each execution has a default timeout of 30 seconds unless a longer --timeout is passed
- The first execution after server start may time out, so retrying is advised
- Packages used by the kernel must be installed in the JupyterLab environment
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: src/octop_harness/builtin/skills/zh/jupyter-live-kernel/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to jupyter-live-kernel
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
jupyter-live-kernel: common questions
Does the kernel keep variables between calls?
Yes. The source says state persists across multiple execute calls, so variables, imports and objects are kept.
When should I use this skill instead of execute?
The source says to use it for iterative exploration and multi-step state, while plain execute works for short Python scripts, installs and file conversions.
Where does the hamelnb script come from?
The skill ships a hamelnb script under the builtin skills folder, and the source says the upstream repository can be cloned if it is not bundled.
How do I install jupyter-live-kernel?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is jupyter-live-kernel free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is jupyter-live-kernel safe to use?
It scores 67 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to jupyter-live-kernel?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
