Official agent skill

Openai Jupyter Notebook

by trailofbits in trailofbits/skills-curated

A skill your agent uses when the user asks to create, scaffold, or edit Jupyter notebooks (.ipynb) for experiments, explorations, or tutorials; prefer the bundled templates and run the helper script…

OfficialCC-BY-SA-4.0Auto-check: notesData & Analytics

Install Openai Jupyter Notebook

skills CLI
$ npx skills add trailofbits/skills-curated --skill openai-jupyter-notebook -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install trailofbits/skills-curated openai-jupyter-notebook --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/trailofbits/skills-curated.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/openai-jupyter-notebook/skills/openai-jupyter-notebook .claude/skills/openai-jupyter-notebook && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
openai-jupyter-notebook
GitHub stars
513
Token cost
~1k tokens
SKILL.md length
402 words
Files
6 (incl. scripts, references)
Skills in repo
24
Repo updated
First seen
Licence
CC-BY-SA-4.0

At a glance

A skill your agent uses when the user asks to create, scaffold, or edit Jupyter notebooks (.ipynb) for experiments, explorations, or tutorials; prefer the bundled templates and run the helper script…

  • The user asks to create
  • SKILL.md covers When to use, Decision tree, Workflow and Templates and helper script, plus 5 more sections
  • Runs Python scripts from its folder; calls uv
  • Edit Jupyter notebooks (.ipynb) for experiments

What it does

Openai Jupyter Notebook is an agent skill from trailofbits/skills-curated, published by the product's own GitHub organization. Use when the user asks to create, scaffold, or edit Jupyter notebooks (.ipynb) for experiments, explorations, or tutorials; prefer the bundled templates and run the helper script newnotebook.py to generate a clean starting notebook. Originally from OpenAI's curated skills catalog.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts and reference files (for example `references/experiment-patterns.md`, `references/notebook-structure.md` and `references/quality-checklist.md`).

It sits in Data & Analytics, covering Jupyter notebooks. It works with Jupyter and OpenAI. The repository describes itself as: Curated, community-vetted Claude Code plugin marketplace. The licence is CC-BY-SA-4.0.

When your agent uses it

  • The user asks to create
  • Edit Jupyter notebooks (.ipynb) for experiments
  • Prefer the bundled templates and run the helper script newnotebook.py to generate a clean starting notebook

Example prompts

  • “/openai-jupyter-notebook”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Bash, Read, Grep, Glob, Write, Edit

What it can do on your machine

Read from SKILL.md and the folder at commit 6d05be4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Grep
    • Glob
    • Write
    • Edit

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Openai Jupyter Notebook loads about 1k tokens when it runs, and up to ~1.7k if it reads all its reference files. Until then it costs about 78 tokens; SKILL.md has 402 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~78
When it runs · the whole SKILL.md, loaded when a task matches
~1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Grep, Glob, Write, Edit

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from trailofbits/skills-curated at commit 6d05be4, republished under its CC-BY-SA-4.0 licence (© trailofbits). 402 words, ~1,020 tokens.

Download SKILL.mdSave it as .claude/skills/openai-jupyter-notebook/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
openai-jupyter-notebook
description
Use when the user asks to create, scaffold, or edit Jupyter notebooks (`.ipynb`) for experiments, explorations, or tutorials; prefer the bundled templates and run the helper script `new_notebook.py` to generate a clean starting notebook. Originally from OpenAI's curated skills catalog.
allowed-tools
Bash, Read, Grep, Glob, Write, Edit

Jupyter Notebook Skill

Create clean, reproducible Jupyter notebooks for two primary modes:

  • Experiments and exploratory analysis
  • Tutorials and teaching-oriented walkthroughs

Prefer the bundled templates and the helper script for consistent structure and fewer JSON mistakes.

When to use

  • Create a new .ipynb notebook from scratch.
  • Convert rough notes or scripts into a structured notebook.
  • Refactor an existing notebook to be more reproducible and skimmable.
  • Build experiments or tutorials that will be read or re-run by other people.

Decision tree

  • If the request is exploratory, analytical, or hypothesis-driven, choose experiment.
  • If the request is instructional, step-by-step, or audience-specific, choose tutorial.
  • If editing an existing notebook, treat it as a refactor: preserve intent and improve structure.

Scripts and references are located under {baseDir}/.

Workflow

  1. Lock the intent. Identify the notebook kind: experiment or tutorial. Capture the objective, audience, and what "done" looks like.

  2. Scaffold from the template. Use the helper script to avoid hand-authoring raw notebook JSON.

bash
uv run --python 3.12 python "$JUPYTER_NOTEBOOK_CLI" \
  --kind experiment \
  --title "Compare prompt variants" \
  --out output/jupyter-notebook/compare-prompt-variants.ipynb
