Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/pvbang-jupyter-live-kernel
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
jupyter-live-kernel- Description
- Iterative Python via live Jupyter kernel (hamelnb).
- License
- MIT
- Instructions
- 156 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (1)
- SKILL.md
SKILL.md (first lines)
# Jupyter Live Kernel (hamelnb)
Gives you a **stateful Python REPL** via a live Jupyter kernel. Variables persist
across executions. Use this instead of `execute_code` when you need to build up
state incrementally, explore APIs, inspect DataFrames, or iterate on complex code.
## When to Use This vs Other Tools
| Tool | Use When |
|------|----------|
| **This skill** | Iterative exploration, state across steps, data science, ML, "let me try this and check" |
| `execute_code` | One-shot scripts needing hermes tool access (web_search, file ops). Stateless. |
| `terminal` | Shell commands, builds, installs, git, process management |
**Rule of thumb:** If you'd want a Jupyter notebook for the task, use this skill.
## Prerequisites
1. **uv** must be installed (check: `which uv`)
2. **JupyterLab** must be installed: `uv tool install jupyterlab`
3. A Jupyter server must be running (see Setup below)
## Setup
The hamelnb script location:
```
SCRIPT="$HOME/.agent-skills/hamelnb/skills/jupyter-live-kernel/scripts/jupyter_live_kernel.py"
```
If not cloned yet:
```
git clone https://github.com/hamelsmu/hamelnb.git ~/.agent-skills/hamelnb
```
### Starting JupyterLab
Check if a server is already running:
```
uv run "$SCRIPT" servers
```
If no servers found, start one:
```
jupyter-lab --no-browser --port=8888 --notebook-dir=$HOME/notebooks \
--IdentityProvider.token='' --ServerApp.password='' > /tmp/jupyter.log 2>&1 &
sleep 3
```
Note: Token/password disabled for local agent access. The server runs headless.
### Creating a Notebook for REPL Use
If you just need a REPL (no existing notebook), create a minimal notebook file:
```
mkdir -p ~/notebooks
```
Write a minimal .ipynb JSON file with one empty code cell, then start a kernel
session via the Jupyter REST API:
```
curl -s -X POST http://127.0.0.1:8888/api/sessions \
-H "Content-Type: application/json" \
-d '{"path":"scratch.ipynb","type":"notebook","name":"scratch.ipynb","kernel":{"name":"python3"}}'
```
## Core Workflow
All commands return structured JSON. Always use `--compact` to save tokens.
### 1. Discover servers and notebooks
```
uv run "$SCRIPT" servers --compact
uv run "$SCRIPT" notebooks --compact
```
### 2. Execute code (primary operation)
```
uv run "$SCRIPT" execute --path <notebook.ipynb> --code '<python code>' --compact
```
State persists across execute calls. Variables, imports, objects all survive.
Multi-line code works with $'...' quoting:
```
uv run "$SCRIPT" execute --path scratch.ipynb --code $'import os\nfiles = os.listdir(".")\nprint(f"Found {len(files)} files")' --compact
```
### 3. Inspect live variables
```
uv run "$SCRIPT" variables --path <notebook.ipynb> list --compact
uv run "$SCRIPT" variables --path <notebook.ipynb> preview --name <varname> --compact
```
### 4. Edit notebook cells
```
# View current cells
uv run "$SCRIPT" contents --path <notebook.ipynb> --compact
# Insert a new cell
uv run "$SCRIPT" edit --path <notebook.ipynb> insert \
--at-index <N> --cell-type code --source '<code>' --compact
# Replace cell source (use cell-id from contents output)
uv run "$SCRIPT" edit --path <notebook.ipynb> replace-source \
--cell-id <id> --source '<new code>' --compact
# Delete a cell
uv run "$SCRIPT" edit --path <notebook.ipynb> delete --cell-id <id> --compact
```
### 5. Verification (restart + run all)
Only use when the user asks for a clean verification or you need to confirm
the notebook runs top-to-bottom:
```From pvbang/nexus, MIT.
More from pvbang/nexus
- 0.474score
biomass-gasifier-sizing
pvbang
Quantitative sizing of a downdraft biomass gasifier for small-scale power (rice husk / wood chips, ~5-50 kWe).
SkillCFreshness: CClaude Code +9 - 0.470score
domain-intel
pvbang
Passive domain reconnaissance using Python stdlib.
SkillCFreshness: CClaude Code +9 - 0.466score
llm-guidelines
pvbang
Behavioral guidelines to reduce common LLM coding mistakes, derived from Phan Van Bang observations on LLM coding pitfalls.
SkillCFreshness: CClaude Code +9 - 0.461score
code-review
pvbang
Comprehensive code review with best practices analysis
SkillCFreshness: CClaude Code +9 - 0.456score
Content Writer
pvbang
Blog posts, articles, marketing copy, and SEO-optimized content
SkillCFreshness: CClaude Code +9 - 0.456score
API Builder
pvbang
FastAPI/REST API design, implementation, and OpenAPI documentation
SkillCFreshness: CClaude Code +9 - 0.456score
Data Analyst
pvbang
Data analysis, visualization, and statistical insights using Python
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 9, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/pvbang/nexus
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.574score
jupyter-live-kernel
hermesonehq
Iterative Python via live Jupyter kernel (hamelnb).
SkillCFreshness: C★ 92Claude Code +9 - 0.365score
jupyter-live-kernel
m4tinbeigi-official
Iterative Python via live Jupyter kernel (hamelnb).
SkillBFreshness: B★ 47Claude Code +9 - 0.323score
jupyter-live-kernel
RekapalliVasudeva-MBU
Iterative Python via live Jupyter kernel (hamelnb).
SkillBFreshness: B★ 1Claude Code +9 - 0.322score
jupyter-live-kernel
werxiao882-cell
Iterative Python via live Jupyter kernel (hamelnb).
SkillCFreshness: C★ 13Claude Code +9 - 0.319score
jupyter-live-kernel
AjayRajan05
Iterative Python via live Jupyter kernel (hamelnb).
SkillCFreshness: C★ 10Claude Code +9
More from pvbang
- 0.474score
biomass-gasifier-sizing
pvbang
Quantitative sizing of a downdraft biomass gasifier for small-scale power (rice husk / wood chips, ~5-50 kWe).
SkillCFreshness: CClaude Code +9 - 0.470score
domain-intel
pvbang
Passive domain reconnaissance using Python stdlib.
SkillCFreshness: CClaude Code +9 - 0.466score
llm-guidelines
pvbang
Behavioral guidelines to reduce common LLM coding mistakes, derived from Phan Van Bang observations on LLM coding pitfalls.
SkillCFreshness: CClaude Code +9 - 0.461score
code-review
pvbang
Comprehensive code review with best practices analysis
SkillCFreshness: CClaude Code +9 - 0.456score
API Builder
pvbang
FastAPI/REST API design, implementation, and OpenAPI documentation
SkillCFreshness: CClaude Code +9 - 0.456score
Content Writer
pvbang
Blog posts, articles, marketing copy, and SEO-optimized content
SkillCFreshness: CClaude Code +9
Cite this page
jupyter-live-kernel skill. Agent Mart. https://agentmart.dev/skills/pvbang-jupyter-live-kernel (last updated 2026-10-24)