notebook-ai-agents-skill

Orchestrate and validate narrative-first notebooks with Pixi environments and nbclient execution.

7|1|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/fmschulz/omics-skills --skill notebook-ai-agents-skill
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: notebook-ai-agents-skill
Source: https://github.com/fmschulz/omics-skills/tree/main/skills/notebook-ai-agents-skill
Command: npx skills add https://github.com/fmschulz/omics-skills --skill notebook-ai-agents-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires nbclient, nbformat, and includes scripts (resource) components.

What problem does it solve?

Building reproducible, narrative-first notebooks is hard when environments drift, code runs are non-deterministic, and sharing results lacks an end-to-end verification gate. This skill provides a structured approach to authoring notebooks that load data reproducibly, use per-directory Pixi environments, and validate run-all execution.

Core Features & Use Cases

  • Narrative-first notebook structure with Markdown-guided code cells.
  • Per-directory Pixi environments to ensure reproducible kernels.
  • DuckDB-backed data loading patterns with project-relative paths.
  • End-to-end validation through scripts/execute_notebook.py for deterministic outcomes.
  • Guidance for plotting and reporting in a consistent style.

Quick Start

Run a full end-to-end validation on a notebook using the included execute_notebook script.

Frequently Asked Questions about notebook-ai-agents-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make reproducible notebooks with deterministic run-all execution?▼

Reproducible notebooks are achieved by enforcing per-directory Pixi environments and running an end-to-end validation script using nbclient. This ensures deterministic outcomes and isolates kernels for each notebook project.

What is the best way to validate notebook execution end-to-end before sharing results?▼

Validating notebook execution end-to-end is done using the included scripts/execute_notebook.py. It leverages nbclient to run all cells deterministically, acting as a robust gate to ensure shared results are reproducible.

How do I set up per-project Pixi environments for notebook kernel isolation?▼

Per-project Pixi environments are set up by defining a Pixi configuration in each notebook directory. This isolates kernels and dependencies, ensuring that narrative-first notebooks execute in a controlled, reproducible state.

Does this notebook validation approach work with DuckDB data loading?▼

Yes, notebook validation works with DuckDB data loading by using project-relative paths. The structured approach ensures that data loading patterns remain reproducible when the notebook is executed end-to-end.

Why do my notebook runs fail when environments drift between directories?▼

Notebook runs fail due to environment drift when kernel dependencies are not isolated. Using per-directory Pixi environments resolves this by ensuring each notebook executes within its own deterministic, controlled environment.

Can I use marimo notebooks with nbclient for reproducible execution?▼

The skill focuses on standard notebook formats using nbclient and nbformat for reproducible execution. While marimo is noted, the core validation gate relies on nbclient to ensure deterministic run-all outcomes.