Captures tool versions, packages, and kernel info as a reproducibility record in notes/.

Custom licenceAuto-check: notesResearch & Science

Install Env Snapshot

skills CLI
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill env-snapshot -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install brycewang-stanford/Auto-Empirical-Research-Skills env-snapshot --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/29-quarcs-lab-project20XXy/dot-claude/skills/env-snapshot .claude/skills/env-snapshot && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
env-snapshot
GitHub stars
4.5k
Token cost
~504 tokens
SKILL.md length
83 words
Files
1
Skills in repo
383
Repo updated
First seen
Licence
Custom licence

At a glance

Captures tool versions, packages, and kernel info as a reproducibility record in notes/.

  • Works in 9 steps: Gather system and tool versions → Capture Python package versions → Capture Jupyter kernel list → …
  • Documenting the environment
  • Calls uv and python3
  • Tasks that involve Reproducible research

What it does

Env Snapshot is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Captures tool versions, packages, and kernel info as a reproducibility record in notes/. Use when documenting the environment.

Its SKILL.md is about 500 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Research & Science, covering Reproducible research. The repository describes itself as: 🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI…

When your agent uses it

  • Documenting the environment
  • Tasks that involve Reproducible research

Example prompts

  • “Use the env-snapshot skill to capture tool versions, packages, and kernel info as a reproducibility record in notes/”
  • “/env-snapshot”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Bash, Read, Write, Glob, Grep

Workflow steps

