notebook-standards

notebook-standards is a skill for Claude Code from stellarshenson/claude-code-plugins. It costs 198 tokens per session (3,090 once invoked), scanned A, original, MIT.

A set of standards for creating and modifying Jupyter notebooks, which combine code, explanations, and results in one document. It defines notebook sections, imports, GPU selection, colors, charts, equations, dataframes, and progress indicators.

In plain words
What is it for?
Use it when writing or changing data-science and machine-learning notebooks that need consistent structure, visual output, hardware setup, and reproducible practices.
Why use it?
It removes guesswork about how notebooks should be organized and presented. It also provides a checklist so changes can be checked against the project's rules.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the datascience plugin — 20 skills, 15 commands shipped together

Good fit Use it when writing or changing data-science and machine-learning notebooks that need consistent structure, visual output, hardware setup, and reproducible practices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/stellarshenson/claude-code-plugins/notebook-standards
Install

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.

Any agent
npx skills add stellarshenson/claude-code-plugins --skill notebook-standards
Clone the repo
git clone --depth 1 https://github.com/stellarshenson/claude-code-plugins

Made for: Claude Code.

Or install datascience, the plugin that ships this one along with the rest of its 20 skills, 15 commands.

Wrote 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.

agentmods badge for notebook-standards

README.md
[![agentmods](https://agentmods.dev/badge/skills/stellarshenson/claude-code-plugins/notebook-standards/github.svg)](https://agentmods.dev/skills/stellarshenson/claude-code-plugins/notebook-standards)
Your own site
<a href="https://agentmods.dev/skills/stellarshenson/claude-code-plugins/notebook-standards"><img src="https://agentmods.dev/badge/skills/stellarshenson/claude-code-plugins/notebook-standards/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.

agentmods 80×15 button for notebook-standards

Your own site · 80×15
<a href="https://agentmods.dev/skills/stellarshenson/claude-code-plugins/notebook-standards"><img src="https://agentmods.dev/badge/skills/stellarshenson/claude-code-plugins/notebook-standards.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 198 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,090 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00198 $0.03090
Opus 5.5 $0.00079 $0.01236
Sonnet 5.5 $0.00040 $0.00618
Haiku 4.5 $0.00020 $0.00309

Measured 3mo ago against content hash f190780757e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

notebook-standards 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 3mo 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.

plugins/datascience/skills/notebook-standards/SKILL.md · 170 lines

How it starts

The opening of the file, as written. The whole thing — 170 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Notebook Structure Standards

Patterns for Jupyter notebook creation.

Checklist task (MANDATORY when the notebook changes)

Writing or modifying a notebook - TaskCreate one task BEFORE the first cell, carrying the checklist inside it:

  • subject - Verify <notebook path> against post-write checklist
  • description - the Post-write checklist at the end of this file, verbatim, all 17 boxes
  • activeForm - Verifying notebook against standards

Complete it only once every box is ticked or explicitly n/a.

  • Description carries the boxes so this file need not stay in context - a long build fills the window and gets compacted, taking the checklist with it; TaskGet returns the description on demand
  • Register up front, never at the end - the checklist sits at the end of this file, exactly where an agent deep in a build never returns. An open task survives the whole build; a rule below the fold does not
  • Only when the notebook changes - a question about a rule (a colormap, an equation form, a colour name) writes no notebook and creates no task
  • One task, not one per box - the 17 boxes are its definition of done

Mandatory Section Order

  1. Header - mandatory title + author + date + purpose, then an optional problem-specific menu (see below)
  2. GPU Selection - CUDA_VISIBLE_DEVICES before any torch/tf/jax import
  3. Imports - one cell, grouped, inline comments, autoreload
  4. Reproducibility - set_seed(42) for random, numpy, torch
  5. Configuration - hyperparameters in one cell, inline comments, Rich render at the end
  6. Data Loading
  7. Model/Processing
  8. Execution (training, inference)
  9. Save/Export
  10. Evaluation/Summary

Header (first markdown cell)

Orients the reader and doubles as the notebook's own overview, so the Header needs no separate one. Title, author, date and purpose are mandatory; the rest is a menu - pick what fits, drop what does not. Mirrorable template: examples/header-cell.md.

Read the full file on GitHub · 170 lines

Changes

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.

  1. 3mo ago First seen · 170 lines · 198 tokens per session scan A f190780757e0

Subscribe to this mod's changes

notebook-standards is a skill published in the GitHub repository stellarshenson/claude-code-plugins (3 stars, last pushed 3d ago), licensed MIT. It adds 198 tokens to every session and 3,090 once invoked, about $0.0008 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-08-31.

Related

notebook-standards compared with skills from other repositories

notebook-standards next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
notebook-standardsstellarshenson/claude-code-pluginsSkill33d agoMITA198Claude Code
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill37ktodayApache-2.0A123Claude Code
matlabK-Dense-AI/scientific-agent-skillsSkill59k2d agoMITA44Claude Code
exploratory-data-analysisK-Dense-AI/scientific-agent-skillsSkill59k2d agoMITA83Claude Code
phylogeneticsK-Dense-AI/scientific-agent-skillsSkill59k2d agoMITA71Claude Code, Codex
research-engineerdavila7/claude-code-templatesSkill35ktodayMITA43Claude Code, Codex
mapping-to-snomedmaziyarpanahi/openmedSkill5.9k2d agoApache-2.0A205Claude Code