Generates atomic flashcards from technical/STEM source material. Supports three output modes: (1) interactive React artifacts with client-side KaTeX rendering, (2) Anki-ready TSV export with MathJax-compatible LaTeX, or (3) direct push to Anki via MCP Server (no export/import step). Use when users request flashcards, study cards, revision cards, Anki cards, quiz materials, or spaced repetition content from lecture notes, textbooks, or worksheets containing mathematical notation.
Detect the output mode from the user's request:
Artifact mode (default): "flashcards", "interactive", "artifact", "study cards", "revision cards" Anki mode (TSV export): "anki", "anki deck", "for anki", "import into anki", "anki export", "export to anki" Anki mode (MCP direct): "send to anki", "push to anki", "add to anki directly", "anki mcp", "create in anki"
If ambiguous, ask the user. Default to artifact mode. If the user says "anki" without specifying, ask whether they want a TSV file or direct push via MCP.
No CLI dependencies required. The React artifact handles KaTeX rendering client-side.
Recommended complementary skills from anthropics/skills:
frontend-design — Improved React artifact rendering and stylingpdf — Better extraction from scanned/complex PDFsdocx — Preserves formatting from Word documentsNo dependencies required (uses raw LaTeX with MathJax delimiters).
Requires:
124672614)
Install: Tools → Add-ons → Get Add-ons → enter 124672614 → restart Ankihttp://127.0.0.1:3141/ when Anki opensNo file export or manual import needed — cards are pushed directly into Anki.
Identify topic boundaries from section headings or conceptual groupings.
For each topic, create cards across three layers:
See references/COGNITIVE_LAYERS.md for layer definitions, card types, and answer constraints.
Check each card against atomicity rules and refusal policy.
See references/ATOMICITY.md for atomicity definition, refusal policy, and quality checklist.
For LaTeX syntax lookup: references/LATEX_SYNTAX.md
After completing Steps 1–3, branch based on the detected mode:
Read and follow artifact/WORKFLOW.md. Summary:
artifact/template.jsx/mnt/user-data/outputs/[name]_flashcards.jsxRead and follow anki/WORKFLOW.md. Summary:
anki/RENDERING.md)/mnt/user-data/outputs/[name]_anki.txtanki/IMPORT_GUIDE.mdRead and follow anki/MCP_WORKFLOW.md. Summary:
anki/RENDERING.md)add_noteReport progress in phases, not steps. Use compact formats:
Extracted 8 topics. Generating cards...
Draft: 45 cards (L1: 18, L2: 15, L3: 12). Review and let me know changes.
For iterations: "Updated card 12. ✓"
Omit rendering mechanics (KaTeX/MathJax) from user-facing messages.