nbdev-editing

nbdev-editing is a skill for Claude Code from AnswerDotAI/skill-plugins. It costs 130 tokens per session (853 once invoked), scanned A, original, Apache-2.0.

Editing guidance for nbdev projects, where Jupyter notebooks are the source files from which Python code and documentation are generated. It explains how to work safely with notebooks, tests, and exported files.

In plain words
What is it for?
Use it before changing code, tests, or documentation in an nbdev repository, especially when the project uses notebooks in an nbs/ directory.
Why use it?
It helps prevent changes from being lost or overwritten by nbdev's export process. It also makes clear which files are authoritative and which are generated.

Skill for Claude Code

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

Part of the claude-aai plugin — 5 skills shipped together

Good fit Use it before changing code, tests, or documentation in an nbdev repository, especially when the project uses notebooks in an nbs/ directory.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/answerdotai/skill-plugins/nbdev-editing
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 AnswerDotAI/skill-plugins --skill nbdev-editing
Clone the repo
git clone --depth 1 https://github.com/AnswerDotAI/skill-plugins

Made for: Claude Code.

Or install claude-aai, the plugin that ships this one along with the rest of its 5 skills.

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 nbdev-editing

README.md
[![agentmods](https://agentmods.dev/badge/skills/answerdotai/skill-plugins/nbdev-editing/github.svg)](https://agentmods.dev/skills/answerdotai/skill-plugins/nbdev-editing)
Your own site
<a href="https://agentmods.dev/skills/answerdotai/skill-plugins/nbdev-editing"><img src="https://agentmods.dev/badge/skills/answerdotai/skill-plugins/nbdev-editing/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 nbdev-editing

Your own site · 80×15
<a href="https://agentmods.dev/skills/answerdotai/skill-plugins/nbdev-editing"><img src="https://agentmods.dev/badge/skills/answerdotai/skill-plugins/nbdev-editing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 130 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 853 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.00130 $0.00853
Opus 5.5 $0.00052 $0.00341
Sonnet 5.5 $0.00026 $0.00171
Haiku 4.5 $0.00013 $0.00085

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

Security

Grade A, and why

nbdev-editing 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 1mo 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/claude-aai/skills/nbdev-editing/SKILL.md · 30 lines

How it starts

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

Editing nbdev Projects

First read and use the persistent-python skill - it is a must: all work here happens in that kernel using the pyskills-registered tooling, and its rules (reprs, doc(...) inspection, raw strings) are assumed, not repeated. Style and testing process follow the coding-patterns skill, also assumed.

The substance lives in the pyskill docs - read both (free doc() cells) before working:

  • doc(nbdev.skill): notebook authoring - the source-of-truth/export model, mixed notebook/plain projects, narrative rhythm, examples-as-docs, directives, state flow. Read before writing or reviewing any notebook content.
  • doc(llmsurgery.dlgskill): reading, searching, and editing notebooks - see its "Idiomatic usage" section. clikernel's own docs cover the nbdev-specific kernel rules (shell nbdev-export/nbdev-test, restart after export, %nbrun red-green).

nbdev v3

Everything here is on nbdev v3 (released Jan 2026, likely after your training cutoff). Key user-visible changes from v2: config moved from settings.ini to pyproject.toml - standard metadata in [project], nbdev-specific keys in [tool.nbdev] (defaults now nbs_path='nbs', doc_path='_docs'), version in __init__.py exposed via dynamic = ["version"], and _modidx registered under [project.entry-points.nbdev]. CLI commands use hyphens, not underscores (nbdev-export, nbdev-test, nbdev-readme, ...), though the Python functions keep underscores (nbdev_export). GitHub workflows use the v3 actions (fastai/workflows/nbdev3-ci, quarto-ghp3).

Environment specifics

  • Most ipynb files are fine to nbdev-test, but some are slow or require API keys, so plan to run nbdev-test on the changed notebook when done making changes, but check with Jeremy first before you actually do it. Once you know an ipynb or project is safe to run, go ahead without checking as needed (known safe: all of pyskills).
  • Tests use the fastcore.test helpers (test_eq, expect_fail, ...) in plain code cells.
  • from fastcore.utils import * in an early cell already provides os, Path, etc. - don't re-import those later.
  • For project-level questions, read nbs/index.ipynb, not README.md: the README is generated from it, renders worse (no cell ids, flattened outputs), and can be stale if regeneration lagged. They should match; when they don't, index.ipynb is the truth. Regen with nbdev-readme after editing it.

Read the full file on GitHub · 30 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. 1mo ago First seen · 30 lines · 0 tokens per session scan A 2447ee404a5f

Subscribe to this mod's changes

nbdev-editing is a skill published in the GitHub repository AnswerDotAI/skill-plugins (5 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 130 tokens to every session and 853 once invoked, about $0.0005 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

Other skills, from other repositories

matlab

Builds, reviews, migrates, and plans MATLAB or GNU Octave numerical workflows. Use for arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 44 tokens

pennylane

Builds and differentiates PennyLane quantum circuits, hybrid PyTorch or JAX models, molecular VQE and QAOA workflows. Use for variational quantum algorithms, quantum machine learning, simulator validation, and moving validated circuits to provider plugins. For hardware-specific compilation use qiskit or cirq; for…

K-Dense-AI/scientific-agent-skills · 74 tokens

rocm-kernels

Provides guidance for writing and benchmarking optimized Triton kernels for AMD GPUs (MI355X, R9700) on ROCm, targeting HuggingFace diffusers (LTX-Video, SD3, FLUX) and transformers. Core kernels: RMSNorm, RoPE 3D, GEGLU, AdaLN. Includes XCD swizzle, autotune, diffusers integration patterns, and LTX-Video pipeline…

huggingface/kernels · 93 tokens

holoscan-install-wheel

Install Holoscan SDK Python wheel via pip into a venv. Use for Python installs; not for native C++/apt or Conda installs.

NVIDIA/skills · 37 tokens

typing-exclusion-worker

Python typing exclusion worker: remove assigned mypy exclusion modules in small scoped batches, fix typing issues, run validation, and produce a structured completion summary. Use when running parallel typing-debt workers or when asked to remove modules from pyproject mypy exclusion overrides.

getsentry/skills · 57 tokens

python

Python development with ruff, mypy, pytest - TDD and type safety.

alinaqi/maggy · 18 tokens