
Duo streak mechanics
Guides designing streak counters: daily bar, recovery tokens, pauses and stakes
Duo streak mechanics is an open-source agent skill for productivity. 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 streak mechanics
This skill gives an agent a structured way to design consecutive-day commitment counters. It walks through decisions such as how low the daily bar should sit so it stays separate from a user's ambitious goal, where the activation threshold lies that predicts return, how many recovery tokens to allow, when a sanctioned pause fits a known usage dip, and whether users can risk earned progress on a dated payoff. It also warns about token-action failures, where the counter rises while real outcomes stall, and suggests tracking continuity and outcome as separate numbers.
The guidance is organised as a sequence: set the bar first, then add slack, then consider stakes, sharing or leaderboards, and ship an opt-out alongside them. Before launch, the skill asks the builder to write down the cheapest way to satisfy the counter and the outcome metric it will not move. It explicitly leaves out cue delivery such as reminders and widgets, and meters that move instead of breaking.
The skill is a set of design references rather than a runnable tool, so it needs no scripts or external services. It is intended for teams adding or repairing streaks, daily goals, habit counters or consecutive-period mechanics in a product. It draws on public Duolingo blog posts for its examples.
When your agent uses it
Design an unbroken-chain commitment counter — how low to set the daily bar, how much slack to build in, when to let it pause, and what it will quietly certify that you never intended. Covers decoupling the trivial daily bar from the user's ambitious target, finding the activation threshold where return probability jumps, scarce recovery tokens, sanctioned pauses timed at your own usage dip, voluntary stakes with a dated payoff, two-sided shared chains, and the token-action failure where the engagement chart climbs while outcomes stall. Use when adding or repairing streaks, daily goals, habit counters or consecutive-period mechanics, and for questions like should the streak break on one missed day, will freezes get abused, how high should the daily goal be, or why is our streak number rising while results stay flat.
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 8 files (30 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-streak-mechanics:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/HKTITAN/duolingo.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/duo-streak-mechanics &&
cp -R "$tmp/skills/duo-streak-mechanics" ~/.claude/skills/duo-streak-mechanics &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/duo-streak-mechanics inside it instead.
Copy the skill folder to ~/.agents/skills/duo-streak-mechanics 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-streak-mechanics &&
cp -R "$tmp/skills/duo-streak-mechanics" ~/.agents/skills/duo-streak-mechanics &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/duo-streak-mechanics inside it instead.
Copy the skill folder to ~/.cursor/skills/duo-streak-mechanics 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-streak-mechanics &&
cp -R "$tmp/skills/duo-streak-mechanics" ~/.cursor/skills/duo-streak-mechanics &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/duo-streak-mechanics 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-streak-mechanicsOr copy the folder to ~/.gemini/skills/duo-streak-mechanics yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/duo-streak-mechanics:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/HKTITAN/duolingo.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/duo-streak-mechanics &&
cp -R "$tmp/skills/duo-streak-mechanics" ~/.copilot/skills/duo-streak-mechanics &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/duo-streak-mechanics inside it instead.
Get the folder:
git clone --depth 1 https://github.com/HKTITAN/duolingo.gitThen copy duolingo/skills/duo-streak-mechanics into your agent's skills folder as duo-streak-mechanics. Agents that support SKILL.md read one folder per skill.
What it does
- Daily bar design
- Guidance on setting a trivial daily minimum separate from the user's ambitious target.
- Activation threshold targeting
- Method for finding the tenure number where return probability rises and aiming early surfaces at it.
- Recovery token allowance
- Advice on a finite, auto-applied allowance that absorbs a missed day while keeping scarcity.
- Sanctioned pause timing
- Approach to scheduling a planned pause at a known dip in usage, plus an operational suspend option.
- Voluntary stakes with payoff
- Pattern for letting users risk earned progress on a dated payoff, with an opt-out.
- Token-action failure check
- Warning that cheap actions can satisfy a counter while outcomes stay flat, with a pre-launch audit step.
Good for
- Decide whether a streak should break after a single missed day
- Set a sensible minimum daily goal for a learning app
- Add a limited number of streak freezes to an existing counter
- Investigate why a streak number rises while learning results stay flat
- Plan a scheduled pause for users during a known low-usage period
Duo streak mechanics FAQ
Does Duo streak mechanics change code in my project?
It is a set of design references for reasoning about streak mechanics and does not include scripts or tools.
What does Duo streak mechanics leave out?
It does not cover reminders, widgets or permission prompts that cue users to open the product, nor progress meters that move instead of break.
Which clients does Duo streak mechanics support?
It follows the shared agent skills format and is listed as a Claude Code plugin marketplace entry.
How do I install Duo streak mechanics in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/duo-streak-mechanics to use it in all your projects, or to .claude/skills/duo-streak-mechanics in one project. Or install the duolingo plugin, which includes it: /plugin marketplace add HKTITAN/duolingo, then /plugin install duolingo@duolingo.
Does Duo streak mechanics 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 streak mechanics?
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 streak mechanics?
The closest alternatives to Duo streak mechanics are Duo retention, Duo gamification, Duo adoption design, Duo product and Duo motivation and attachment.
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