9 steps, taken from the first numbered list in SKILL.md.

  1. Gather system and tool versions
  2. Capture Python package versions
  3. Capture Jupyter kernel list
  4. If R is available, capture R session info
  5. If Stata is available, note the version
  6. If TeX Live is available
  7. Generate a timestamped Markdown file with all collected information
  8. Save to notes/environment-YYYYMMDD.md (using today's date).
  9. Report the file path.

What it can do on your machine

Read from SKILL.md and the folder at commit 9fa87d8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Write
    • Glob
    • Grep

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • uv
    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Env Snapshot loads about 504 tokens when it runs. Until then it costs about 35 tokens; SKILL.md has 83 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~35
When it runs · the whole SKILL.md, loaded when a task matches
~504

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Write, Glob, Grep

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 83 words (~504 tokens).

“Capture the full environment state and save it as a reproducibility record.”

— opening of SKILL.md by brycewang-stanford, Custom licence
name
env-snapshot
allowed-tools
Bash, Read, Write, Glob, Grep

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/29-quarcs-lab-project20XXy/dot-claude/skills/env-snapshot of brycewang-stanford/Auto-Empirical-Research-Skills.

Open the folder on GitHubat commit 9fa87d8

Compare with similar skills

Env Snapshot next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Env Snapshot compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Env Snapshot this skillbrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~504Automated safety check: NotesCustom licence
Peer ReviewK-Dense-AI/claude-scientific-writer2.4k2 repos~3.1kAutomated safety check: NotesMIT
CHARLS Paper Reproduction Guidexjtulyc/MedgeClaw6171 repos~1.8kAutomated safety check: PassNone
Compute Environment Setupaipoch/open-science5.5k—~2.6kAutomated safety check: PassApache-2.0
Figure Styleaipoch/open-science5.5k—~5.1kAutomated safety check: PassApache-2.0
Add Bactopia Toolbactopia/bactopia522—~4.1kAutomated safety check: PassMIT

Similar skills

  • Peer Review

    K-Dense-AI/claude-scientific-writer

    Prepare evidence-bounded, constructive peer-review drafts and structured manuscript assessments.

    2.4k GitHub starsUsed in 2 repos~3.1k tokens
    Research & ScienceAuto-check: notes
  • Guides an agent through reproducing papers built on the CHARLS health and retirement survey, from variable mapping to cognition, depression and isolation scores.

    617 GitHub starsUsed in 1 repo~1.8k tokens
    Research & ScienceAuto-check passed
  • Compute Environment Setup

    aipoch/open-science

    Prepares setup instructions and a named activation file for a user-managed software environment on an Open-Science SSH or Slurm compute host.

    5.5k GitHub stars~2.6k tokensUpdated today
    Research & ScienceAuto-check passed
  • Figure Style

    aipoch/open-science

    Publication-grade correctness and legibility rules for final-deliverable scientific figures, not exploratory plots.

    5.5k GitHub stars~5.1k tokensUpdated today
    Research & ScienceAuto-check passed
  • Add Bactopia Tool

    bactopia/bactopia

    Scaffold a complete Bactopia Tool across all three tiers -- module, subworkflow, and workflow entry point under workflows/bactopia-tools/.

    522 GitHub stars~4.1k tokensUpdated 2 mo ago
    Research & ScienceAuto-check passed
  • Modeling Code and Result Contracts

    yushui2022/MathModel-Skill

    Generates result-evidence contracts, tables and runnable q1 to q3 modeling code scaffolds for a math modeling paper from a model route, a data plan and cleaned data.

    453 GitHub stars~1.4k tokensUpdated 2 days ago
    Research & ScienceAuto-check passed

More from brycewang-stanford/Auto-Empirical-Research-Skills

All 383 skills in this repo
  • Aer Consistency

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when auditing a finished or near-finished AER, AER:Insights, or AEJ manuscript for internal consistency: headline numbers across abstract, introduction, results, and tables…

    4.5k GitHub starsUsed in 1 repo~2.6k tokens
    Auto-check passed
  • Latex Paper En

    brycewang-stanford/Auto-Empirical-Research-Skills

    English LaTeX academic paper assistant for existing .tex projects.

    4.5k GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Bayesian Workflow

    brycewang-stanford/Auto-Empirical-Research-Skills

    Opinionated Bayesian modeling workflow with PyMC and ArviZ. An agent skill from brycewang-stanford/Auto-Empirical-Research-Skills.

    4.5k GitHub stars~3.5k tokensUpdated 4 days ago
    Auto-check passed
  • Daily Paper Generator

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when the user asks to "generate daily paper", "search arXiv for EEG papers", "find EEG decoding papers", "review brain-computer interface papers", or wants to create paper…

    4.5k GitHub stars~2.2k tokensUpdated 4 days ago
    Auto-check passed
  • Five Questions

    brycewang-stanford/Auto-Empirical-Research-Skills

    Deeply analyze any empirical economics PDF using the five-question framework (五问框架): research question, identification strategy, core estimand, robustness logic, and scholarly contribution.

    4.5k GitHub stars~1.7k tokensUpdated 4 days ago
    Auto-check: notes
  • Kaggle Research

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when a research task needs reproducible Kaggle discovery, metadata inspection, bounded public-data downloads, competition or kernel discovery, model discovery, or an…

    4.5k GitHub stars~868 tokensUpdated 4 days ago
    Auto-check passed

Questions about Env Snapshot

What does Env Snapshot do?

Captures tool versions, packages, and kernel info as a reproducibility record in notes/. Env Snapshot is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Captures tool versions, packages, and kernel info as a reproducibility record in notes/.

When should I use Env Snapshot?

Env Snapshot fits situations like: documenting the environment; tasks that involve Reproducible research.

How do I install Env Snapshot in Claude Code?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill env-snapshot -a claude-code`. Or copy the skill folder (skills/29-quarcs-lab-project20XXy/dot-claude/skills/env-snapshot in brycewang-stanford/Auto-Empirical-Research-Skills) into .claude/skills/env-snapshot in your project. Claude Code loads it when a task matches its description.

How do I install Env Snapshot in Codex?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill env-snapshot -a codex`. Or copy the skill folder (skills/29-quarcs-lab-project20XXy/dot-claude/skills/env-snapshot in brycewang-stanford/Auto-Empirical-Research-Skills) into .agents/skills/env-snapshot in your project. Codex loads it when a task matches its description.

Can I use Env Snapshot in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill env-snapshot -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/env-snapshot, .gemini/skills/env-snapshot, .github/skills/env-snapshot and .opencode/skills/env-snapshot in your project.

What does Env Snapshot need to run?

Going by SKILL.md and its folder, Env Snapshot needs the command-line tools its instructions call (uv and python3). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Bash, Read, Write, Glob, Grep.

Does Env Snapshot access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Env Snapshot safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Env Snapshot use?

Env Snapshot has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Env Snapshot use?

About 504 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Env Snapshot?

Skills that share tags, products or a category with Env Snapshot: Peer Review (K-Dense-AI/claude-scientific-writer, 2.4k stars), CHARLS Paper Reproduction Guide (xjtulyc/MedgeClaw, 617 stars), Compute Environment Setup (aipoch/open-science, 5.5k stars) and Figure Style (aipoch/open-science, 5.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Env Snapshot?

brycewang-stanford (a GitHub user) maintains it in brycewang-stanford/Auto-Empirical-Research-Skills, which has 4,542 GitHub stars. The repository holds 383 skills in this directory. The repository was last updated on October 5, 2026.

Source: brycewang-stanford/Auto-Empirical-Research-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.