fluent-fsrs-reference
Skill0 starsChanged 18 days agoMITView on GitHub
FSRS-6 scheduling reference: how a score becomes a due date, and which fields live on a spaced-repetition item. Use when a skill must reason about review scheduling.
In this repository16 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- fluent-db-updaterSkill
- fluent-extensiveSkill
- fluent-feedback-formatterSkill
- fluent-grammarSkill
- fluent-learnSkill
- fluent-listeningSkill
- fluent-progressSkill
- fluent-readingSkill
- fluent-reviewSkill
- fluent-session-analyzerSkill
- fluent-setupSkill
- fluent-speakingSkill
- fluent-vocabSkill
- fluent-writingSkill
The file
Files
FSRS Scheduling Reference
Fluent schedules reviews with FSRS-6, implemented in .claude/hooks/fsrs.py
and driven by .claude/hooks/update-db.py. Skills submit a quality and
update-db.py schedules: FSRS-6 uses 21 fitted weights, stability and
fsrs_difficulty, so a hand-computed interval diverges from the code.
The pipeline
tutor score (0-10)
→ quality (0-5) quality = floor(score / 2)
→ rating (1-4) 1 if quality<=2, else quality - 1
→ fsrs.schedule(...) → interval_days + due_dateWhat each grade means:
| Score | Quality | Rating | Meaning |
| 10 | 5 | 4 Easy | Perfect — instant recall, no hesitation |
| 8-9 | 4 | 3 Good | Correct after hesitation |
| 6-7 | 3 | 2 Hard | Correct with difficulty |
| 4-5 | 2 | 1 Again | Incorrect but remembered when shown |
| 2-3 | 1 | 1 Again | Incorrect, familiar |
| 0-1 | 0 | 1 Again | Complete blackout |
You send { "item_id": "...", "quality": <0-5> } in review_results[].
update-db.py maps the quality to an FSRS rating and reschedules. Quality 0-2
is a miss for the rating, repetitions and mastery_level alike; a "score"
beside it is only recorded in the item's review_history.
Fields on a spaced-repetition item
| Field | Meaning |
quality / last_quality | 0-5 grade; feeds the mastery heuristic |
repetitions | consecutive-success counter; feeds mastery |
mastery_level | 0-5 stars: +1 per quality 4-5 review from the second success in a row, at least 3 after five in a row; a miss (quality 0-2) takes one off and caps it at 2 |
stability | FSRS memory stability (days) |
fsrs_difficulty | FSRS item difficulty (NOT the CEFR difficulty key) |
interval_days / due_date | computed by FSRS, do not set by hand |
rung | the help the card's next exercise gives: scaffold, cue, bare, varied (.claude/references/fading.md). A quality 4-5 review fades it one rung, a miss brings it one back; read-db.py computes it for a card not yet reviewed under rungs |
A legacy SM-2 easiness_factor on older items is read by nothing.
When to use
Load when a skill must explain or reason about scheduling. To actually persist a
review, do not compute anything here — hand the payload to the fluent-db-updater
skill, which runs update-db.py.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

