Anki
Builds and repairs Anki decks: card writing, FSRS and SM-2 deck options, leeches, review workload, imports, and sync. Use when making cards from notes, PDFs…
by clawic★ 23 GitHub stars
Install Anki in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
User preferences and memory live in ~/Clawic/data/anki/ (see setup.md on first use, memory-template.md for the file format). If you have data at an old location (~/anki/ or ~/clawic/anki/), move it to ~/Clawic/data/anki/, and say in one line that you moved it and from where. Nothing else is stored: the collection is never opened or modified — you work from text, files, exports and stats the user hands over, and you emit cards the user imports.
When To Use
- Turning source material (notes, lecture slides, PDFs, textbook chapters, word lists) into importable cards
- Diagnosing a deck: reviews exploding, retention sliding, leeches piling up, "I study daily and still forget"
- Configuring deck options: FSRS vs SM-2, desired retention, daily limits, learning steps, leech action
- Anki-the-application problems: one-way sync prompts, missing media, nothing due, broken imports, add-on breakage
- Deadline work: an exam date, a backlog to clear, a shared deck to unsuspend by topic
- Non-academic memory work: names and faces, poetry, music theory, professional facts
- Not for flashcard theory outside Anki (
flashcards), spacing-algorithm theory for its own sake (spaced-repetition), study scheduling and technique choice (studying), or writing add-on code
Quick Reference
| Situation | Play |
|---|---|
| "Make cards from this" | Extract atomic facts, one per card, then state the intake cost of rule 5 → bulk-generation.md; how to word each card → cards.md |
| A card is written but wrong — ambiguous, a hidden list, leaks its answer | Atomicity test, cloze rules, interference, reversals, mnemonics, worked leech rewrite → cards.md |
| A card keeps failing, 8 lapses reached | Leech: rewrite the card, then reset its history — not more reviews (rule 4) → retention.md |
| Reviews per day keep climbing | Intake exceeds throughput: new/day × reviews-per-card is the steady state (rule 5) → retention.md |
| Retention below 0.85 while desired is 0.90 | Grading drift or bad cards before settings — check the Again-rate by deck first → retention.md |
| Backlog after time off | New cards to 0, cap reviews, burn down oldest-first; never marathon → retention.md |
| "Which numbers do I set?" | Every default and what changes it → scheduling.md |
Ease hell (core band 130-180%, screened with prop:ease<2.0) |
SM-2 artifact: move to FSRS, or reset ease AND fix the cards → retention.md |
| Cards are due but nothing appears | Daily limit, parent-deck limit, burial, suspension — in that order → troubleshooting.md |
| Anki asks Upload or Download | One-way sync: keep the side with the work, the other is overwritten → sync-and-backup.md |
| Import made duplicates, or one giant card | Field mapping, separator, HTML setting → importing.md |
| Need to find or bulk-edit a subset of cards | Search syntax and filtered decks → search.md |
| Card needs a hint, typed answer, or styling | Note type and template surgery → note-types.md |
| Labelled diagram, anatomy plate, map, circuit, UI screenshot | Image Occlusion: masks, and Hide All vs Hide One → image-occlusion.md |
| Deck structure, tags, merges, duplicates | organization.md |
| Vocabulary, audio, conjugation, false friends | language.md |
| Med school, boards, AnKing-style shared decks | medicine.md |
| Programming, syntax, math, theorems | code-and-math.md |
| Names and faces, poetry, music, chess, birds, work facts | Non-academic decks and how to keep them alive → personal-decks.md |
| Exam in N days | Capacity math before content — can the deck even be finished → exam-prep.md |
| Which add-ons, and what breaks on upgrade | addons.md |
| Anything else | Ask what the user sees on screen — a count, a button, an exact error — map it to a row above, then propose one change at a time |
Depth on demand — read SKILL.md alone by default, then exactly one of these: cards.md (wording a card that survives) · bulk-generation.md (source material → importable batch) · note-types.md (fields, templates, CSS, typed answers) · image-occlusion.md (masking a labelled image, and the Hide All / Hide One choice) · scheduling.md (every deck-options number) · retention.md (deck diagnosis, ease hell, leeches, backlog) · search.md (query syntax, bulk edits, filtered decks) · organization.md (decks vs tags, duplicates, maintenance) · importing.md (CSV/TSV, .apkg, migrations, media, export) · sync-and-backup.md (one-way sync, .colpkg, corruption) · troubleshooting.md (the app misbehaving) · addons.md (what to install, what is already built in) · exam-prep.md (fixed date, capacity math, triage) · language.md · medicine.md · code-and-math.md · personal-decks.md (the four subject guides) · setup.md (first-use preference loading).
Core Rules
- One retrievable fact per card. Test: the answer fits in a few words and only one answer is right. A four-item list is one card that fails on item four forever; split it in
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- _meta.json
- addons.md
- bulk-generation.md
- cards.md
- code-and-math.md
- exam-prep.md
- image-occlusion.md
- importing.md
- language.md
- medicine.md
- memory-template.md
- note-types.md
- organization.md
- personal-decks.md
- retention.md
- scheduling.md
- search.md
- setup.md
- sync-and-backup.md
- troubleshooting.md
FAQ
What does the Anki skill do?
Builds and repairs Anki decks: card writing, FSRS and SM-2 deck options, leeches, review workload, imports, and sync. Use when making cards from notes, PDFs, lectures, textbooks, or vocabulary lists; when reviews pile up, take too long, or a backlog builds after time off; when retention drops, cards keep failing, or a deck falls into ease hell; when choosing FSRS vs SM-2, or setting desired retention, new cards per day, learning steps, and leech thresholds; when a deck asks to upload or download in a one-way sync, loses media, or fails Check Database; when importing CSV/TSV, an .apkg, or a shared deck, or migrating from Quizlet, Memrise, or SuperMemo; when cards are due but nothing appears; and when a fixed exam date forces a study plan. Covers language decks, medical and board decks, code and math material, and personal decks such as names and faces or poetry. Not for generic flashcard writing outside Anki, spaced-repetition algorithm theory, study-session planning, or add-on development.
How do I install the Anki skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the Anki skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…