panacea-fsrs-wiring

Wire PANaCEa drills and sessions into the FSRS pipeline with useDrillFSRS.

Updated Nov 16, 2025
One-click install
npx skills add https://github.com/aaronjullger-lgtm/PANaCEa --skill panacea-fsrs-wiring
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: panacea-fsrs-wiring
Source: https://github.com/aaronjullger-lgtm/PANaCEa/tree/main/.claude/skills/panacea-fsrs-wiring
Command: npx skills add https://github.com/aaronjullger-lgtm/PANaCEa --skill panacea-fsrs-wiring

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

PANaCEa FSRS wiring ensures drill and session components submit properly to the FSRS v6 pipeline, so reviews update the learning memory model instead of silently failing.

Core Features & Use Cases

  • Ensure every drill uses useDrillFSRS(getToken) and posts to /api/drills/submit-review with sessionType: 'drill'
  • Centralizes submission flow for quizzes (QuizView) and drills to derive implicit metrics and update FSRS scheduling
  • Supports telemetry collection (timeToFirstClick, answerSwitches, totalDwellTime) to improve implicit ratings

Quick Start

Implement the useDrillFSRS(getToken) hook in all drills and ensure submissions specify sessionType: 'drill' to enable FSRS updates.

Frequently Asked Questions about panacea-fsrs-wiring

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I wire spaced repetition drills into the FSRS pipeline?

To wire spaced repetition drills into the FSRS pipeline, implement the useDrillFSRS(getToken) hook and post submissions to /api/drills/submit-review with sessionType set to 'drill'. This ensures reviews update the learning memory model correctly.

Why does my FSRS scheduling silently fail to update after a drill session?

FSRS scheduling silently fails when drill components do not include sessionType: 'drill' or lack the useDrillFSRS hook with Clerk auth. Proper submission flows require payloads containing questionId and selectedAnswer to trigger FSRS updates.

What telemetry data is needed to improve FSRS implicit ratings during drill reviews?

To improve FSRS implicit ratings during drill reviews, collect telemetry data including timeToFirstClick, answerSwitches, and totalDwellTime. This optional data is passed through the useDrillFSRS hook during the submission flow.

Does the FSRS drill submission flow require Clerk authentication?

Yes, the FSRS drill submission flow requires Clerk authentication. You must use the useDrillFSRS(getToken) hook to retrieve an authentication token, ensuring your drill payloads are authorized to update the FSRS scheduling model.

Can I use the same FSRS submission flow for both quizzes and drills?

Yes, you can use the same FSRS submission flow for both quizzes and drills. The centralized submission flow supports QuizView and all PANaCEa drills to derive implicit metrics and update FSRS scheduling, provided you set sessionType to 'drill'.