Execute All Notebooks
SkillDev toolsExecutes all registered notebooks, strips noisy cell metadata, and syncs Jupytext pairs. Use when asked to re-run notebooks or refresh outputs.
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Then ask your AI: use the Execute All Notebooks skill
What this skill tells your AI
The instructions your AI receives, as published by brycewang-stanford/auto-empirical-research-skills in skills/29-quarcs-lab-project20XXy/dot-claude/skills/execute/SKILL.md and read by ahel’s review.
Execute all registered notebooks, strip noisy metadata, and sync Jupytext pairs.
Steps
- Read
_quarto.ymland extract all notebook paths frommanuscript.notebooks - For each notebook, execute it:
Record execution time and success/failure for each notebook.uv run jupyter execute --inplace notebooks/<name>.ipynb - After all notebooks execute, strip noisy cell metadata from every
.ipynbfile. Open each.ipynbas JSON and remove these keys from every cell'smetadataobject:execution(timestamps added byjupyter execute)_sphinx_cell_id(MyST/Sphinx artifact)vscode(VS Code editor state) Save the cleaned JSON back to the file (preserve formatting with 1-space indent).
- Sync all Jupytext
.mdpairs:uv run jupytext --sync notebooks/<name>.md - Report a summary table:
- Notebook name
- Status (success / failure)
- Execution time
- Any errors or warnings
Error handling
- If a notebook fails to execute, continue with the remaining notebooks. Report the error at the end.
- If
_quarto.ymlhas no notebooks registered, report "No notebooks found in _quarto.yml" and stop.
Signals
- GitHub stars
- 4k
- Forks
- 531
- Last commit
- Sep 2026
- Hacker News mentions
- 20
Advanced
- Item type
- skill
- Key
execute-brycewang-stanford- Source
- github.com/brycewang-stanford/auto-empirical-research-skills