# Duo memory and decay

> Duo memory and decay is an open-source agent skill for education and exam prep. Guides an agent on when to resurface learned material and how to schedule review. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/HKTITAN/duolingo/tree/main/skills/duo-memory-and-decay
- **Repository:** https://github.com/hktitan/duolingo
- **GitHub stars:** 10
- **License:** MIT
- **Skill name:** duo-memory-and-decay
- **Collection:** https://github.com/HKTITAN/duolingo
- **Categories:** [education and exam prep](https://ai-powered.com/categories/education-and-exam-prep)
- **Listing updated:** 2026-12-03

## About

This skill gives an agent a model of how memory fades and how to plan returns to material. It covers spacing practice across days rather than cramming, scheduling each item from its own decay rate instead of a fixed interval ladder, and ordering review queues by recency and by the user's recorded errors. It also addresses how to design practice that requires active recall, why a passing re-test can hide weak retention, and how to bring back lapsed users without restarting them from the beginning.

The skill is organized as a map of linked reference notes. The agent scans the topic descriptions and follows only the notes relevant to the question, such as sleep consolidation, graded decay, or delayed retries. Recommendations for maintenance, such as showing decay states on completed items, are framed around keeping a user's capabilities current rather than only acquiring them.

It is a set of written guidance with no scripts. It expects the agent to have access to the product's own usage logs when fitting a decay model, and it assigns difficulty tuning and ability estimation to a separate skill.

## When your agent uses it

> Decide when to bring something back in front of a user, and treat every capability they have as quietly rotting rather than banked. Covers spacing versus massing at equal cost, per-item half-life scheduling instead of fixed interval ladders, retrieval versus re-exposure, delayed retries, error-driven practice queues, graded decay, reactivating lapsed users without resetting them to zero, visible decay states on completed things, sleep consolidation, context variability, and making forward motion do the reviewing. Use when asked how long until users forget this, when to resurface an item, why a re-test passes while real retention does not, how to win back a lapsed user, why a completed badge goes stale, or how to design a review or practice mode. Difficulty targeting and ability estimation are a different model and belong to the difficulty-calibration skill.

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

## Features

- **Spaced versus massed practice:** Explains why repetitions spread over days hold up better than the same work done in one sitting.
- **Per-item decay scheduling:** Describes fitting half-life estimates to logs to decide when each item should return.
- **Error-driven review queues:** Covers building practice sets from a learner's own recorded mistakes and ordering by recency and error.
- **Retrieval over re-exposure:** Contrasts reviews that show answers with reviews that require the user to produce them cold.
- **Lapsed user reactivation:** Guides probing for residual ability when a returning user has been away, rather than resetting them.
- **Visible decay on completed items:** Suggests showing staleness on finished badges or progress so review requests appear in context.

## Good for

- Decide when to resurface a vocabulary item a learner has not seen in weeks
- Explain why a re-test passes but real retention is weak
- Design a review mode built from a user's past mistakes
- Plan a win-back flow for users who have lapsed for months
- Assess whether a completed badge should show that its skill is fading

## 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-memory-and-decay`:

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

For one project only, put the folder in `.claude/skills/duo-memory-and-decay` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/duo-memory-and-decay` 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-memory-and-decay &&
cp -R "$tmp/skills/duo-memory-and-decay" ~/.agents/skills/duo-memory-and-decay &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/duo-memory-and-decay` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/duo-memory-and-decay` 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-memory-and-decay &&
cp -R "$tmp/skills/duo-memory-and-decay" ~/.cursor/skills/duo-memory-and-decay &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/duo-memory-and-decay` 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-memory-and-decay
```

Or copy the folder to `~/.gemini/skills/duo-memory-and-decay` yourself.

### VS Code

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

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

For one project only, put the folder in `.github/skills/duo-memory-and-decay` inside it instead.

### Other agents

Get the folder:

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

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

## FAQ

### Does Duo memory and decay change how difficult the next item should be?

No. It covers when an item returns. Difficulty targeting and ability estimation belong to the separate difficulty-calibration skill.

### What does Duo memory and decay need to run?

It has no scripts. It is written guidance that refers to a linked set of reference notes and to the product's own usage logs for fitting decay.

### Which clients does Duo memory and decay work with?

The skill is distributed as a Claude Code plugin in the duolingo marketplace, so its listed platform is Claude Code.

### How do I install Duo memory and decay in Claude Code?

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

### Does Duo memory and decay 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 memory and decay?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Duo memory and decay?

The closest alternatives to Duo memory and decay are Duo learner motivation, Duo progression design, Duo difficulty calibration, Duo perceived progress and Teach.

## Where this comes from

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

## Alternatives

- [Duo learner motivation](https://ai-powered.com/skills/duo-learner-motivation): Duo learner motivation is an open-source agent skill for education and exam prep.
- [Duo progression design](https://ai-powered.com/skills/duo-progression-design): Duo progression design is an open-source agent skill for education and exam prep.
- [Duo difficulty calibration](https://ai-powered.com/skills/duo-difficulty-calibration): Duo difficulty calibration is an open-source agent skill for education and exam prep.
- [Duo perceived progress](https://ai-powered.com/skills/duo-perceived-progress): Duo perceived progress is an open-source agent skill for education and exam prep.
- [Teach](https://ai-powered.com/skills/teach-evist0): Teach is an open-source agent skill for education and exam prep.
- [Duo efficacy measurement](https://ai-powered.com/skills/duo-efficacy-measurement): Duo efficacy measurement is an open-source agent skill for education and exam prep.
- [Duo rules and heuristics](https://ai-powered.com/skills/duo-rules-and-heuristics): Duo rules and heuristics is an open-source agent skill for writing style.
- [Teach](https://ai-powered.com/skills/teach-chicio): Teach is an open-source agent skill for education and exam prep.

---
Source: https://ai-powered.com/skills/duo-memory-and-decay
