Skip to content
Skill

Duo measurement validity

Helps an agent design and report metrics that hold up to outside scrutiny

Duo measurement validity is an open-source agent skill for research methods. 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 measurement validity

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.

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 11 files (50 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-measurement-validity:

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.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/duo-measurement-validity 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-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.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/duo-measurement-validity 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-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.

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

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

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Duo measurement validity 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.

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