flashcard-generator

Generate flashcards, quizzes, and Anki decks from notes using SM-2 spaced repetition.

Updated May 25, 2026
One-click install
npx skills add https://github.com/dheejay282002/final_project --skill flashcard-generator-dheejay282002
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: flashcard-generator
Source: https://github.com/dheejay282002/final_project/tree/main/.local/secondary_skills/flashcard-generator
Command: npx skills add https://github.com/dheejay282002/final_project --skill flashcard-generator-dheejay282002

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires genanki.

What problem does it solve? Converting notes and textbook content into effective study materials is time-consuming, and poorly written flashcards waste review time. This Skill generates atomic, well-formulated flashcards grounded in memory science and exports them to Anki or an interactive study web app. ## Core Features & Use Cases - Card Generation: Applies Wozniak's minimum information principle, cloze deletion, and overlapping cloze for lists to produce atomic Basic, Cloze, Reversed, and Application cards. - Anki Export: Uses the genanki Python library to write .apkg deck files with stable model and deck IDs, plus CSV/Quizlet tab-separated fallback. - Interactive Study App: Builds a React + Vite web app with SM-2 scheduling, localStorage persistence, leech detection, daily new-card limits, study streaks, and an AI quiz mode. - Use Case: Paste lecture notes on cell biology and receive an Anki deck plus a web app where you review cards with spaced repetition and take AI-graded quizzes on weak topics. ## Quick Start Generate Anki flashcards and a study web app from my attached biology notes.

Frequently Asked Questions about flashcard-generator

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

FAQPage Schema
How do I convert notes into Anki flashcards automatically?▼

Paste your notes and the Skill generates atomic flashcards following Wozniak's minimum information principle, favoring cloze deletions for prose. It exports a .apkg file via the genanki Python library that imports directly into Anki through File then Import.

What is the SM-2 algorithm used in Anki scheduling?▼

SM-2 is Wozniak's 1987 spaced repetition algorithm that tracks repetition count, ease factor starting at 2.5, and interval in days per card. Correct answers grow intervals exponentially while failures reset the interval to one day, with ease factor floored at 1.3.

Can genanki read or sync existing Anki decks?▼

No, genanki is write-only and cannot read existing .apkg files or sync to AnkiWeb. It only generates new deck files, though stable GUIDs let re-imports update previously generated cards in place.

Why should I avoid flashcards that ask to list items?▼

Set-enumeration cards like listing all seven OSI layers have high failure rates because one missed item fails the whole card. Use overlapping cloze instead: one sentence with the full list generating one card per blanked item.

What are the limitations of localStorage for flashcard progress?▼

localStorage has a roughly 5MB per-origin limit, which suits decks under 500 cards storing only essential SM-2 state per card. For larger decks with extensive review history, use IndexedDB as a fallback instead.