Skip to content
Skill

Duo experimentation

Guides an agent through A/B test design, metrics, sample size and kill criteria

Duo experimentation is an open-source agent skill for analytics and data. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
10
Last commit
License
MIT
Listing updated

Similar skills

About Duo experimentation

This skill applies a decision protocol modeled on Duolingo's experimentation practice, where experiment results settle disagreements rather than seniority. It is organized as a map of linked reference notes, so the agent reads only the pieces relevant to the question at hand. Coverage spans hypothesis writing, randomization units, primary and guardrail metrics, sample size and test duration, novelty effects, and explicit criteria for stopping a test.

The material also addresses measurement design beyond plain randomized tests. It includes notes on choosing who enters a comparison, capturing a baseline at first contact, embedding probes in normal product use, and running quasi-experiments such as matched cohorts when randomization is not possible. A set of pitfall and cadence notes covers when shipping beats further testing and how to run a weekly review rhythm for a high volume of experiments.

No scripts are bundled and no tools are required. The skill is plain Markdown reference material, and it cross-links to sibling skills on retention, product and culture. It is released under the MIT license.

When your agent uses it

Duolingo-style experimentation as a decision protocol — hundreds of A/B tests a week, opinions resolved by data, ideas killed quickly. Covers hypothesis design, metric selection, guardrails, sample size, novelty effects, and explicit kill criteria. Use when the user wants to run an A/B test, decide between two designs without arguing, set up an experiment program, debug why a test isn't moving, or build a culture where "show don't tell" replaces seniority-based decisions. Source the Duolingo Handbook (Show Don't Tell) and engineering blog posts.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 19 files (67 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the duolingo plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add HKTITAN/duolingo
/plugin install duolingo@duolingo

Or copy only this skill to ~/.claude/skills/duo-experimentation:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/HKTITAN/duolingo.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/duo-experimentation &&
cp -R "$tmp/skills/duo-experimentation" ~/.claude/skills/duo-experimentation &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/duo-experimentation inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/duo-experimentation to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/HKTITAN/duolingo.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/duo-experimentation &&
cp -R "$tmp/skills/duo-experimentation" ~/.agents/skills/duo-experimentation &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/duo-experimentation inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/duo-experimentation to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/HKTITAN/duolingo.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/duo-experimentation &&
cp -R "$tmp/skills/duo-experimentation" ~/.cursor/skills/duo-experimentation &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/duo-experimentation inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/HKTITAN/duolingo.git --path skills/duo-experimentation

Or copy the folder to ~/.gemini/skills/duo-experimentation yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/duo-experimentation:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/HKTITAN/duolingo.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/duo-experimentation &&
cp -R "$tmp/skills/duo-experimentation" ~/.copilot/skills/duo-experimentation &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/duo-experimentation inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/HKTITAN/duolingo.git

Then copy duolingo/skills/duo-experimentation into your agent's skills folder as duo-experimentation. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Hypothesis and test structure
Guidance on writing testable hypotheses and defining variants, control groups, randomization units and exposure rules.
Metric selection and guardrails
Covers choosing primary metrics tied to long-term retention and checking that key metrics do not regress.
Sample size and duration
Explains how to size an experiment and the risks of stopping a test early.
Novelty effect detection
Describes how to spot lifts that fade over time and how to discount them.
Explicit kill criteria
Sets thresholds for stopping an experiment rather than continuing to chase a weak result.
Quasi-experimental methods
Covers causal reads without randomization, such as self-as-control and matched cohorts.

Good for

  • Design an A/B test for a new onboarding flow
  • Decide between two product designs using experiment data
  • Pick a primary metric and guardrail metrics for a test
  • Work out how many users and days a test needs
  • Diagnose why an experiment shows no movement
  • Set up a weekly experiment review process for a team

Duo experimentation FAQ

What does the skill need to run?

No scripts or special tools are listed. It is a set of Markdown reference notes that the agent reads as needed.

Does Duo experimentation cover non-randomized analysis?

Yes. It includes notes on quasi-experiments such as self-as-control, matched cohorts and within-stratum scoring.

Which clients does Duo experimentation work with?

The skill is a plain SKILL.md folder with no client-specific hooks or plugin features listed, so it follows the shared agent skills format.

What license applies?

The skill is released under the MIT license.

How do I install Duo experimentation in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/duo-experimentation to use it in all your projects, or to .claude/skills/duo-experimentation in one project. Or install the duolingo plugin, which includes it: /plugin marketplace add HKTITAN/duolingo, then /plugin install duolingo@duolingo.

Does Duo experimentation run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Duo experimentation?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Duo experimentation?

The closest alternatives to Duo experimentation are Duo experiment velocity, Trustworthy experiments, Ab testing, Analyze experiments and Ab test design.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from HKTITAN/duolingo

  1. Helps an agent set exercise difficulty to a target band and audit whether an adaptive

    • Open source
    • 10 GitHub stars
    • Education and exam prep
  2. Guides growth planning for acquisition, referrals and brand-led marketing without hurting

    • Open source
    • 10 GitHub stars
    • Marketing and SEO
  3. Helps keep learners attempting tasks they think they are bad at

    • Open source
    • 10 GitHub stars
    • Education and exam prep
  4. Guides an agent through localizing a product for new languages, scripts and markets

    • Open source
    • 10 GitHub stars
    • Developer tools
  5. Guides segmenting product users by their declared reason for being there

    • Open source
    • 10 GitHub stars
    • Analytics and data
  6. Guides product teams on progress numbers, unit length and honest timelines that keep users

    • Open source
    • 10 GitHub stars
    • Education and exam prep