/flashcards:anki-flashcardsfrom flashcards
Transforms text, notes, code, or images into Anki flashcards for spaced repetition learning. Follows Andy Matuschak's prompt-writing principles with atomic, precise, and effortful cards.
Ships in flashcards. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Transform content into Anki flashcards optimized for long-term retention, following Andy Matuschak's prompt-writing principles.
Tab-separated values, one card per line: Front<tab>Back. Cloze cards use
{{c1::answer}} syntax. Deliver inline in the response; write a .txt file
instead when the user asks for one or the deck reaches 10+ cards (Anki imports
it directly). End with the card count and a suggested deck name.
Every card must pass all five. A card that fails one gets rewritten or dropped.
Select what to encode. Start with prerequisite knowledge, frequently needed information, and easy-to-confuse details. Each card must connect to knowledge or interests the user already has - an orphan card (interesting but disconnected) is a card to skip. Done when every key concept in the source is either carded or deliberately skipped.
Classify each piece as factual (facts, definitions, terminology - simple Q&A), conceptual (relationships, causes, mental models), or procedural (steps and processes - one card per step, plus "what comes next" prompts). For conceptual knowledge, create separate prompts for attributes and tendencies and for similarities and differences. Cover causes and effects alongside significance and implications.
Encode from multiple angles. A central fact becomes cards that approach it differently - forward, backward, and from its context (e.g., organelle→process, process→organelle, process→product). For lists, create fill-in-the-missing-element prompts with consistent order, and break large lists into coherent subcategories that each fit on one card.
Choose the card type. Basic Q&A is the default and wins whenever understanding matters. Reversed pairs (two cards) for vocabulary and bidirectional facts. Cloze for definitions, sequences, and high-volume card creation.
Connect. Add cards that link new knowledge to what the user already knows ("How does [new concept] relate to [known concept]?"), and - for ideas the user wants top-of-mind - salience prompts ("Where could [principle] apply to [user's project]?").
Done when every card passes the five attributes and every key concept from step 1 has at least one card.
references/patterns.md - worked examples by subject and content type (science, programming, history, language learning, anatomy, math, image-based cards), with per-type strategies and tag suggestions.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub staticaland/skills --plugin flashcards