Skip to content
Development
Skill

/reproducible-training-runs

Use when reviewing or modifying ML training scripts that must produce identical results across runs or machines -- runs with the "same" config differ, or a past result must be reconstructed exactly.

From plugin
agent-powerups
8114 skills46 agents54 commands

Claude Code

$ npx -y skills add yeaight7/agent-powerups --skill reproducible-training-runs --agent claude-code

SKILL.md

reproducible-training-runs.SKILL.md
name: reproducible-training-runs
description: Use when reviewing or modifying ML training scripts that must produce identical results across runs or machines -- runs with the "same" config differ, or a past result must be reconstructed exactly.

Purpose

Enforce seed setting, deterministic operations, and environment tracking so a training run can be reproduced exactly.

When to Use

  • Reviewing or modifying a training script that must be deterministic
  • Two runs with the "same" configuration produced different results
  • A past result needs to be reconstructed exactly

Inputs

  • A target Python training script

Workflow

1. **Global seed initialization**: ensure a single function sets seeds for all relevant libraries (`random`, `numpy`, `torch`, `tensorflow`). 2. **Deterministic algorithms**: for PyTorch or TensorFlow, check that deterministic algorithms are enabled (e.g., `torch.use_deterministic_algorithms(True)`). 3. **Data loading**: verify data loaders use deterministic shuffling and that worker processes are seeded correctly to avoid identical augmentations. 4. **Environment & config tracking**: ensure the script logs the exact configuration, dependency versions, and data hashes. 5. **Review first**: point out missing reproducibility guards before rewriting the script. Provide the exact seed-initialization snippet — do not hide side effects.

Output

  • A list of missing reproducibility guards with the exact code snippets to add, plus any performance trade-off warnings

Verification

  • [ ] All library seeds set from one place
  • [ ] Deterministic-algorithm flags enabled (or the gap explicitly accepted)
  • [ ] Loader shuffling and worker seeding deterministic
  • [ ] Configuration, dependency versions, and data hashes logged
  • [ ] User warned if determinism flags significantly slow training

Failure Modes

  • **Partial seeding** — seeding `random` but not the framework or loader workers still yields nondeterminism.
  • **Silent slowdown** — enabling deterministic algorithms can cost real training speed; surface the trade-off instead of hiding it.
  • **Rewriting before reviewing** — changing the script without first listing the gaps loses the audit trail.
Read more
@yeaight7
Ships withagent-powerups

Curated power-ups for coding agents: skills, slash commands, MCP configs, hooks, AGENTS.md templates, and workflows for serious software engineering. Claude Code, Codex, Antigravity CLI, Cursor and more

8114 skills46 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
8
Star history of yeaight7/agent-powerups on GitHub, a chart by star-history.com

Other skills on agent-powerups.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills12d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react3d252k
@facebook@facebookInstall Skill

Questions about reproducible-training-runs.

Which coding agents can use reproducible-training-runs?
reproducible-training-runs installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.