figures-gallery
Generates an HTML gallery of all project figures with captions and source notebooks. Use when reviewing figures.
npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill figures-gallery --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.
# Generate Figures Gallery Create an HTML gallery page displaying all project figures with their captions and source notebooks. ## Steps 1. Scan `images/` for all image files: - Supported formats: `.png`, `.jpg`, `.jpeg`, `.svg`, `.pdf` - Record each file's name, path, and modification date 2. Scan all registered notebooks (from `_quarto.yml`) for cells with `fig-` labels: - Extract the cell label (e.g., `fig-sample`, `fig-event-study`) - Extract the caption from `#| fig-cap:` or `*| fig-cap:` directives - Record the source notebook path 3. Generate an HTML gallery page with: - A title and generation timestamp - For each figure from `images/`: - Image thumbnail (or placeholder for PDFs) - Filename as caption - File size and dimensions (if determinable) - For each figure from notebooks: - The cell label - The caption (from cell directive) - The source notebook name - The embed shortcode: `{{< embed notebooks/<name>.ipynb#<label> >}}` - Simple CSS styling for a grid layout 4. Save the gallery to `_manuscript/figures-gallery.html` (the `_manuscript/` directory is gitignored, so this output won't be committed). 5. Report: - File path to the gallery - Count of figures from `images/` - C
- Steps
- Error handling
What does the figures-gallery skill do?
Generates an HTML gallery of all project figures with captions and source notebooks. Use when reviewing figures.
How do I install it?
Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill figures-gallery --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.