一键导入
execute-notebook
Execute Jupyter notebooks using local scripts or MCP Jupyter. Arguments: <notebook_path> [--mode] [--cells] [--timeout] [--batch] [--save]
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Execute Jupyter notebooks using local scripts or MCP Jupyter. Arguments: <notebook_path> [--mode] [--cells] [--timeout] [--batch] [--save]
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Detect cell-ordering / enchainement problems in Jupyter notebooks (canonical-order slippage, misplaced or forgotten cells). Arguments: [target] [--severity HIGH|MED|LOW] [--json]
Resume multi-agent coordination session. Reads memory, RooSync inbox, GitHub issues, and produces a situational briefing with recommended actions. Arguments: [--dispatch] [--focus <topic>] [--reply-all]
Iterate on a GenAI notebook against the self-hosted stack via the genai-stack CLI (config dirs, auth, subdomains, quantization, GPU/VRAM). Arguments: <notebook|service> [--service comfyui|forge|vllm] [--quant int4|fp8] [--validate] [--bg]
Train an ML model in the QuantConnect ML-Training-Pipeline with thermal-safe GPU usage and rigorous validation. Arguments: <architecture|script> [--dry-run] [--seeds 0,1,7,42,99] [--folds 5] [--bg]
Execute iterative improvement workflow for QuantConnect strategies. Arguments: [strategy|issue#] [--iterations=N] [--no-backtest] [--commit]
Review and merge student exercise PRs during TP sessions. Arguments: <repo-url> [--class <class-id>] [--timeslot <HH:MM-HH:MM>] [--dry-run]
| name | execute-notebook |
| description | Execute Jupyter notebooks using local scripts or MCP Jupyter. Arguments: <notebook_path> [--mode] [--cells] [--timeout] [--batch] [--save] |
Execute a Jupyter notebook with full lifecycle management.
Notebook: $ARGUMENTS
--mode: full (default), selective, papermill--cells: Specific cells (e.g., 0,5,10)--timeout: Per-cell timeout in seconds (default 300)--stop-on-error: Halt on first error--batch: Enable BATCH_MODE for interactive notebooks--save: Save outputs to original notebookLocal scripts (preferred for batch):
# Full execution via notebook_tools.py
python scripts/notebook_tools/notebook_tools.py execute {path} --timeout 300
# Cell-by-cell with verbose output via notebook_helpers.py
python scripts/notebook_tools/notebook_helpers.py execute {path} --verbose
# Specific cell execution
python scripts/notebook_tools/notebook_helpers.py execute {path} --cell 5 --timeout 60
MCP (for interactive debugging):
manage_kernel(action="start", kernel_name="python3") + execute_on_kernelSetCurrentDirectory()mcp-jupyter skill for detailed .NET patterns.env configuration first (use /validate-genai)--batch for notebooks with interactive widgetspython scripts/genai-stack/validate_notebooks.py| Error | Cause | Solution |
|---|---|---|
| Kernel timeout | .NET cold start | Retry (30-60s normal) |
| File not found | Wrong directory | SetCurrentDirectory() |
| ModuleNotFoundError | Missing dependency | pip install |
| API key missing | .env not configured | Check OPENAI_API_KEY etc. |
Report: notebook name, kernel, mode, total/executed/successful/error cells, timing, error details.