flashcard-generator

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

Updated Jul 10, 2026
One-click install
npx skills add https://github.com/SaberAloui/agri-hub --skill flashcard-generator-saberaloui
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: flashcard-generator
Source: https://github.com/SaberAloui/agri-hub/tree/main/.local/secondary_skills/flashcard-generator
Command: npx skills add https://github.com/SaberAloui/agri-hub --skill flashcard-generator-saberaloui

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 cards waste review time. This Skill generates atomic flashcards following Wozniak's formulation rules, schedules reviews with the SM-2 algorithm, and exports decks to Anki. ## Core Features & Use Cases - Card Generation: Creates Basic Q&A, Cloze, Reversed, and Application cards following the minimum information principle, avoiding set-enumeration and interference pitfalls. - Anki Export: Produces .apkg deck files via the genanki Python library, plus Quizlet-compatible tab-separated CSV fallback. - Interactive Web App: Builds a React + Vite study app with flashcard review (SM-2 grading, localStorage persistence, streaks, leech detection) and an AI quiz mode with grading and weak-spot feedback. - Use Case: Paste biology lecture notes and receive a shuffled flashcard web app with spaced repetition scheduling, plus an importable Anki deck for long-term review. ## Quick Start Generate a flashcard deck and interactive study web app from my attached notes on cell biology.

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 cards following Wozniak's minimum information principle, splitting complex facts into separate cards. It can export the result as an .apkg file via the genanki Python library for direct Anki 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, and interval per card. Correct answers grow intervals exponentially while failures reset the interval, scheduling reviews just before you would forget.

Can I export generated flashcards to Quizlet instead of Anki?▼

Yes, the Skill supports a tab-separated fallback format with one question-answer pair per line. Quizlet imports this directly, and the same format also works with Anki's File then Import then Text option.

Does genanki support importing or reading existing apkg files?▼

No, genanki is write-only and cannot read existing .apkg files or sync to AnkiWeb. It only generates new deck files that you import into Anki manually via File then Import.

Why should flashcards avoid list or enumeration questions?▼

Cards asking to list all items of a set have high failure rates because forgetting one item fails the whole card. The recommended approach is overlapping cloze deletions, where one sentence generates multiple cards each blanking a single item.