agentsclimarketplace

Execute

Skill brycewang-stanford/Auto-Empirical-Research-Skills/skills/29-quarcs-lab-project20XXy/dot-claude/skills/execute

Executes all registered notebooks, strips noisy cell metadata, and syncs Jupytext pairs. Use when asked to re-run notebooks or refresh outputs.From its SKILL.md

Install
npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill execute

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

1.4 KB, 308 tokens by cl100k_base, as published. Nobody here has run it

Execute All Notebooks

Execute all registered notebooks, strip noisy metadata, and sync Jupytext pairs.

Steps

  1. Read _quarto.yml and extract all notebook paths from manuscript.notebooks
  2. For each notebook, execute it:
    uv run jupyter execute --inplace notebooks/<name>.ipynb
    
    Record execution time and success/failure for each notebook.
  3. After all notebooks execute, strip noisy cell metadata from every .ipynb file. Open each .ipynb as JSON and remove these keys from every cell's metadata object:
    • execution (timestamps added by jupyter 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).
  4. Sync all Jupytext .md pairs:
    uv run jupytext --sync notebooks/<name>.md
    
  5. 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.yml has no notebooks registered, report "No notebooks found in _quarto.yml" and stop.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,144. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.