Skip to content
cccskills
FreePublished on GitHub

build-notebook

Build or improve Jupyter notebooks iteratively with quality scoring. Arguments: <new|improve|fix> <path> [--topic] [--domain] [--level] [--quality] [--max-iter]

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md2.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Build Notebook

Create, improve, or fix Jupyter notebooks iteratively.

Action: $ARGUMENTS

Actions

new - Create from scratch

Requires: --topic, --domain (ML, Probas, GenAI, GameTheory, SymbolicAI, Sudoku, Search), --level (intro, intermediate, advanced)

improve - Enhance existing notebook

Requires: notebook path, optional --quality (0-100, default 90), --focus (execution, pedagogy, content, structure)

fix - Correct execution errors

Requires: notebook path, optional --max-iter (default 5)

Iterative Workflow

while iteration < max_iterations and score < quality_target:
    1. Execute notebook (notebook-executor agent)
    2. Validate all aspects (notebook-validator agent)
    3. Plan corrective actions (prioritized by severity)
    4. Apply via appropriate sub-agent (enricher, cell-iterator, cleaner)
    5. Re-validate and measure improvement

Quality Scoring

CategoryWeightCriteria
Structure15%Valid JSON, metadata, cells
Syntax15%Valid code, markdown, LaTeX
Execution30%No errors, no timeouts
Pedagogy25%Progression, code/markdown ratio, explanations
Content15%Visualizations, formulas, conclusion

Sub-Agents Used

AgentRoleModel
notebook-designerCreate initial structureinherit
notebook-executorRun the notebooksonnet
notebook-validatorEvaluate qualitysonnet
notebook-enricherAdd pedagogical contentsonnet
notebook-cell-iteratorFix specific cellssonnet
notebook-cleanerClean structuresonnet

Model Selection Strategy

  • Use haiku for quick validation checks
  • Use sonnet for enrichment and standard fixes
  • Use sonnet for complex design and orchestration — opus and inherit are never used on po-* posts, except on a lane authorized by name (point 3: myia-po-2024:CoursIA-3) (mandat user 2026-10-10, cf model-delegation.md point 3)

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Cycle 30 min du secrétaire vérificateur myia-po-2026:CoursIA-3. Atteste en tiers, du plus ancien au plus récent, les PRs ouvertes sans dossier valide (chaque READY, une fois lu et approuvé par ai-01, est mergé sans attendre son cycle), et fait circuler l'information sur workspace-CoursIA-3.

The English summary is being prepared. Showing the original description.

jsboige/CoursIA16Updated Oct 20, 2026

Analyze a Slidev deck qualitatively — organ reports (structure, composition) + vision AI on rendered PNGs. Arguments: <deck_id> [--slides 1,5,10]

The English summary is being prepared. Showing the original description.

jsboige/CoursIA16Updated Oct 20, 2026

Detect cell-ordering / enchainement problems in Jupyter notebooks (canonical-order slippage, misplaced or forgotten cells). Arguments: [target] [--severity HIGH|MED|LOW] [--json]

The English summary is being prepared. Showing the original description.

jsboige/CoursIA16Updated Oct 20, 2026

Clean up and reorganize markdown in enriched Jupyter notebooks. Arguments: [target] [--dry-run] [--aggressive] [--hierarchy-only]

The English summary is being prepared. Showing the original description.

jsboige/CoursIA16Updated Oct 20, 2026

Cycle de coordination ai-01 (coordinateur UNIQUEMENT — jamais sur un worker). Lit memoire + dashboards + inbox + GitHub, merge les PRs pretes, tranche les design-gates, dispatche des grains par lane, reporte. Arguments: [--dispatch] [--focus <topic>]

The English summary is being prepared. Showing the original description.

jsboige/CoursIA16Updated Oct 20, 2026

Cycle horaire du coordinateur adjoint myia-po-2025:CoursIA-2. Réduit la file, répond aux ASK CoursIA-2, publie des preflights COMMENTED et dispatche les lanes CoursIA-2, sans merge ni arbitrage réservé à ai-01.

The English summary is being prepared. Showing the original description.

jsboige/CoursIA16Updated Oct 20, 2026

See all skills by jsboige

Report a problem with this skill