bash
uv run --python 3.12 python "$JUPYTER_NOTEBOOK_CLI" \
  --kind tutorial \
  --title "Intro to embeddings" \
  --out output/jupyter-notebook/intro-to-embeddings.ipynb
  1. Fill the notebook with small, runnable steps. Keep each code cell focused on one step. Add short markdown cells that explain the purpose and expected result. Avoid large, noisy outputs when a short summary works.

  2. Apply the right pattern. For experiments, follow references/experiment-patterns.md. For tutorials, follow references/tutorial-patterns.md.

  3. Edit safely when working with existing notebooks. Preserve the notebook structure; avoid reordering cells unless it improves the top-to-bottom story. Prefer targeted edits over full rewrites. If you must edit raw JSON, review references/notebook-structure.md first.

  4. Validate the result. Run the notebook top-to-bottom when the environment allows. If execution is not possible, say so explicitly and call out how to validate locally. Use the final pass checklist in references/quality-checklist.md.

Show full SKILL.md (128 more words)Show less

Templates and helper script

  • Templates live in assets/experiment-template.ipynb and assets/tutorial-template.ipynb.
  • The helper script loads a template, updates the title cell, and writes a notebook.

Script path:

  • $JUPYTER_NOTEBOOK_CLI (installed default: {baseDir}/scripts/new_notebook.py)

Temp and output conventions

  • Use tmp/jupyter-notebook/ for intermediate files; delete when done.
  • Write final artifacts under output/jupyter-notebook/ when working in this repo.
  • Use stable, descriptive filenames (for example, ablation-temperature.ipynb).

Dependencies (install only when needed)

Prefer uv for dependency management.

Optional Python packages for local notebook execution:

bash
uv pip install jupyterlab ipykernel

The bundled scaffold script uses only the Python standard library and does not require extra dependencies.

Environment

No required environment variables.

Reference map

  • references/experiment-patterns.md: experiment structure and heuristics.
  • references/tutorial-patterns.md: tutorial structure and teaching flow.
  • references/notebook-structure.md: notebook JSON shape and safe editing rules.
  • references/quality-checklist.md: final validation checklist.

When NOT to Use

<!-- TODO: review -->

© trailofbits, CC-BY-SA-4.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (scripts, references) in plugins/openai-jupyter-notebook/skills/openai-jupyter-notebook of trailofbits/skills-curated.

  • SKILL.md
  • references/experiment-patterns.md
  • references/notebook-structure.md
  • references/quality-checklist.md
  • references/tutorial-patterns.md
  • scripts/new_notebook.py

Open the folder on GitHubat commit 6d05be4

Compare with similar skills

Openai Jupyter Notebook next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Openai Jupyter Notebook compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Openai Jupyter Notebook this skilltrailofbits/skills-curated513—~1kAutomated safety check: NotesCC-BY-SA-4.0
Jupyter Notebookmicrosoft/ai-agents-for-beginners77k8 repos~1kAutomated safety check: PassApache-2.0
Notebook For ExperimentJetBrains/intellij-community21k—~4.4kAutomated safety check: WarnCustom licence
Jupyter To Marimoericmjl/llamabot1832 repos~475Automated safety check: PassNone
Nbreviewawdeorio/dotfiles102—~2.2kAutomated safety check: PassNone
Save Research Notebooknapjon/krisk117—~702Automated safety check: PassBSD-3-Clause

Similar skills

  • Jupyter Notebook

    microsoft/ai-agents-for-beginners

    Official

    A skill your agent uses when the user asks to create, scaffold, or edit Jupyter notebooks (.ipynb) for experiments, explorations, or tutorials; prefer the bundled templates and run the helper script…

    77k GitHub starsUsed in 8 repos~1k tokens
    Data & AnalyticsAuto-check passed
  • Notebook For Experiment

    JetBrains/intellij-community

    Official

    Create reproducible Jupyter notebooks for performance experiments.

    21k GitHub stars~4.4k tokensUpdated today
    Data & AnalyticsAuto-check: warnings
  • Jupyter To Marimo

    ericmjl/llamabot

    Convert a Jupyter notebook (.ipynb) to a marimo notebook (.py).

    183 GitHub starsUsed in 2 repos~475 tokens
    Data & AnalyticsAuto-check passed
  • Nbreview

    awdeorio/dotfiles

    This skill should be used when the user asks to "review this notebook", "nbreview", "check my notebook", or otherwise requests a Jupyter notebook review.

    102 GitHub stars~2.2k tokensUpdated 2 days ago
    Data & AnalyticsAuto-check passed
  • Convert a completed data-analysis conversation into evidence-backed, reproducible living research through the Krisk MCP server.

    117 GitHub stars~702 tokensUpdated 8 days ago
    Data & AnalyticsAuto-check passed
  • Jupyter Notebook

    microsoft/ai-agents-for-beginners

    Official

    Kasuta, kui kasutaja palub luua, üles ehitada või redigeerida Jupyteri märkmikke (.ipynb) katsetuste, uurimiste või juhendite jaoks; eelista kaasasolevaid malle ja käivita abiskript newnotebook.py…

    77k GitHub stars~1.2k tokensUpdated 20 days ago
    Data & AnalyticsAuto-check passed

