Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

working-with-notebooks

Skill by pymc-labs

Fixes and validates Jupyter notebooks in the pymc-marketing repository. It covers CI failures, arviz_plots 2.x migration fixes, and updating notebook outputs after source code changes. Written for contributors to pymc-marketing.

  • Score 78
  • 1.3k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install working-with-notebooks

Built from the published package, never by AI.

git clone --depth 1 https://github.com/pymc-labs/pymc-marketing /tmp/pymc-marketing && mkdir -p ~/.claude/skills && cp -r /tmp/pymc-marketing/.claude/skills/working-with-notebooks ~/.claude/skills/working-with-notebooks

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install working-with-notebooks in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill helps debug, fix and validate Jupyter notebooks in the pymc-marketing repository. It describes a mock runner that injects mocked PyMC sampling, so notebooks can be checked for runtime errors without real MCMC. For changes that affect model outputs, it describes re-running notebooks with real sampling using jupyter execute.

The skill lists common failure patterns from arviz_plots 2.x migrations, such as figsize replaced by figure_kwargs and removed rug=True. It also gives an iteration loop, a pre-push checklist with ruff and pre-commit, and steps for reading failed Test Notebooks CI logs. It is aimed at contributors who maintain the example notebooks in pymc-marketing.

Written from the project's SKILL.md and checked against it.

What it can do

  • Mock runnerRuns notebooks with mocked PyMC sampling to catch runtime errors quickly.
  • Real executionRe-runs notebooks with full MCMC using jupyter execute --inplace to refresh outputs.
  • Failure pattern catalogueLists arviz_plots 2.x fixes such as figsize to figure_kwargs and removed az.plot_density.
  • CI failure triageShows how to find the failing notebook and cell in Test Notebooks job logs.
  • Pre-push checklistLists ruff, format and pre-commit checks to run before pushing notebook changes.
  • Release re-executionGives a per-notebook workflow for re-executing notebooks for a release.
  • Sandbox figure iterationTweaks plot code with mock data in standalone scripts instead of re-running notebooks.

What you need

  • Python with uv
  • Jupyter
  • ruff, mypy and pre-commit
  • GitHub CLI (gh) for CI logs

Try asking

  • Run the mock runner on mmm_example.ipynb and fix any errors it reports
  • Fix the figsize error in this plot_forest call using figure_kwargs
  • Find the failing cell in the latest Test Notebooks CI run for clv

Good to know

  • Real execution with full MCMC can take minutes per notebook.
  • The mock runner checks for runtime errors but does not run real sampling.
  • The failure patterns are specific to arviz_plots 2.x migrations.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/working-with-notebooks/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to working-with-notebooks

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

working-with-notebooks: common questions

What is the mock runner for pymc-marketing notebooks?

The mock runner injects mocked PyMC sampling into notebooks so they can be checked for runtime errors without real MCMC. The skill says to run it before pushing any notebook change.

When should notebooks be executed for real?

Real execution is recommended when source code changes affect model outputs, such as model fixes or new return types. Notebooks are re-run with jupyter execute --inplace to generate updated output cells.

Which arviz_plots changes does this skill cover?

It lists fixes for arviz_plots 2.x changes, including plot_dist and plot_forest kwarg changes, the PlotCollection return type, and az.plot_density removal.

How do I install working-with-notebooks?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is working-with-notebooks free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is working-with-notebooks safe to use?

It scores 78 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to working-with-notebooks?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

working-with-notebooks Install

Add to stack

Loading.