experiment-design
Skill0 starsChanged 6 months agoMITView on GitHub
This skill should be used when the user asks to "design an experiment", "plan an ablation", "set up an A/B test", "how big a sample do I need", "is this result significant", "design an offline evaluation", "compare model variants", or wants help with power analysis, metric selection, holdouts, or interpreting experiment results for ML/behavioral systems.
23 other projects use a version of this.
Adopted by
Most recently taken up by
- designedbythanh/ai-skills-library-product-designtheir own version, first seen Oct 1, 2026
- microsoft/hve-coretheir own version, first seen Sep 29, 2026
- creatop-gtm/apollo-operatortheir own version, first seen Sep 29, 2026
- automatewithuday/GTM-Skillstheir own version, first seen Sep 1, 2026
- opensite-ai/opensite-skillstheir own version, first seen Sep 1, 2026
- dongzhigang13305312738-art/paper-skillstheir own version, first seen Jul 21, 2026
Used with
Projects with it also use list-quality-scorecard and positive-reply-scoring.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
growthenginenowoslawskiSkilllist-quality-scorecard
Pre-send quality scorecard for any lead list. Grades duplicate rate, title diversity, bad-title patterns, catch-all domain density, ICP fit, email verification coverage. Outputs a letter grade + action items BEFORE you send. Catches bad lists before they burn inboxes. Run after email enrichment, before Smartlead upload.
Also in 3 projects that use this
growthenginenowoslawskiSkillpositive-reply-scoring
Pulls replies from a Smartlead campaign, classifies each as positive/neutral/negative/OOO/bounce/unsubscribe using Claude, and reports the positive reply rate — the north-star metric for cold email. Use when the user wants to know if a campaign is actually working (not just getting replies, but getting the RIGHT replies). Triggers on "score my replies", "how's campaign X doing", "positive reply rate", "is this campaign working".
Also in 3 projects that use this
Other versions23 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 23
- microsoft/hve-core★ 1.5ksame name
- growthenginenowoslawski/coldoutboundskills★ 736same name
- lingzhi227/agent-research-skills★ 376same name
- voidful/academic-skills★ 132same name
- itseffi/agentic-os★ 115same name
- assimovt/productskills★ 71same name
- pratikshadake/claude-product-management-skills★ 33same name
- TashanGKD/tashan-research-skills★ 19same name
- opensite-ai/opensite-skills★ 15same name
- lenar-amirov/product-pipeline-public★ 12same name
13 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- llm-engineeringSkill
- ml-autoplanSkill
- ml-canarySkill
- ml-carefulSkill
- ml-code-reviewSkill
- ml-experiment-journalSkill
- ml-iterateSkill
- ml-learnSkill
- ml-office-hoursSkill
- ml-principlesSkill
- ml-production-debugSkill
- ml-red-teamSkill
- ml-retroSkill
- ml-setupSkill
- ml-shipSkill
- ml-system-designSkill
- model-evaluationSkill
- tech-leadershipSkill
The file
Files
Experiment design
The statistical conscience of an ML org. Offline (ablations, model comparisons) and online (A/B on behavioral systems). Rigor by default; every shortcut flagged with its risk.
The iron laws
ONE VARIABLE PER ARM
HYPOTHESIS AND SUCCESS CRITERIA WRITTEN BEFORE THE RUN
NO CLAIMED WIN WITHOUT VARIANCE QUANTIFIEDLog every experiment via ml-experiment-journal before running. When real numbers are given, compute — run the code, don't approximate.
Classify first
- Offline comparison/ablation → controlled runs, paired eval, seed variance.
- Online product experiment → randomization unit, power, guardrails.
- Result interpretation → audit the design before the numbers; most "significant" results die in the audit.
Offline experiments
- One variable per arm. Two things changed → comparison dead. Force factorial or sequential.
- Seeds before claims: ≥3 seeds, mean ± std. 0.4% improvement with 0.6% seed std = noise. Single-seed LLM results = provisional, say so.
- Paired comparison, identical eval sets: same examples, preprocessing, decoding. Use paired bootstrap/permutation over examples — far more sensitive than comparing aggregates.
- Ablate from the full system down (leave-one-out); interactions hide in the build-up direction.
- Equal tuning budget across arms. New-method-tuned-a-week vs baseline-at-defaults is the most common false discovery in ML.
Online A/B — checklist in order, each item can invalidate the rest
- Randomization unit: user-level default. Session/request randomization + user-level outcomes = contamination. Interference (marketplace, social, shared inventory) → cluster or switchback.
- One primary metric, pre-registered, directional. Rest = guardrails or exploratory.
- Power before launch: MDE from baseline variance + traffic. MDE > plausible effect → say so; propose longer duration, CUPED (30-50% variance cut on behavioral metrics), or a more sensitive proxy.
- Full weeks (≥1, prefer 2); never stop at first significance. Stakeholders will peek → prescribe sequential bounds (mSPRT/group-sequential), don't pretend otherwise.
- Guardrails: latency, errors, retention, revenue-adjacent, with non-inferiority bounds. Engagement win + latency regression = loss.
- Delayed/censored outcomes: respect the maturation window — matured cohorts only. Day-1 conversion comparisons bias toward fast converters.
- Feedback-loop treatments (ranking): long-term holdback (1-5%) to catch cumulative effects offline metrics can't see.
Interpreting results
- SRM check first (chi-square on assignment counts). SRM → test invalid, p-values irrelevant.
- Effect size + CI, not p-value alone. Statistical ≠ practical significance.
- Post-hoc segment wins = hypothesis-generating. Many scans → BH-FDR.
- Wide-CI neutral = "underpowered", not "no effect". Say which.
Formulas
Power/MDE, CUPED, delta method for ratio metrics, sequential bounds, paired bootstrap, seed protocol: references/statistical-methods.md. Compute in code with the user's numbers.
Output
Pre-registration-style doc: hypothesis, primary metric, unit, MDE + power math (shown), duration, guardrails, analysis plan, stop conditions. Short enough to read; precise enough that analysis is mechanical. After the run → log outcome in the journal; not at target → ml-iterate.
Pipeline integration
Read ml/PROBLEM.md for the business metric, cost-of-error, and label maturation facts — don't re-derive them. Save pre-registrations to ml/experiments/<name>-prereg.md and append pre_registered to ml/gates.json. When results close out, the journal entry's expected-vs-actual delta feeds ml-retro's calibration audit — the boomerang only works if the prediction was written down first.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