More from trailofbits/skills-curated

All 24 skills in this repo
  • Openai Security Ownership Map

    trailofbits/skills-curated

    Official

    Analyze git repositories to build a security ownership topology (people-to-file), compute bus factor and sensitive-code ownership, and export CSV/JSON for graph databases and visualization.

    513 GitHub starsUsed in 5 repos~2.2k tokens
    Auto-check: notes
  • Openai Doc

    trailofbits/skills-curated

    Official

    A skill your agent uses when the task involves reading, creating, or editing .docx documents, especially when formatting or layout fidelity matters; prefer python-docx plus the bundled…

    513 GitHub starsUsed in 5 repos~786 tokens
    Auto-check: notes
  • Openai Develop Web Game

    trailofbits/skills-curated

    Official

    A skill your agent uses when the agent is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based test script…

    513 GitHub stars~2.3k tokensUpdated 2 mo ago
    Auto-check: notes
  • Openai Playwright

    trailofbits/skills-curated

    Official

    A skill your agent uses when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging) via playwright-cli…

    513 GitHub stars~945 tokensUpdated 2 mo ago
    Auto-check: notes
  • X Research

    trailofbits/skills-curated

    Official

    Searches X/Twitter for real-time perspectives, dev discussions, product feedback, breaking news, and expert opinions using the X API v2.

    513 GitHub stars~1.9k tokensUpdated 2 mo ago
    Auto-check: notes
  • Teach

    trailofbits/skills-curated

    Official

    Teaches the user a new skill or concept over multiple sessions, using the current directory as a stateful teaching workspace with lessons, learning records, and reference materials.

    513 GitHub starsUsed in 27 repos~2.6k tokens
    Auto-check: notes

Works with

Questions about Openai Jupyter Notebook

What does Openai Jupyter Notebook do?

A skill your agent uses when the user asks to create, scaffold, or edit Jupyter notebooks (.ipynb) for experiments, explorations, or tutorials; prefer the bundled templates and run the helper script…. Openai Jupyter Notebook is an agent skill from trailofbits/skills-curated, published by the product's own GitHub organization.py to generate a clean starting notebook.

When should I use Openai Jupyter Notebook?

Openai Jupyter Notebook fits situations like: the user asks to create; edit Jupyter notebooks (.ipynb) for experiments; prefer the bundled templates and run the helper script newnotebook.py to generate a clean starting notebook.

How do I install Openai Jupyter Notebook in Claude Code?

Run `npx skills add trailofbits/skills-curated --skill openai-jupyter-notebook -a claude-code`. Or copy the skill folder (plugins/openai-jupyter-notebook/skills/openai-jupyter-notebook in trailofbits/skills-curated) into .claude/skills/openai-jupyter-notebook in your project. Claude Code loads it when a task matches its description.

How do I install Openai Jupyter Notebook in Codex?

Run `npx skills add trailofbits/skills-curated --skill openai-jupyter-notebook -a codex`. Or copy the skill folder (plugins/openai-jupyter-notebook/skills/openai-jupyter-notebook in trailofbits/skills-curated) into .agents/skills/openai-jupyter-notebook in your project. Codex loads it when a task matches its description.

Can I use Openai Jupyter Notebook in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add trailofbits/skills-curated --skill openai-jupyter-notebook -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/openai-jupyter-notebook, .gemini/skills/openai-jupyter-notebook, .github/skills/openai-jupyter-notebook and .opencode/skills/openai-jupyter-notebook in your project.

What does Openai Jupyter Notebook need to run?

Going by SKILL.md and its folder, Openai Jupyter Notebook needs Python for the scripts in its folder and the command-line tools its instructions call (uv). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Bash, Read, Grep, Glob, Write, Edit.

Does Openai Jupyter Notebook access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Openai Jupyter Notebook safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Openai Jupyter Notebook use?

Openai Jupyter Notebook is published under the CC-BY-SA-4.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Openai Jupyter Notebook use?

About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 671 tokens, read only when the agent opens those files.

What are the alternatives to Openai Jupyter Notebook?

Skills that share tags, products or a category with Openai Jupyter Notebook: Jupyter Notebook (microsoft/ai-agents-for-beginners, 77k stars), Notebook For Experiment (JetBrains/intellij-community, 21k stars), Jupyter To Marimo (ericmjl/llamabot, 183 stars) and Nbreview (awdeorio/dotfiles, 102 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Openai Jupyter Notebook?

trailofbits (a GitHub organization, an official publisher) maintains it in trailofbits/skills-curated, which has 513 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on July 14, 2026.

Source: trailofbits/skills-curated on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.