OpenRuna
Sign in

Anthropic / Claude Code — NotebookEdit

TOOL

Completely replaces the contents of a specific cell in a Jupyter notebook (.ipynb file) with new source. Jupyter notebooks are interactive documents that combine code, text, and visualizations, commonly used for data analysis and scientific computing. The notebook_path parameter must be an absolute path, not a relative path. The cell_number is 0-indexed. Use edit_mode=insert to add a new cell at the index specified by cell_number. Use edit_mode=delete to delete the cell at the index specified by

View on GitHub

Overview

Anthropic / Claude Code — NotebookEdit: a free, copy-ready tool on OpenRuna. Completely replaces the contents of a specific cell in a Jupyter notebook (.ipynb file) with new source. Jupyter notebooks are interactive documents that combine code, te

What this tool does

"Anthropic / Claude Code — NotebookEdit" packages a proven tool so you can skip the trial-and-error of writing one from scratch. Completely replaces the contents of a specific cell in a Jupyter notebook (.ipynb file) with new source. Jupyter notebooks are interactive documents that combine code, text, and visualizations, commonly used for data analysis and scientific computing. The notebook_path parameter must be an absolute path, not a relative path. The cell_number is 0-indexed. Use edit_mode=insert to add a new cell at the index specified by cell_number. Use edit_mode=delete to delete the cell at the index specified by OpenRuna cross-links it to related prompts, agents, and tools, which makes assembling a full workflow around it straightforward. Paste it straight into a chat, drop it into a system prompt, or store it as a reusable skill.

Use cases

  • Keep it in a shared library as the canonical version of this tool for your organisation.
  • Fork it as a baseline and layer in your own project context, constraints, and examples.
  • Reach for it during planning or review sessions when you want consistent, AI-assisted structure.
  • Combine it with related tools and prompts in the same OpenRuna category to build an end-to-end workflow.

Example output

Ask the model to apply "Anthropic / Claude Code — NotebookEdit" to your scenario and it returns a structured answer — clear sections, actionable steps, and assumptions stated upfront — ready to paste into docs, tickets, or code comments. A short follow-up turn usually tightens the result to exactly what you need.

Tips by platform

Claude

Claude works best when you paste this tool up front and ask it to outline its plan before writing. Use the artifact panel to refine structured output turn by turn.

ChatGPT

ChatGPT responds well when you paste this tool and immediately give one concrete example of your input. Use a reasoning-capable model for multi-step work.

Cursor

Cursor users can store this tool as a project rule so Agent mode applies it automatically. Mention it with @ when you want it scoped to a single task.

Frequently asked questions

What is "Anthropic / Claude Code — NotebookEdit"?
It is a tool listed on OpenRuna — Completely replaces the contents of a specific cell in a Jupyter notebook (.ipynb file) with new source. Jupyter notebooks are interactive documents that combine code, text, and visualizations, commonly used for data analysis and scientific computing. The notebook_path parameter must be an absolute path, not a relative path. The cell_number is 0-indexed. Use edit_mode=insert to add a new cell at the index specified by cell_number. Use edit_mode=delete to delete the cell at the index specified by You can copy and adapt it for ChatGPT, Claude, Cursor, or any other AI assistant.
Is "Anthropic / Claude Code — NotebookEdit" free to use?
Most OpenRuna resources are open or CC0-licensed. Check the license shown on this page before commercial use; premium collections are clearly marked as such.
How do I get the best results from this tool?
Replace any placeholders, add your project context, and ask the model to confirm its assumptions first. Iterate over 2–3 follow-up turns rather than expecting a perfect first response.
Does "Anthropic / Claude Code — NotebookEdit" work with both Claude and ChatGPT?
Yes — it is model-agnostic text, so it runs on Claude, ChatGPT, Gemini, and Cursor. The tips on this page cover each of those assistants specifically.
Where can I find resources related to "Anthropic / Claude Code — NotebookEdit"?
Scroll to the Related resources section on this page, or open the matching category hub on OpenRuna to find connected prompts, tools, agents, and datasets in the same topic area.

Related resources