capture-environment
85 / 100 · Low risk
Fine to try.
Snapshot the computational environment for a replication package — detects the analysis stack (R / Stata / Python) and emits the right lockfiles (renv.lock + sessionInfo.txt, requirements.txt / environment.yml / uv.lock, Stata version + ado package list), records seeds and RNG kind, optionally writes a pinning Dockerfile, and produces a paste-ready "Computational requirements" block. Use when user says "capture the environment", "snapshot my dependencies", "pin the versions", "make a renv.lock …
What this skill can do
Downloads and installs other software
Other copies in this repository
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'capture-environment' ] || [ -L ~/.agents/skills/'capture-environment' ]; then echo 'A skill folder named capture-environment already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/pedrohcgs/claude-code-my-workflow' "$d" && git -C "$d" checkout --quiet 'fe7077463c06e6d1572bb6c13d1b00525a4ff28e' -- '.claude/skills/capture-environment' && mkdir -p ~/.agents/skills && cp -R "$d"/'.claude/skills/capture-environment' ~/.agents/skills/'capture-environment' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'capture-environment' ~/.claude/skills/'capture-environment' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/pedrohcgs/claude-code-my-workflow/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-08 | fe70774 | 85 |
| 2026-11-07 | 58bed80 | 45 |