
Setting Up Reproducible Analysis
Reproducible analysis workspace setup that pins the environment, fixes seeds, and keeps raw data immutable.
- GitHub stars
- 202
- last updated
- Jun 1, 2026
What it does
- Covers the full setup flow: worktree isolation, environment pinning, seed fixing, data provenance, and baseline verification
- Includes step-by-step bash and Python snippets for detecting git worktrees, restoring conda, venv, or renv environments, and checksumming raw data
- Enforces read-only raw data under
data/raw/, with every transform written as a new artifact underdata/derived/ - Designed for analysts and researchers who need results that another person or their future self can reproduce
Install
$ npx -y skills add k-dense-ai/science-superpowers --skill setting-up-reproducible-analysis -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Setting Up a Reproducible Analysis
Overview
Ensure the analysis happens in an isolated workspace that another person (or future you) can reproduce exactly: same code, same environment, same seed, same immutable input data.
Core principle: A result you cannot reproduce is not a result. Set up reproducibility before you run anything.
Announce at start: "I'm using the setting-up-reproducible-analysis skill to set up an isolated, reproducible workspace."
Step 0: Detect Existing Isolation
Before creating anything, check whether you're already in an isolated workspace.
GIT_DIR=$(cd "$(git rev-parse --git-dir)" 2>/dev/null && pwd -P)
GIT_COMMON=$(cd "$(git rev-parse --git-common-dir)" 2>/dev/null && pwd -P)
BRANCH=$(git branch --show-current)
Submodule guard: GIT_DIR != GIT_COMMON is also true in submodules. Verify you're not in one:
git rev-parse --show-superproject-working-tree 2>/dev/null
If GIT_DIR != GIT_COMMON (and not a submodule): already in a linked worktree. Skip to Step 2 (Environment). Don't create another.
Details
- Repository
- github.com/k-dense-ai/science-superpowers
- First seen
- Jun 11, 2026
More from k-dense-ai/science-superpowers
All 15- Subagent Driven Analysis
- Surveying Prior Work
- Using Science Superpowers
- Verifying Results Before Claiming
- Writing Science Skills
- Designing The Analysis
- Dispatching Parallel Investigations
- Executing Analysis
- Framing Research Questions
- Investigating Anomalous Results
- Preregistering Analysis
- Receiving Critical Review
- Reporting And Archiving Findings
- Requesting Red Team Review
Similar to Setting Up Reproducible Analysis
cavemanjuliusbrussee/caveman630.7K installsUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels
grill-memattpocock/skills1.6M installsA relentless interview to sharpen a plan or design.
improveshadcn/improve42.5K installsSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s
systematic-debuggingobra/superpowers336.3K installsUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes
karpathy-guidelinesforrestchang/andrej-karpathy-skills17.9K installsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.
find-skillsvercel-labs/skills4.4M installsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int