Immutable. This exact content is served forever at /api/v1/blob/fe4cbdc57eefd6ff.
---
name: stats
description: Show Loanword progress — card count, how many are learned, the streak, and the hardest words. Use when the user asks about their language-learning progress.
disable-model-invocation: false
allowed-tools: Bash
---
# /loanword:stats — progress
```bash
CLAUDE_PLUGIN_DATA="${CLAUDE_PLUGIN_DATA}" node "${CLAUDE_PLUGIN_ROOT}/scripts/serve.mjs" --stats
```
The command prints JSON and exits; no server is started. Retell it compactly,
without tables and without padding:
- total cards / how many have been shown / learned (`stability` ≥ 21 days);
- how many are due right now;
- streak in days, and how much of today's limit is already reviewed;
- the five hardest — `hardest`, ranked by lapses;
- what the cards have cost — `usage.cost` in dollars and `usage.calls`, one line.
The numbers cover the **open deck** — the language pair currently in the
settings. Other pairs keep their own cards and schedules; say so only if it is
relevant, and never imply they were lost.
If `total` is 0, one line: there are no cards yet, do some work and run
the next build, which starts on its own.