/ankiconnect:card-writingfrom ankiconnect
Writes, adds, searches, and reviews Anki flashcards via ankiconnect MCP tools. Covers note-type choice, cloze engineering, approval workflow, and the review cycle.
Ships in ankiconnect. 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.
None: SKILL.md is the whole skill.
This skill covers the mechanics: which tool to call, which note type to use, how to build a cloze, and how to get approval before anything is written. The card-judgement skill covers the quality bar every card must clear; load it too. Where a personal conventions skill is loaded (default deck, note types, tagging scheme), its choices replace the defaults here.
The design philosophy follows SuperMemo's "20 rules of formulating knowledge": minimum information, recall over recognition, and no card the learner does not need.
| Job | Tools |
|---|---|
| Discover decks, note types, field names | list_decks_and_notes, list_tags |
| Calibrate to the user's existing style | get_examples (sample: recent, mature, best_performance, …) |
| Check for duplicates | search_notes (Anki query syntax; resource anki://docs/search-syntax) |
| Add | add_note (one), add_notes (up to 100, per-note success or failure) |
| Media | store_media_file (prefer path for a local file, then url, then data), retrieve_media_file to view an image |
| Edit existing | inspect_cards, update_note_fields, update_note_tags, set_suspended, change_deck |
| Review | num_cards_due_today, fetch_due_cards_for_review, submit_reviews |
| "Fix this card" | get_gui_context (the card on screen, or the browser selection) |
Note IDs and card IDs differ: a note owns one or more cards. Field edits and tags act on notes;
suspension, flags, decks and scheduling act on cards. inspect_cards(note_ids=[…]) maps one to the
other.
Call list_decks_and_notes before the first add of a session and use the exact model and field
names it returns. Without other instructions, use two shapes:
{{c1::answer::hint}} deletions.If the user has no preferred deck, ask once, then reuse it for the session.
:: hierarchy for topic and source (Neurology::Epilepsy, Source::Textbook).
Check list_tags first so new cards reuse existing names.When cN is tested, every other cloze is visible. Most bad clozes fail because of that.
MS affects {{c1::young women}}, sex ratio {{c2::3:1 female to male}}: testing c1, the visible ratio gives the answer away. Merge them or
restructure.Praevia = {{c1::painless}}; abruption = {{c2::painful}}
is broken: the visible side reveals the hidden one. Either put both sides under one number, or ask
a Basic question about one side.| Basic | Cloze |
|---|---|
| A short explanation or reasoning chain ("why", "how") | A specific fact, term or number in a sentence |
| A "name the N…" set | Two to four independent facts in one natural sentence |
When in doubt, prefer Basic: a well-written Front is more forgiving than a cloze.
get_examples to match the user's style; search_notes for duplicates.add_notes (or add_note for one), then report the count and any per-note failures
(duplicates, a missing model, Anki not running).num_cards_due_today for the count.fetch_due_cards_for_review with a sensible limit (today_only=false to pull cards due soon).{card_id, rating} with ratings wrong, hard, good or easy, and send them in
batches with submit_reviews. Ratings reschedule cards and cannot be undone here.If a card is badly designed, say so; the due-card-redesign skill fixes cards in bulk.
<b>, <i>, <br>, <ul><li>, <ol><li>, <sup>, <sub>, <code>.
<math>…</math> becomes MathJax.add_note's picture parameter (filename, one of path/url/data, and the
fields that get the <img> tag), or store_media_file and then <img src="filename">.search_notes)?What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
anki, flashcards, spaced-repetition, cloze-deletion, review-workflow
npx claudepluginhub samefarrar/mcp-ankiconnect --plugin ankiconnect3 skills in this plugin
/card-judgementThe quality bar for Anki cards: hard rules, a pre-flight checklist and triage calibration, distilled from a large corpus of real approve/reject verdicts on redesigned cards. Load it whenever you draft, redesign, rework, triage or critique Anki cards: making cards from notes or questions, fixing due or leech cards, deciding whether a card is good or bad, or turning a rejected card into a better one. card-writing covers the mechanics; where the two conflict, these rules win. A user's personal judgement skill, if loaded, wins over both./due-card-redesignTriage and redesign a batch of badly designed Anki cards using only the ankiconnect MCP tools: gather due, red-flagged, leech or chosen notes, triage them with parallel subagents, get the user's verdicts in chat, redesign the bad ones in parallel, get approval, apply the changes, carry scheduling over to the new cards, rework rejections, and log every verdict so the judgement rules improve. Use it when the user says 'fix my due cards', 'triage today's Anki', 'redesign my bad cards', 'clean up my leeches', 'go through my red flags', or asks to rework rejected redesigns.Other plugins' skills for the same job