experiment-design

experiment-design is a skill for Claude Code from assimovt/productskills. It costs 54 tokens per session (857 once invoked), scanned A, original, MIT.

A guide for planning hypothesis-driven experiments, including A/B tests—comparisons where different users see different versions of a product change.

In plain words
What is it for?
Use it to write a testable hypothesis, choose one main measurement, estimate the needed sample size, and plan an analysis before running a product experiment.
Why use it?
It helps avoid vague hypotheses, too little data, short test runs, and changing the analysis after seeing early results.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the product-skills plugin — 16 skills shipped together

Good fit Use it to write a testable hypothesis, choose one main measurement, estimate the needed sample size, and plan an analysis before running a product experiment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/assimovt/productskills/experiment-design
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add assimovt/productskills --skill experiment-design
Clone the repo
git clone --depth 1 https://github.com/assimovt/productskills

Made for: Claude Code.

Or install product-skills, the plugin that ships this one along with the rest of its 16 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for experiment-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/assimovt/productskills/experiment-design/github.svg)](https://agentmods.dev/skills/assimovt/productskills/experiment-design)
Your own site
<a href="https://agentmods.dev/skills/assimovt/productskills/experiment-design"><img src="https://agentmods.dev/badge/skills/assimovt/productskills/experiment-design/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for experiment-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/assimovt/productskills/experiment-design"><img src="https://agentmods.dev/badge/skills/assimovt/productskills/experiment-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 857 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.00857
Opus 5 $0.00027 $0.00428
Sonnet 5 $0.00011 $0.00171
Haiku 4.5 $0.00005 $0.00086

Measured 11d ago against content hash fd5e839d0d0f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

experiment-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/experiment-design/SKILL.md · 70 lines

How it starts

The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Design experiments that actually prove something. Most A/B tests fail because they test vague ideas, run too short, or peek at results. A well-designed experiment has a clear hypothesis, adequate power, and a pre-committed analysis plan.

Hypothesis Template

Every experiment starts with a written hypothesis before any work begins:

"If we [make this specific change] for [this audience], then [this metric] will [change in this direction] by [this amount], because [this reason based on evidence]."

Example:

"If we replace the 5-step onboarding wizard with a single guided first-project flow for new signups, then 7-day activation rate will increase from 23% to 35%, because 4/6 interviewed users said they wanted to 'just start using it' not 'set everything up first.'"

Every part matters:

  • Specific change: Not "improve onboarding" — the exact change
  • Audience: Who sees this? New users only? Free tier only?
  • Metric + direction + amount: A number you'll measure
  • Because: The evidence-based reason. No evidence = no experiment.

Experiment Design

1. Primary Metric

One metric the experiment is designed to move. Not three. One. Additional metrics are guardrails.

2. Guardrail Metrics

Metrics that must NOT degrade. These prevent "winning" by breaking something else.

3. Sample Size

Calculate BEFORE running. Use a sample size calculator with:

  • Baseline conversion rate (current number)
  • Minimum detectable effect (smallest change worth caring about)
  • Statistical significance (95% is standard)
  • Power (80% minimum)

If you need 50,000 users and you get 500/week, the experiment will take 100 weeks. Either increase the MDE or don't run the experiment.

4. Duration

Run for at least one full business cycle (usually 1-2 weeks minimum) to capture day-of-week effects. NEVER run less than 7 days.

5. Analysis Plan

Write BEFORE launching: what metric, what threshold, what you'll do if it wins/loses/is inconclusive. Pre-commit to avoid post-hoc storytelling.

Read the full file on GitHub · 70 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 70 lines · 54 tokens per session scan A fd5e839d0d0f

Subscribe to this mod's changes

experiment-design is a skill published in the GitHub repository assimovt/productskills (68 stars, last pushed 6mo ago), licensed MIT. It adds 54 tokens to every session and 857 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

prd-taskmaster

Zero-config goal-to-tasks engine (the Atlas engine). Takes any goal (software, pentest, business, learning), runs adaptive discovery via brainstorming, generates a validated spec, parses into TaskMaster tasks, and hands off to execution. Use when user says "PRD", "product requirements", "I want to build", invokes…

anombyte93/prd-taskmaster · 80 tokens

handoff

Phase 3 of the prd-taskmaster pipeline: smart mode selection and user handoff. Detects installed capabilities (superpowers, ralph-loop, task-master-ai, playwright, research providers), recommends ONE execution mode (A/B/C) with reasoned justification, appends the task-execution workflow to CLAUDE.md, surfaces a…

anombyte93/prd-taskmaster · 158 tokens

generate

Phase 2 of the prd-taskmaster pipeline: spec generation and task parsing. Loads a template (comprehensive|minimal), fills it with DISCOVER-phase constraints and answers, validates the spec (placeholdersfound, grade thresholds), parses the PRD into tasks via task-master, runs TaskMaster's native complexity analysis…

anombyte93/prd-taskmaster · 91 tokens

discover

Phase 1 of the prd-taskmaster pipeline: brainstorm-driven discovery. Delegates to superpowers:brainstorming in Interactive Mode (one adaptive question at a time), or self-brainstorms in Autonomous Mode when no user is present. Intercepts before the brainstorming chain hands off to writing-plans — this skill owns the…

anombyte93/prd-taskmaster · 92 tokens

execute-fleet

Phase execution skill for licensed Atlas Fleet runs. Use when HANDOFF has selected Atlas Fleet and the project should be executed across isolated launcher worktrees with inbox-based result collection, verified CDD cards, sequential integration merges, and one final PR.

anombyte93/prd-taskmaster · 52 tokens

customise-workflow

Customise the prd-taskmaster plugin workflow via curated brainstorm questions. The AI asks, the user answers in plain English, and the skill writes their preferences to .atlas-ai/config/atlas.json. Future runs of prd-taskmaster read that file and apply user preferences to phase gates, validation strictness, default…

anombyte93/prd-taskmaster · 137 tokens