/anki:anki-quizfrom anki
Quizzes users on their Anki cards directly in chat, grades responses, and records results back to Anki for proper scheduling. Activated when users request a review session.
Ships in anki. 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.
Run a review session in the chat: show a card's front, let the user answer in their own words, grade it honestly, and record the grade so Anki schedules the card as if they'd reviewed it in the app.
Anki must be open with the AnkiConnect add-on (code 2055492159).
If Anki MCP tools are available in this session (manage_flashcards, manage_scheduling, ...,
with a prefix such as mcp__anki__manage_scheduling or, from the plugin, mcp__plugin_anki_anki__manage_scheduling), call them directly.
Otherwise run the same tools from the shell. Names and arguments are identical:
npx -y @arielbk/anki-mcp@latest call manage_decks '{"operation":"get_stats","deckName":"Spanish"}'
When the JSON contains single quotes or is long, pass - and a heredoc:
npx -y @arielbk/anki-mcp@latest call manage_flashcards - <<'EOF'
{"operation":"find","query":"deck:\"Spanish\" is:due","include":["fields","cards"],"limit":10}
EOF
npx -y @arielbk/anki-mcp@latest tools <tool> prints a tool's full parameters. A failed call
exits non-zero with the reason on stderr. "Couldn't reach AnkiConnect" means Anki isn't
running: ask the user to open it, then retry.
Work out the deck and how many cards (default 10). Then pick a query:
| The user wants | Query |
|---|---|
| Their due cards | deck:"X" is:due |
| Cards they keep failing | deck:"X" rated:7:1 or prop:lapses>=3 |
| One topic | deck:"X" tag:verbs |
| Practice without scheduling | any query; see "Practice mode" below |
Fetch them with fronts and backs:
manage_flashcards
{"operation":"find","query":"deck:\"X\" is:due","include":["fields","cards"],"limit":10,"maxFieldChars":400}
Each line is <noteId> | Front: … | Back: … | cards: <cardId> …. The first number is the
note ID; record answers with the IDs after cards: (they're often similar numbers, so don't
mix them up). The header counts notes, not cards. HTML is already stripped from the fields.
c1, c2, ...) lists
several card IDs, in order. For Basic-and-reversed, quiz the first (front → back). For a
Cloze note, each card hides one deletion: ask card n by showing the Text field with the
{{cn::...}} deletion replaced by [...] and the other deletions shown as plain text.If nothing is due, say so and offer the failing cards or a topic instead.
Compare their answer with the back on meaning, not exact wording:
| Grade | ease | When |
|---|---|---|
| Again | 1 | Wrong, blank, or missing the key part |
| Hard | 2 | Right but partial, or they said they struggled or guessed |
| Good | 3 | Right |
| Easy | 4 | Right, instant, and the user says it was easy (don't assume) |
When torn between two grades, pick the lower one: generous grades hide what they don't know. Show the correct answer and the grade, with one line on what was missing if they got it wrong. The user can overrule a grade; use theirs.
Record after each answer, or batch them at the end of a short round:
manage_scheduling {"operation":"answer","answers":[{"cardId":1700000000001,"ease":3}]}
Only record cards that are due (from an is:due query; it never matches new cards). Answering
a card that isn't due reschedules it early, and answering a new card starts it outside the
deck's new-card limit and order, so for anything else use practice mode.
A card answered Again goes into learning and is due again in minutes, so it matches is:due
again. That's expected: in a follow-up round, ask it once more, like Anki would.
For cards that aren't due (a topic, or "drill me on what I failed last week"), quiz the same way but don't record answers unless the user asks. Say at the start that this round won't change their schedule.
Give the score (e.g. 7/10), list the missed cards' fronts, and suggest one next step: another
round, a look at the misses, or, if the same card fails repeatedly, rewriting it (the
anki-make-flashcards skill has the card-writing rules).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub arielbk/anki-mcp --plugin anki3 skills in this plugin
/anki-make-flashcardsTurn material into well-written Anki flashcards and add them to the right deck. Use when the user says "make flashcards", "make cards from this", "add this to Anki", "I want to remember this", "turn this chapter/article/our conversation into cards", or asks to capture what they just learned. Picks an existing deck or proposes a new one, follows spaced-repetition card-writing rules, and shows the cards for review before importing./anki-study-planPlan and track studying an Anki deck toward a goal. Use when the user wants to learn a deck by a date ("I have an exam on the 20th", "I want to finish this deck by March"), is struggling with a topic and wants it prioritized, asks "how am I doing with this deck?", "am I on track?", or wants their daily new-card load worked out. Sets the deck's daily limits and the order of new cards, and checks progress against the plan.Other plugins' skills for the same job