brycewang-stanford/Auto-Empirical-Research-Skills / skills/29-quarcs-lab-project20XXy/dot-claude/skills/env-snapshot
env-snapshot
VerifiedCaptures tool versions, packages, and kernel info as a reproducibility record in notes/. Use when documenting the environment.
Document Environment Snapshot
Capture the full environment state and save it as a reproducibility record.
Steps
-
Gather system and tool versions:
uname -a # OS info quarto --version # Quarto uv --version # uv python3 --version # Python -
Capture Python package versions:
uv pip list # all installed packages with versions -
Capture Jupyter kernel list:
uv run jupyter kernelspec list -
If R is available, capture R session info:
R -e "sessionInfo()" -
If Stata is available, note the version:
which stata # or check nbstata.conf for edition infoRead
~/.config/nbstata/nbstata.confforstata_dirandedition. -
If TeX Live is available:
pdflatex --version | head -1 -
Generate a timestamped Markdown file with all collected information:
# 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 N/A) ## Python Packages | Package | Version | | ------- | ------- | | numpy | x.x.x | | pandas | x.x.x | | ... | ... | ## R Session Info (full sessionInfo() output, or "R not available") ## Stata Packages (ado dir output, or "Stata not available") -
Save to
notes/environment-YYYYMMDD.md(using today's date). -
Report the file path.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |