Cursor Notebook Bridge
Edit Jupyter notebooks via live kernel tools.
Skill metadata
| Source | Bundled (installed by default) |
| Path | skills/software-development/cursor-notebook-bridge |
| Version | 1.0.0 |
| Author | VibeOS |
| License | MIT |
| Platforms | linux, macos, windows |
| Tags | cursor, notebook, jupyter, ipynb, data-science |
| Related skills | jupyter-live-kernel, cursor-capabilities-bridge |
Reference: full SKILL.md
信息
The following is the complete skill definition that VibeOS loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
Cursor Notebook Bridge
Cursor’s EditNotebook tool edits .ipynb cells in the IDE. VibeOS has no
separate notebook core tool — use skill jupyter-live-kernel (execute/edit
via JupyterLab API) or edit the JSON with read_file / patch when offline.
When to Use
- User asks to edit/run notebook cells “как EditNotebook в Cursor”
- Data-science loops that need a live kernel
- Small
.ipynbtext fixes without a running server
Prerequisites
- For live kernel: JupyterLab installed (
uv tool install jupyterlab) - Skill
jupyter-live-kernelscripts available (bundled under data-science) - Offline fallback: file tools only
How to Run
Live kernel (preferred)
Follow jupyter-live-kernel: start JupyterLab, then:
# Discover / execute / edit (paths from that skill’s scripts/)
uv run <jupyter_live_kernel.py> notebooks --compact
uv run <jupyter_live_kernel.py> execute --path notebook.ipynb --code 'print(1)' --compact
uv run <jupyter_live_kernel.py> edit --path notebook.ipynb replace-source \
--cell-id <id> --source 'x = 1' --compact
Offline JSON edit
read_filethe.ipynb.- Change
cells[i].sourcecarefully (keep valid JSON). - Prefer
patchover rewriting the whole file. - Do not invent outputs — clear or leave existing outputs unless asked.
Quick Reference
| Cursor | VibeOS |
|---|---|
| EditNotebook insert/edit | jupyter-live-kernel edit |
| Run cell | jupyter-live-kernel execute |
| No server | read_file + patch on .ipynb |
| New core notebook tool | Do not add — skill path only |
Pitfalls
- Breaking notebook JSON (trailing commas, wrong cell type)
- Running untrusted notebook code without user intent
- Adding a core
notebook_*tool (footprint) when the skill already covers it
Verification
- Cell source updated; notebook still opens in Jupyter / VS Code
- Execute path returns stdout for a trivial
print