Create effective Anki flashcards from text, documents, or images for spaced repetition learning
Transform content into well-structured Anki flashcards optimized for long-term retention using spaced repetition principles. Based on Andy Matuschak's research on writing effective prompts.
Apply this skill when the user:
Default Output: Provide flashcards in Anki-compatible format directly in the response.
Format: Use tab-separated format (TSV) that can be directly imported into Anki:
Front<tab>Back
For files: When the user requests a file or there are many cards (10+), create a .txt file with tab-separated values that Anki can import directly.
Include a summary at the end showing the total card count and suggested deck name.
Every prompt must be evaluated against these five properties:
Each prompt should focus on a single detail or atomic unit of knowledge. When scope is too broad, retrieval lacks a clear target.
Too broad: "What are the causes of World War I?" Focused: "What 1914 assassination triggered World War I?" → "Assassination of Archduke Franz Ferdinand"
The prompt should be unambiguous about what it's asking. Vague questions produce vague learning.
Imprecise: "What about chicken stock?" Precise: "What type of chicken parts are best for making stock?" → "Bones with some meat attached (backs, necks, wings)"
The prompt should produce the same answer every time. If you find yourself giving different correct answers, the prompt needs revision.
Inconsistent: "Name an important JavaScript array method" → (could be map, filter, reduce, etc.) Consistent: "What JavaScript array method creates a new array by applying a function to each element?" → "map()"
You should be able to answer correctly almost every time. Prompts you consistently fail create frustration and should be broken down or given additional cues.
Intractable: "Recite the first 20 digits of pi" Tractable: "What are the first 5 digits of pi after the decimal?" → "14159"
The prompt must require actual retrieval from memory. You shouldn't be able to trivially infer the answer from the question.
Too easy: "Is the mitochondria the powerhouse of the cell?" → "Yes" Effortful: "What organelle is called the powerhouse of the cell?" → "Mitochondria"
Identify what type of knowledge you're encoding:
| Type | Description | Example |
|---|---|---|
| Factual | Discrete facts, definitions, terminology | "What year did WWII end?" |
| Conceptual | Relationships, causes, implications, mental models | "Why does inflation reduce purchasing power?" |
| Procedural | Steps, processes, how to do things | "What's the first step in CPR?" |
Not everything deserves a card. Prioritize:
Avoid orphan prompts: Don't create cards for interesting but disconnected details. Prompts should connect to your existing knowledge and current interests.
A single fact should often become multiple cards that approach it differently:
Original fact: "The mitochondria produces ATP through oxidative phosphorylation"
Multiple angles:
Use these "lenses" to generate prompts:
Example procedure (CPR):
Example (planets):
| Card Type | Best For | Syntax |
|---|---|---|
| Basic Q&A | Most factual knowledge | Question → Answer |
| Reversed | Vocabulary, bidirectional facts | Create two cards |
| Cloze | Definitions, sequences, fill-in-blank | {{c1::answer}} |
Note on Cloze Deletions: They're efficient to create but may produce less understanding than Q&A pairs. Use them for:
Prefer Q&A pairs when deeper understanding matters.
For each card, verify:
Add prompts that link new knowledge to existing knowledge:
For ideas you want to keep top-of-mind for creative or practical application:
These extend the "Baader-Meinhof phenomenon" deliberately.
During reviews, notice your reactions:
Most spaced repetition apps let you flag cards during review. After each session, revise flagged cards.
What is the capital of Japan? Tokyo
What Japanese city was the imperial capital from 794 to 1868? Kyoto
What process do mitochondria use to produce ATP? Oxidative phosphorylation
Where in the cell does oxidative phosphorylation occur? Mitochondria (inner membrane)
{{c1::Mitochondria}} are the organelles responsible for producing most cellular ATP (cloze)
In Python, what method adds an element to the end of a list? append()
[Reversed] append() Python list method that adds an element to the end