env-snapshot
Captures tool versions, packages, and kernel info as a reproducibility record in notes/. Use when documenting the environment.
npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill env-snapshot --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.
# Document Environment Snapshot Capture the full environment state and save it as a reproducibility record. ## Steps 1. Gather system and tool versions: ```bash uname -a # OS info quarto --version # Quarto uv --version # uv python3 --version # Python ``` 2. Capture Python package versions: ```bash uv pip list # all installed packages with versions ``` 3. Capture Jupyter kernel list: ```bash uv run jupyter kernelspec list ``` 4. If R is available, capture R session info: ```bash R -e "sessionInfo()" ``` 5. If Stata is available, note the version: ```bash which stata # or check nbstata.conf for edition info ``` Read `~/.config/nbstata/nbstata.conf` for `stata_dir` and `edition`. 6. If TeX Live is available: ```bash pdflatex --version | head -1 ``` 7. Generate a timestamped Markdown file with all collected information: ```markdown # Environment Snapshot — YYYY-MM-DD ## System - OS: ... - Platform: ... ## Tools | Tool | Version | | ---- | ------- | | Quarto | x.x.x | | uv | x.x.x | | Python | 3.12.x | | R | x.x.x (or N/A) | | Stata | SE x.x (or N/A) | | TeX Live | xxxx (or N/A) | ## Jupyter Kernels - python3: /path/to/kernel - ir: /path/to/kernel (or N/A) - nbstata: /path/to/kernel (or
- Steps
uname -a # OS info quarto --version # Quarto uv --version # uv python3 --version # Python uv pip list # all installed packages with versions uv run jupyter kernelspec list R -e "sessionInfo()" which stata # or check nbstata.conf for edition info pdflatex --version | head -1
What does the env-snapshot skill do?
Captures tool versions, packages, and kernel info as a reproducibility record in notes/. Use when documenting the environment.
How do I install it?
Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill env-snapshot --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.