Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add YoungjaeDev/my-claude-plugins --skill edit-notebookgit clone --depth 1 https://github.com/YoungjaeDev/my-claude-pluginsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/youngjaedev/my-claude-plugins/edit-notebook)<a href="https://agentmods.dev/skills/youngjaedev/my-claude-plugins/edit-notebook"><img src="https://agentmods.dev/badge/skills/youngjaedev/my-claude-plugins/edit-notebook/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/youngjaedev/my-claude-plugins/edit-notebook"><img src="https://agentmods.dev/badge/skills/youngjaedev/my-claude-plugins/edit-notebook.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00067 | $0.00532 |
| Opus 5.5 | $0.00027 | $0.00213 |
| Sonnet 5.5 | $0.00013 | $0.00106 |
| Haiku 4.5 | $0.00007 | $0.00053 |
Grade A, and why
edit-notebook scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 24d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Notebook Editing
Edit .ipynb files through a structure-aware path, never as raw text. Three edit modes, and the user runs the cells.
Tool selection
- Claude Code:
NotebookEditfor every.ipynbchange. - Codex (no
NotebookEdit): a shortnbformatPython snippet that reads, mutates the cells and writes. Detect the interpreter first (python3→python→py -3), since pinning one name breaks either macOS or Windows. - nbformat install: check with
<py> -c "import nbformat"and install on a miss with the same interpreter,<py> -m pip install nbformat. nbformat is not in the stdlib, and a barepipcan target a different environment than the one checked. - Never use
Edit,Write, orBash(sed/cat)on.ipynb.
Cell insertion: track cell_id
NotebookEdit returns the inserted cell's id. Pass it to the next insert so cells land in order:
NotebookEdit(edit_mode="insert", cell_type="code", new_source="...")
-> Returns cell_id='abc123'
NotebookEdit(edit_mode="insert", cell_id="abc123", cell_type="code", new_source="...")
-> Returns cell_id='def456'
NotebookEdit(edit_mode="insert", cell_id="def456", ...)
An insert without cell_id lands at the beginning, so a sequence of them comes out in reverse order.
| Mode | Purpose | cell_id |
|---|---|---|
| replace | Update existing cell | Required |
| insert | Add new cell | Recommended (omit = top insertion) |
| delete | Remove cell | Required |
Execution and verification
NotebookEditedits only and never executes. After adding cells, tell the user: "Please run the cells in Jupyter".- Do NOT use
mcp__ide__executeCode: it corrupts notebook state. - After editing, read the first 30 lines of the notebook to confirm the cell order, and confirm that existing outputs are preserved.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 24d ago Changed · -10 lines · +6 tokens per session b2aeec89a691
- 2mo ago First seen · 54 lines · 61 tokens per session scan A b5c8549ecb53
edit-notebook is a skill published in the GitHub repository YoungjaeDev/my-claude-plugins (2 stars, last pushed 2d ago), licensed MIT. It adds 67 tokens to every session and 532 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.
edit-notebook compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| edit-notebookYoungjaeDev/my-claude-plugins | Skill | 2 | 2d ago | MIT | A | 67 | Claude Code |
| instrument-data-to-allotropeanthropics/knowledge-work-plugins | Skill | 38k | today | Apache-2.0 | A | 123 | Claude Code |
| exploratory-data-analysisK-Dense-AI/scientific-agent-skills | Skill | 59k | 3d ago | MIT | A | 83 | Claude Code |
| matlabK-Dense-AI/scientific-agent-skills | Skill | 59k | 3d ago | MIT | A | 44 | Claude Code |
| phylogeneticsK-Dense-AI/scientific-agent-skills | Skill | 59k | 3d ago | MIT | A | 71 | Claude Code, Codex |
| research-engineerdavila7/claude-code-templates | Skill | 35k | today | MIT | A | 43 | Claude Code, Codex |
| mapping-to-snomedmaziyarpanahi/openmed | Skill | 5.9k | 3d ago | Apache-2.0 | A | 205 | Claude Code |