/anki:anki-study-planfrom anki
Plans and tracks Anki deck study toward a goal. Sets daily limits, prioritizes weak topics, and checks progress on demand.
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.
Two modes:
If the request mentions a date or a goal, plan. If it only asks how things are going, check in.
Anki must be open with the AnkiConnect add-on (code 2055492159).
If Anki MCP tools are available in this session (manage_decks, get_analytics, ...,
with a prefix such as mcp__anki__get_analytics or, from the plugin, mcp__plugin_anki_anki__get_analytics), call them directly.
Otherwise run the same tools from the shell. Names and arguments are identical:
npx -y @arielbk/anki-mcp@latest call get_analytics '{"scope":"deck_overview","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\" tag:verbs","groupBy":"state"}
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.
Run these and read them before saying anything:
get_analytics {"scope":"deck_overview","deckName":"<deck>"}: unseen (new) cards, the
preset's newPerDay/reviewsPerDay, unseenRunOut (when the new cards run out at the current
limit), retention and the tags failed most over the last 30 days.manage_flashcards {"operation":"find","query":"deck:\"<deck>\"","groupBy":"tag"}: how many
new vs seen cards each topic (tag) has.get_analytics {"scope":"reviews_by_day","deckName":"<deck>","days":14}: how consistently
they study, and their real daily review load.get_analytics {"scope":"trouble_cards","deckName":"<deck>","days":14}: what they keep
getting wrong.Some outputs are JSON (deck_overview, trouble_cards); others are plain lines (find,
reviews_by_day, get_config). In deck_overview, the limits are under limits.newPerDay /
limits.reviewsPerDay, and retention is lastDays.retentionPct (deck-wide; there is no
per-topic retention).
Topics are usually tags. Ignore umbrella tags that cover most of the deck (e.g. infra on 96
of 166 cards): they top every list without saying anything. If the deck has no useful tags,
topics can come from a search (deck:"X" front:*keyword*), or ask the user how they think
about the topics.
You need: the deck, the target date, and anything they're struggling with or want first. Ask for the date if missing. Also ask roughly how much time a day they have if the numbers below look tight.
unseenRunOut.date
is on or before the done-by date), keep it: finishing early leaves more time for reviews.
Mention the minimum only as the floor if they ever want a lighter load. Raise the limit only
when the current pace finishes too late.get_analytics {"scope":"collection_stats","deckName":"<deck>","days":14},
not past reviews_by_day, which is inflated by learning steps). Time is about 8-10 seconds
per review. Say this is a rule of thumb.If the load is unrealistic (well over their time, or more than about 50 new cards a day), don't
just apply it. Offer choices: push the date, drop low-priority topics (suspend them with
manage_scheduling {"operation":"suspend","query":"deck:\"X\" tag:Y is:new"}), or accept that
some cards won't be seen by the date.
Weak or high-priority topics go first:
manage_decks
{"operation":"get_config","deckName":"<deck>"} (look at newGatherOrder). Positions only
count with deck or ascending_position.manage_flashcards {"operation":"find","query":"deck:\"X\" tag:weak","groupBy":"state"}.
Reposition only moves new cards; on a topic with none it reports "nothing changed", which
isn't an error.manage_scheduling
{"operation":"reposition","query":"deck:\"X\" tag:weak is:new","shift":true,"dryRun":true}.
For several topics in a chosen order, reposition the lowest-priority one first and the top
priority last (each call goes to the front), or pass cardIds in the exact order.manage_decks {"operation":"set_display_order","deckName":"X","newGatherOrder":"ascending_position"}.A topic they struggle with that is already seen (not new) can't be repositioned. Look at its
worst cards from trouble_cards: if a card fails because it's badly written, offer to rewrite
it (see the anki-make-flashcards skill's card-writing rules) or split it.
Show the plan in a few lines before changing anything:
Deck: Interview prep (412 new, 180 seen)
Target: 2027-01-15 (44 days); new cards done by 2027-01-01
New cards: 14/day (was 20)
Expected reviews: ~110/day at peak, ~20 min/day; review limit 250/day
Order: postgres first, then concurrency, then the rest as they are
Once they agree:
manage_decks {"operation":"set_limits","deckName":"X","newPerDay":14,"reviewsPerDay":250}.
If the deck shares an options preset, this clones a preset for this deck only; say so.reposition and set_display_order calls from step 3, without dryRun.get_config.Anki has nowhere to store a target date. Give the user the plan summary and offer to save it where they keep notes. A check-in needs the target date again, so ask for it if it isn't in the conversation or their notes.
Using the facts gathered above:
unseenRunOut.date with the "new cards done by" date (target minus the buffer) and say
whether they're on track, ahead or behind, and by how many days. Without one, say when the
new cards run out at the current limit, and ask whether they're aiming for a date; offer to
plan if so.reviews_by_day, count the days with zero reviews, not counting today
(it isn't over). Missed days pile up reviews later; say how many and when.trouble_cards. A tag with more Agains than
cards in the window is a weak spot; so is deck-wide retentionPct under about 80%. Name the
worst cards and offer to fix or split badly written ones.get_analytics {"scope":"collection_stats","deckName":"<deck>","days":14}
forecasts upcoming reviews. Warn about a coming spike.Give a short verdict first ("On track: new cards finish on Jan 2, a day early. Postgres is the
weak spot: 61% correct this week."), then at most three concrete suggestions. Offer to apply
any change (a new newPerDay, reprioritising a topic) using the plan steps above.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
3 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-quizQuiz the user on their Anki cards in the conversation and record the results in Anki. Use when the user says "quiz me", "test me on my Spanish deck", "run through my due cards", "drill me on the cards I keep failing", or wants to review Anki cards in chat instead of in the app.npx claudepluginhub arielbk/anki-mcp --plugin ankiOther plugins' skills for the same job