# Duo measurement validity

> Duo measurement validity is an open-source agent skill for research methods. Helps an agent design and report metrics that hold up to outside scrutiny. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/HKTITAN/duolingo/tree/main/skills/duo-measurement-validity
- **Repository:** https://github.com/hktitan/duolingo
- **GitHub stars:** 10
- **License:** MIT
- **Skill name:** duo-measurement-validity
- **Collection:** https://github.com/HKTITAN/duolingo
- **Categories:** [research methods](https://ai-powered.com/categories/research-methods)
- **Listing updated:** 2026-12-03

## About

This skill gives the agent a structured way to judge whether a number, score or benchmark would survive review by someone with no reason to trust the team that produced it. It covers how to validate an outcome against an instrument the team did not build, when a headline score should be split into components, and how to audit bias across combinations of attributes rather than one at a time.

The guidance also covers reporting. It asks the agent to disclose where the team's own judgment shaped the evidence, to publish the dimension where results are weakest, and to note when a filtered cohort limits how far a finding generalises. A set of inference checks flags common traps, such as classifiers that misfile groups absent from their training data, resemblance mistaken for shared ancestry, and non-independent samples counted as separate observations.

The skill is a reference-driven reasoning aid written for analysts, product teams and researchers. It does not include scripts and does not call external tools; the agent works from the descriptions and checklists it loads. It stops at the number itself and points to sibling skills for publishing results, motivation segmentation and experimentation.

## When your agent uses it

> Design and report a number that survives an outsider's scrutiny — prove the outcome on an instrument you did not build, break a headline score into components only when they add information, publish the component where you lose, audit bias at intersections instead of one variable at a time, and disclose exactly where your own hand touched the evidence. Also covers the inference traps that make an instrument lie — classifier categories that encode their training population, resemblance mistaken for lineage, non-independent samples, contested definitions. Use when someone asks will this number survive outside scrutiny, is our metric actually valid, should we ship a subscore, why doesn't our completion rate convince buyers, how do we prove our product caused this, is our model biased, can we trust this benchmark, or how do we measure something nobody can measure directly.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/HKTITAN/duolingo/tree/HEAD/skills/duo-measurement-validity)
- [License: MIT](https://github.com/HKTITAN/duolingo/tree/HEAD/skills/duo-measurement-validity)

## Features

- **External validation check:** Tests whether an outcome can be proven on an instrument the team did not build.
- **Subscore admission gates:** Sets criteria a component score must meet before it is added to a dashboard.
- **Intersectional bias audit:** Examines bias across combinations of attributes instead of single variables.
- **Honest disclosure guidance:** Helps the agent state where the team's own work shaped the evidence and where results fall short.
- **Inference trap detection:** Flags misleading classifier categories, resemblance mistaken for lineage and non-independent samples.
- **Willingness alongside capability:** Separates what users decline to do from what they cannot do.

## Good for

- Check whether a product completion metric will convince outside buyers
- Decide if a component score should be shipped on a dashboard
- Audit a model's performance across intersecting demographic groups
- Assess whether a benchmark result can be trusted
- Plan how to disclose the limits of a filtered cohort study

## Install

### Claude Code

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

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

Or copy only this skill to `~/.claude/skills/duo-measurement-validity`:

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

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

### Codex

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

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

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

### Cursor

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

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

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

### Gemini CLI

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

```sh
gemini skills install https://github.com/HKTITAN/duolingo.git --path skills/duo-measurement-validity
```

Or copy the folder to `~/.gemini/skills/duo-measurement-validity` yourself.

### VS Code

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

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

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

### Other agents

Get the folder:

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

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

## FAQ

### When does Duo measurement validity trigger?

It is meant for requests such as asking whether a number will survive outside scrutiny, whether a metric is valid, whether to ship a subscore, or whether a model is biased.

### Does Duo measurement validity include scripts or tools?

No scripts are included and no allowed tools are set. It works through written reference guidance.

### What does Duo measurement validity not cover?

It stops at the number. Publishing results, motivation segmentation and visual design are routed to other skills.

### How do I install Duo measurement validity in Claude Code?

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

### Does Duo measurement validity 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 measurement validity?

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 measurement validity?

The closest alternatives to Duo measurement validity are Nature portfolio, Nature food, Pnas, Food quality safety and Add to library.

## Where this comes from

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

## Alternatives

- [Nature portfolio](https://ai-powered.com/skills/nature-portfolio): Nature portfolio is an open-source agent skill for files and documents.
- [Nature food](https://ai-powered.com/skills/nature-food): Nature food is an open-source agent skill for writing style.
- [Pnas](https://ai-powered.com/skills/pnas): Pnas is an open-source agent skill for writing style.
- [Food quality safety](https://ai-powered.com/skills/food-quality-safety): Food quality safety is an open-source agent skill for files and documents.
- [Add to library](https://ai-powered.com/skills/add-to-library): Add to library is an open-source agent skill for files and documents.
- [Brainstorming research](https://ai-powered.com/skills/brainstorming-research): Brainstorming research is an open-source agent skill for research methods.
- [Literature review](https://ai-powered.com/skills/literature-review-leiverkus): Literature review is an open-source agent skill for research methods.
- [Requesting peer review](https://ai-powered.com/skills/requesting-peer-review): Requesting peer review is an open-source agent skill for research methods.

---
Source: https://ai-powered.com/skills/duo-measurement-validity
