
Duo ML in production
Guides when a learned model beats rules, how to judge it, and how to build generators
Duo ML in production is an open-source agent skill for developer tools. 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 ML in production
This skill helps an agent weigh whether a trained model should replace a hand-written branching rule set, and if so, how to pick an offline metric that tracks what users actually notice. It covers ranking noisy review queues rather than filtering them, harvesting labels from human review, calibrating thresholds per skill level, and resolving user identity before trusting funnel metrics.
For content generation, it lays out a pattern of building one parameterized primitive, pairing every generator with an inspector and corrector, and assembling instances at request time so leaked outputs are not useful. It also describes staging rollouts slice by slice and publishing coverage alongside per-slice quality.
The material is distilled from Duolingo engineering and product posts and is framed for applying the reasoning to other products. It expects the agent to reason about the user's own data, metrics and pipelines; it does not prescribe specific libraries or languages, and it points to sibling skills for LLM agent orchestration, experimentation, difficulty calibration and production reliability.
When your agent uses it
Decide where a learned model beats a hand-written rule tree, judge it on a metric that moves where users actually care, and run a generation pipeline that does not quietly produce errors at scale — ranking noisy queues instead of filtering them, harvesting training labels from the human review step, calibrating thresholds per skill level, resolving identity before trusting any funnel number, and staging rollout as a published coverage curve. Use when replacing years of accumulated branching logic with one model, choosing an offline metric, triaging user reports, building an item bank or a content generator, or asking why your new-user numbers look wrong. Triggers on phrases like should this be a model or rules, ranking model, AUC, which metric should we optimize, cold start for a new segment, candidate generation, generated content at scale, identity resolution, gradual model rollout.
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 13 files (53 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@duolingoOr copy only this skill to ~/.claude/skills/duo-ml-in-production:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/HKTITAN/duolingo.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/duo-ml-in-production &&
cp -R "$tmp/skills/duo-ml-in-production" ~/.claude/skills/duo-ml-in-production &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/duo-ml-in-production inside it instead.
Copy the skill folder to ~/.agents/skills/duo-ml-in-production 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-ml-in-production &&
cp -R "$tmp/skills/duo-ml-in-production" ~/.agents/skills/duo-ml-in-production &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/duo-ml-in-production inside it instead.
Copy the skill folder to ~/.cursor/skills/duo-ml-in-production 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-ml-in-production &&
cp -R "$tmp/skills/duo-ml-in-production" ~/.cursor/skills/duo-ml-in-production &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/duo-ml-in-production inside it instead.
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-ml-in-productionOr copy the folder to ~/.gemini/skills/duo-ml-in-production yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/duo-ml-in-production:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/HKTITAN/duolingo.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/duo-ml-in-production &&
cp -R "$tmp/skills/duo-ml-in-production" ~/.copilot/skills/duo-ml-in-production &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/duo-ml-in-production inside it instead.
Get the folder:
git clone --depth 1 https://github.com/HKTITAN/duolingo.gitThen copy duolingo/skills/duo-ml-in-production into your agent's skills folder as duo-ml-in-production. Agents that support SKILL.md read one folder per skill.
What it does
- Model versus rules decision
- Guidance on when collapsing accumulated branching logic into one learned call is worth it and how to scope a first version.
- Metric selection
- Advice on choosing an offline evaluation metric that is sensitive to the outcomes users actually care about.
- Ranking over filtering
- Approach for reordering noisy submissions and capturing reviewer verdicts as training labels.
- Per-skill-level calibration
- Method for applying one measurement with separate calibration curves per skill level and a single threshold.
- Generator and inspector pairing
- Principle that generators, inspectors and correctors are built together to avoid producing errors at scale.
- Coverage-based rollout
- Staged expansion across slices on live traffic, with coverage published alongside quality per slice.
- Identity resolution for funnels
- Guidance on fixing fragmented join keys so churn and acquisition numbers are trustworthy.
Good for
- Decide whether a rule tree for content selection should be replaced by one ranking model
- Pick an offline metric for evaluating a recommendation or ranking model
- Reorder a backlog of user-reported issues by likelihood instead of discarding them
- Plan a gradual rollout of a new model across user segments
- Investigate why new-user retention or acquisition numbers look wrong
- Design a pipeline that generates exercises or items at scale with automated checks
Duo ML in production FAQ
When does Duo ML in production trigger?
It triggers on requests about whether something should be a model or rules, ranking models, AUC, choosing a metric, cold start for a new segment, candidate generation, generated content at scale, identity resolution, and gradual model rollout.
Does Duo ML in production cover LLM agent orchestration?
No. The skill states that agent runtimes, workflows and graders belong to a separate sibling skill, while this one covers trained models and generation pipelines.
What does the skill ask me to produce?
It guides reasoning and design choices rather than running scripts. The skill lists no scripts and does not set allowed tools.
Where does the guidance come from?
It is distilled from Duolingo engineering and product blog posts, each node carrying its own dated citation.
How do I install Duo ML in production in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/duo-ml-in-production to use it in all your projects, or to .claude/skills/duo-ml-in-production in one project. Or install the duolingo plugin, which includes it: /plugin marketplace add HKTITAN/duolingo, then /plugin install duolingo@duolingo.
Does Duo ML in production 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 ML in production?
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 ML in production?
The closest alternatives to Duo ML in production are Duo AI agent platform, Skill creator, Duo production reliability, Duo LLM feature engineering and Agentic eval.
Where this comes from
- Description: from the skill's own SKILL.md.
More from HKTITAN/duolingo

Helps an agent set exercise difficulty to a target band and audit whether an adaptive
- Open source
- 10 GitHub stars
- Education and exam prep

Guides growth planning for acquisition, referrals and brand-led marketing without hurting
- Open source
- 10 GitHub stars
- Marketing and SEO

Helps keep learners attempting tasks they think they are bad at
- Open source
- 10 GitHub stars
- Education and exam prep

Guides an agent through localizing a product for new languages, scripts and markets
- Open source
- 10 GitHub stars
- Developer tools

Guides segmenting product users by their declared reason for being there
- Open source
- 10 GitHub stars
- Analytics and data

Guides product teams on progress numbers, unit length and honest timelines that keep users
- Open source
- 10 GitHub stars
- Education and exam prep


