new-notebook
Creates a Jupyter notebook with Jupytext pairing and registers it in _quarto.yml. Use when adding a new notebook.
npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill new-notebook --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Create New Notebook Create a new Jupyter notebook with Jupytext pairing and register it in the manuscript. ## Arguments - `$ARGUMENTS` — the notebook name and title (e.g., "notebook-02 Regression Analysis") ## Steps 1. Parse the name and title from the arguments. Follow the naming convention: `notebook-NN.ipynb` (sequential numbering) 2. Check `notebooks/` for existing notebooks to determine the next number 3. Create the `.ipynb` file in `notebooks/` with: - The correct kernel (ask user: Python, R, or Stata) - A first code cell with the setup appropriate for the chosen kernel: - **Python:** `import sys; sys.path.insert(0, ".."); from config import set_seeds, DATA_DIR; set_seeds()` - **R:** `source("../config.R"); set_seeds()` - **Stata:** `clear all` followed by `set seed 42` - A markdown cell with the notebook title 4. Create the Jupytext `.md` pair by running: `uv run jupytext --set-formats ipynb,md:myst notebooks/<name>.ipynb` 5. Register the notebook in `_quarto.yml` under `manuscript.notebooks`: ```yaml - notebook: notebooks/<name>.ipynb title: "N<number>: <title>" ``` 6. Confirm the notebook renders: `quarto render notebooks/<name>.ipynb`
- Arguments
- Steps
What does the new-notebook skill do?
Creates a Jupyter notebook with Jupytext pairing and registers it in _quarto.yml. Use when adding a new notebook.
How do I install it?
Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill new-notebook --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From brycewang-stanford/Auto-Empirical-Research-Skills, a repository with 3,244 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.