# Duo streak mechanics

> Duo streak mechanics is an open-source agent skill for productivity. Guides designing streak counters: daily bar, recovery tokens, pauses and stakes. 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-streak-mechanics
- **Repository:** https://github.com/hktitan/duolingo
- **GitHub stars:** 10
- **License:** MIT
- **Skill name:** duo-streak-mechanics
- **Collection:** https://github.com/HKTITAN/duolingo
- **Categories:** [productivity](https://ai-powered.com/categories/productivity)
- **Listing updated:** 2026-12-03

## About

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.

## 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-streak-mechanics)
- [License: MIT](https://github.com/HKTITAN/duolingo/tree/HEAD/skills/duo-streak-mechanics)

## Features

- **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

## 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-streak-mechanics`:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/duo-streak-mechanics` 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-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.

### Cursor

Copy the skill folder to `~/.cursor/skills/duo-streak-mechanics` 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-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.

### 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-streak-mechanics
```

Or copy the folder to `~/.gemini/skills/duo-streak-mechanics` yourself.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

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

Then 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.

## 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.

## Alternatives

- [Duo retention](https://ai-powered.com/skills/duo-retention): Duo retention is an open-source agent skill for productivity.
- [Duo gamification](https://ai-powered.com/skills/duo-gamification): Duo gamification is an open-source agent skill for productivity.
- [Duo adoption design](https://ai-powered.com/skills/duo-adoption-design): Duo adoption design is an open-source agent skill for productivity.
- [Duo product](https://ai-powered.com/skills/duo-product): Duo product is an open-source agent skill for productivity.
- [Duo motivation and attachment](https://ai-powered.com/skills/duo-motivation-and-attachment): Duo motivation and attachment is an open-source agent skill for productivity.
- [Duo metric design](https://ai-powered.com/skills/duo-metric-design): Duo metric design is an open-source agent skill for productivity.
- [Duo freemium monetization](https://ai-powered.com/skills/duo-freemium-monetization): Duo freemium monetization is an open-source agent skill for productivity.
- [Duo category entry](https://ai-powered.com/skills/duo-category-entry): Duo category entry is an open-source agent skill for productivity.

---
Source: https://ai-powered.com/skills/duo-streak-mechanics
