getspur/spurcode/notebook-mcp
Claude Code and agent skill by getspur/spurcode
- community
Checking that the SKILL.md file is still in the repository.
Use when operating, inspecting, editing, running, or navigating a SPUR/Jute notebook through notebook_* MCP tools — before reading .ipynb from disk, asking the user to paste cell code, guessing active_path, or calling cell mutations without expected_version / writer ownership.
Install
npx vskill@latest install getspur/spurcode/notebook-mcpSKILL.md
The same SKILL.md was published earlier as getspur/spurcode/notebook-mcp.
Notebook MCP — Operate Notebooks Through Tools
The notebook daemon owns the open document, kernels, DAG, ports, and recents. Drive it with notebook_* tools only. Inspect binds to active current_path; mutations require the writer-owned session.
Live surface: 64 tools / 10 families (references/tool-surface.md). Ownership (Z3 sat sol_05c0e55474144d27): this skill = orient/mutate/run/catalog-nav/kernel/lifecycle protocol; craft → specialists.
<HARD-GATE>
- Orient first: open notebook →
notebook_context_packbefore answering from state or mutating. Follownext_queries. - No raw `.ipynb` authoring and no "paste this cell" — use
insert_cell/write_cell/edit_cell. - Writer + version: mutations that take
notebook_path/notebook_idmust hit the writer session (wrong_notebookotherwise). Pass currentexpected_version(≥1); on conflict re-read and retry. - Active ≠ writer:
notebook_opensets inspect focus. Mutations do not switch focus.
</HARD-GATE>
Classify → tools
| Question | Sequence | |
|---|---|---|
| Orient / what's here? | open if needed → `context_pack` → follow refs | |
| Full cell / doc | snapshot (truncated) → read_cell; or get_notebook(path) | |
| Data / symbol provenance | catalog / lineage / symbol_search → symbol_refs | |
| Add or change cells | writer target + version → insert / write / edit / delete (+ mutation_id on insert/delete) | |
| Run / refresh DAG | run_cell (one; marks stale) or run_cascade (recomputes downstream) | |
| Ports / language / schedule | set_dag_metadata / set_cell_code_type / set_schedule / set_cell_metadata | |
| API / datasources | prefer navigate_api_* over full dumps → add / status / oauth_connect | |
| Kernel / venv | kernel_info → interrupt/restart/start; js/ts → deno | |
| Spur App package | `app_briefing` first → init / doctor / pack | |
| Visual / deck / data app | escalate open-design / jute-deck-mode / notebook-data-app | |
| NS-Mermaid | spec → check (no publish) → run_cell to prove; explain on errors | |
| Repo code concept | code_semantic_search or code-explore — not cell tools |
Core model
| Concept | Rule | |
|---|---|---|
| active | Daemon path after open/new; powers pack/snapshot/dag/catalog/lineage | |
| writer session | Only writable store; pass matching path or id | |
| expected_version | Optimistic concurrency; always re-read after prior writes | |
| mutation_id | Idempotent insert/delete; same params replay receipt; mismatch → conflict | |
| refs | ds:// cell:// port:// sym:// — carry, never invent | |
| DAG vs transport | produces/consumes schedule only; data via spur.put/get or push_source |
Mutation loop
Prefer edit_cell for small patches on large cells; write_cell for short/full rewrites. Code insert requires code_type; markdown must omit it. Do not write_cell right after insert_cell when insert already had the source.
Families + escalate
Full inventory: references/tool-surface.md.
- Orient: context_pack, snapshot, read_cell, dag_status, catalog, lineage, symbol_*
- Mutate / run: insert/write/edit/delete, set_*, save; run_cell, run_cascade, push_source
- Kernel / lifecycle / API: start/stop/restart, venv_; open/new/reload/recents; navigate_api_, add_api_*
- App / design / NS / code: app_briefing→init/doctor/pack; open_design_; ns_mermaid_; code_semantic_search
Craft skills (do not restate): notebook-data-app (ports/AFM), open-design (visual HTML), jute-deck-mode (slides), code-explore (repo graph). Spur Apps: app_briefing first.
Anti-patterns
| Excuse | Reality | |
|---|---|---|
Read the .ipynb file | Buffer may lead disk — open + pack/read_cell | |
| Skip expected_version / run_cell = whole DAG | Version required; cascade to recompute | |
| ns_mermaid_check / list_api full / open_design tools alone | Check≠prove; navigate>dump; load craft skills |
TL;DR
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcrates/spur-cli/assets/skills/notebook-mcp/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/getspur/spurcode/notebook-mcp)