Experiment Designer logo

Experiment Designer

Community
cnfeat
experiment-designer

Design statistically rigorous A/B tests and interpret experiment results. Use when asked to design an experiment, run an A/B test, calculate sample size, interpret test results, or assess whether an experiment was successful. Produces a complete experiment design with hypothesis, sample size, run time, success criteria, and risk flags — or a results interpretation with ship/iterate/kill recommendation.

Overview

Publishercnfeat
Repositorytop-pm-skills
Skill nameexperiment-designer
Stars
55
Forks
6
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by cnfeat on GitHub. Read the source before you install it.

Installation

Install the Experiment Designer AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/cnfeat/top-pm-skills/tree/main/参考skill/pm-claude-skills-main/pm-claude-skills-main/plugins/pm-advanced/skills/experiment-designer
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.

Use it in TypingMind

Enable Experiment Designer in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Experiment Designer on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Experiment Designer is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Experiment Designer Skill

Produce rigorous experiment designs from product hypotheses, and interpret results with statistical and practical significance — so you can defend every decision to a sceptical engineering lead or data scientist.

Required Inputs

Ask the user for these if not provided: For experiment design:

  • Hypothesis (what change, what metric, what expected movement)
  • Current baseline metric value
  • Minimum detectable effect (MDE) — the smallest lift worth caring about
  • Available daily sample size

For results interpretation:

  • Control and variant results (raw numbers or percentages)
  • P-value or confidence interval
  • Run duration (days)
  • Any anomalies observed during the test

Two-Phase Process

Phase 1: Experiment Design

  1. Restate hypothesis as: "If we [change], we expect [metric] to [move by X%] because [reason]"
  2. Define control and variant clearly
  3. Select primary metric (one only) and secondary guardrail metrics (2-3 max)
  4. Calculate required sample size from MDE and baseline
  5. Estimate run time in days
  6. Set pre-defined success criteria before the test runs — no moving goalposts
  7. Flag design risks: novelty effects, seasonal confounds, multiple testing issues, network effects, sample ratio mismatch

Phase 2: Results Interpretation

  1. Assess statistical significance (p < 0.05 threshold)
  2. Assess practical significance: was the lift meaningful for the business, not just real?
  3. Interpret confidence intervals
  4. Investigate confounding factors
  5. Recommend: Ship / Iterate / Kill / Run follow-up test
  6. Validate — Confirm the test ran for the full planned duration. Flag if it was stopped early (peeking problem). Confirm sample ratio mismatch did not occur.

Output Structure

[Design or Results header based on phase]

Hypothesis: "If we [change], we expect [metric] to [move by X%] because [reason]"

Primary metric: [One metric only] Guardrail metrics: [2-3 max] Required sample size: [n per variant] Estimated run time: [days] Pre-defined success threshold: [specific number] Design risk flags: [any concerns]

Results (Phase 2 only): Statistical significance: [p-value and conclusion] Practical significance: [lift size vs. business threshold] Recommendation: Ship / Iterate / Kill / Follow-up — [rationale]

Quality Checks

  • Hypothesis specifies the change, the metric, the direction, and the reason
  • Primary metric is singular — guardrail metrics are secondary
  • Success criteria are defined before the test launches (not after seeing results)
  • Test was not stopped early (or flagged clearly if it was)
  • Practical significance assessed separately from statistical significance
  • Sample ratio mismatch is checked in results interpretation

Anti-Patterns

  • Do not define success criteria after seeing preliminary results — post-hoc success definitions are HARKing (Hypothesising After Results are Known) and invalidate the experiment
  • Do not stop a test early because the result looks significant — early stopping dramatically inflates false positive rates; the test must run to the planned sample size
  • Do not treat statistical significance as the same as practical significance — a p < 0.05 result with a 0.1% lift is real but may not be worth shipping
  • Do not run the same experiment on the same population multiple times without correction — multiple testing inflates the chance of a false positive proportionally
  • Do not use more than one primary metric — multiple primary metrics require multiple hypothesis corrections and make the ship/kill decision ambiguous

Frequently asked questions

What does the Experiment Designer AI skill do?

Design statistically rigorous A/B tests and interpret experiment results. Use when asked to design an experiment, run an A/B test, calculate sample size, interpret test results, or assess whether an experiment was successful. Produces a complete experiment design with hypothesis, sample size, run time, success criteria, and risk flags — or a results interpretation with ship/iterate/kill recommendation.

Why use Experiment Designer on TypingMind?

Because you install it once and use it with any model. Experiment Designer is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Experiment Designer in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/cnfeat/top-pm-skills/tree/main/参考skill/pm-claude-skills-main/pm-claude-skills-main/plugins/pm-advanced/skills/experiment-designer. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Experiment Designer?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Experiment Designer?

As many as you like. As long as a model supports skills, you can use Experiment Designer with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Experiment Designer AI skill free?

Yes. It is published on GitHub by cnfeat under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