Verify notebooks

From jsboige/CoursIA · View interactive version

Verify notebooks is an AI agent skill from the GitHub repository jsboige/CoursIA. Verify and test Jupyter notebooks with iterative fixing. Arguments: [target] [--quick] [--fix] [--python-only] [--dotnet-only]

How to use this skill

Skill file

Verify Notebooks

Verify and test Jupyter notebooks in the CoursIA repository.

Target: $ARGUMENTS

Arguments

Process

  1. Parse target - Determine individual file, family, or all
  2. Discover notebooks - Use python scripts/notebook_tools/notebook_tools.py validate {target} --quick for rapid discovery and structure check
  3. Categorize by kernel - python scripts/notebook_tools/notebook_helpers.py detect-kernel {path}
  4. Execute tests:
  1. Analyze errors - python scripts/notebook_tools/notebook_helpers.py list {path} --verbose to inspect failed cells
  2. If --fix: Use notebook-cell-iterator agent (model: sonnet) for targeted cell corrections (max 3 attempts)
  3. Generate summary report

Family Reference

| Family | Path | Kernel | Notes |

|--------|------|--------|-------|

| Sudoku | Sudoku/ | Mixed | C# (#!import, cell-by-cell only) + Python, one twin per notebook |

| Search | Search/ | Mixed | GeneticSharp=C#, PyGad=Python |

| SymbolicAI | SymbolicAI/ | Mixed | Tweety=Python+JPype |

| GenAI | GenAI/ | Python | API keys required, use /validate-genai first |

| Probas | Probas/ | .NET C# | Infer.NET |

| GameTheory | GameTheory/ | Python (WSL) | OpenSpiel |

| Lean | SymbolicAI/Lean/ | Lean 4 / Python (WSL) | WSL kernels |

GenAI-Specific

For GenAI notebooks, use dedicated scripts:

python scripts/genai-stack/validate_stack.py
python scripts/genai-stack/validate_notebooks.py MyIA.AI.Notebooks/GenAI/Image/

Use /validate-genai to validate the stack before running notebooks.

Known Limitations

  1. Widgets/interactive notebooks cannot run in batch mode
  2. GenAI notebooks require GPU for some operations
  3. .NET cold start may timeout initially (30-60s), retry once
  4. External services (DBpedia, etc.) may be unavailable
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.