fluent-fsrs-reference
Skill0 starsChanged 2 months 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 repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- fluent-db-updaterSkill
- fluent-feedback-formatterSkill
- fluent-learnSkill
- 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 score or 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 score<=4, 2 if <=6, 3 if <=8, else 4
→ fsrs.schedule(...) → interval_days + due_dateWhat each grade means:
| Score | Quality | Meaning |
| 10 | 5 | Perfect — instant recall, no hesitation |
| 8-9 | 4 | Correct after hesitation |
| 6-7 | 3 | Correct with difficulty |
| 4-5 | 2 | Incorrect but remembered when shown |
| 2-3 | 1 | Incorrect, familiar |
| 0-1 | 0 | Complete blackout |
You send { "item_id": "...", "quality": <0-5> } (optionally "score": <0-10>)
in review_results[]. update-db.py maps it to an FSRS rating and reschedules.
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, derived from repetitions + quality |
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 |
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.

