anki
Skill4 starsChanged 5 months agoMITView on GitHub
Searches, reviews, triages, and safely rewrites a user's Anki cards through AnkiConnect without changing scheduling. Runs collection health checks, identifies costly cards, and learns the user's flags, tags, fields, external-source conventions, and card-writing preferences. Use when the user mentions Anki or AnkiConnect, asks about an Anki deck or collection, or requests work on suspended cards, leeches, lapses, Anki card rewrites, or collection health. Do not use for unrelated generic flashcard advice.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- jstilb/ai-assistanttheir own version, first seen Oct 30, 2026
- nailuoGG/anki-mcp-servertheir own version, first seen Oct 13, 2026
- andrevictor23-tech/claude-skillstheir own version, first seen Aug 11, 2026
- jvgitty/claude-anki-skilltheir own version, first seen May 11, 2026
- b0r1sp/claude-skill-ankitheir own version, first seen Apr 23, 2026
- anath2/anki-skilltheir own version, first seen Dec 29, 2025
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- nailuoGG/anki-mcp-server★ 253same name
- anath2/anki-skill★ 3same name
- b0r1sp/claude-skill-anki★ 1same name
- andrevictor23-tech/claude-skills★ 0same name
- jstilb/ai-assistant★ 0same name
- jvgitty/claude-anki-skill★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Show its rules and text
We split this skill into the rules it gives an agent
19 rules. 0 are common, 18 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
18
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Use AnkiConnect to inspect and improve the user's Anki collection.
- Distinctive: line 14
Never touch scheduling: Do not change intervals, ease, due dates, learning state, review history, deck scheduling options, or FSRS …
- Distinctive: line 17
Adapt instead of assuming: Do not assign meanings to flags, tags, suspension, fields, or card styles until the user's conventions have been …
- Distinctive: line 18
Respect the source of truth: If a note is externally authored, edit the external source only.
- Distinctive: line 20
Keep one dependency: Use AnkiConnect and Python's standard library only.
- Distinctive: line 24
Use the host's structured multiple-choice or question interface whenever it is available.
- Distinctive: line 25
If the host has no clickable-choice interface, present a short numbered list and ask the user to reply with a number.
- Distinctive: line 27
Keep guided steps short and end each one with a clear next choice.
- Distinctive: line 43
When the user asks for a specific result—such as showing suspended cards, searching for a topic, counting cards, reviewing a named deck, or …
- Distinctive: line 45
Read references/ankiconnect.md, then verify connectivity.
- Distinctive: line 48
If the request depends on an unknown convention, perform only the relevant discovery, confirm the inference, and continue.
- Distinctive: line 55
Connect: Verify AnkiConnect. If unavailable, explain that Anki must be running with AnkiConnect installed, then stop.
- Very specific: line 58
Calibrate: If no saved preferences exist, run the preference interview in references/fixing-and-triage.md.
- Distinctive: line 59
Hand back and stop: Do not begin fixing cards.
- Distinctive: line 65
Inspect: Read the current card, its note, all sibling cards generated by that note, tags, deck, note type, lapse signals, and the …
- Distinctive: line 66
Resolve the destination: Check whether the note is Anki-native or externally authored.
- Distinctive: line 71
all sibling cards or files that will be affected.
- Distinctive: line 75
Apply only approved items: Use the source-of-truth route.
- Distinctive: line 89
Use the bundled read-only scripts where their reference says to run them.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Anki collection assistant
Use AnkiConnect to inspect and improve the user's Anki collection. Treat this file as the control plane: keep its safety rules active, and load the detailed references only when the current task needs them.
Non-negotiable rules
- Preview every mutation and obtain explicit approval. Read-only inspection may proceed after the user's request, but do not modify Anki, an external source file, or
conventions.local.mduntil the user has seen the exact proposed operation and clearly approved it. Silence is not consent. Approval applies only to the displayed batch. - Never touch scheduling. Do not change intervals, ease, due dates, learning state, review history, deck scheduling options, or FSRS parameters, and do not answer cards or run a rescheduler. Suspension and unsuspension are allowed only after approval. A filtered-deck workflow must have rescheduling disabled.
- Separate construction from target. Assess whether a card reliably cues its chosen answer. Never decide what the user should remember, re-aim a card, suspend it permanently, or delete it without the user's decision.
- Find weaknesses, not missing knowledge. Collection data can reveal weak, redundant, confusable, costly, or poorly worded cards. Do not claim to detect syllabus gaps without a syllabus or another source defining expected coverage.
- Adapt instead of assuming. Do not assign meanings to flags, tags, suspension, fields, or card styles until the user's conventions have been loaded or discovered and confirmed.
- Respect the source of truth. If a note is externally authored, edit the external source only; never update the Anki note directly. If it is Anki-native, edit Anki only. Confirm the route before proposing a write.
- Use Anki terminology. Say lapses, leeches, intervals, ease, retrievability, difficulty, and stability where applicable. Do not invent marketing-style metrics. Clearly label the skill's own
costscore as a custom diagnostic. - Keep one dependency. Use AnkiConnect and Python's standard library only. Do not install databases, packages, or other services.
Interaction rules
- Use the host's structured multiple-choice or question interface whenever it is available.
- If the host has no clickable-choice interface, present a short numbered list and ask the user to reply with a number. Use free text for “something else” or when choices would be artificial.
- Offer choices rather than forcing a path. The user may stop, skip, or jump to a different task at any decision point.
- Keep guided steps short and end each one with a clear next choice.
Skill state
Set SKILL_ROOT to the directory containing this SKILL.md. The state file is:
SKILL_ROOT/conventions.local.mdLoad it when present. Do not hard-code a Claude- or Codex-specific installation path. Before creating or updating it, show the proposed contents or diff and obtain explicit approval. If the directory is not writable, keep the confirmed conventions in the current session and explain that they were not persisted.
Route the request
Specific request
When the user asks for a specific result—such as showing suspended cards, searching for a topic, counting cards, reviewing a named deck, or rewriting a particular card—do that task rather than forcing the full guided flow.
- Read references/ankiconnect.md, then verify connectivity.
- Load saved conventions when relevant.
- Load only the task-specific references listed below.
- If the request depends on an unknown convention, perform only the relevant discovery, confirm the inference, and continue.
- For any mutation, use the approval workflow below.
Bare invocation or general request
For a bare invocation, “help me with my flashcards,” or another general request, drive this sequence yourself:
- Connect. Verify AnkiConnect. If unavailable, explain that Anki must be running with AnkiConnect installed, then stop.
- Conventions. Load
conventions.local.md. If it does not exist, run the discovery in references/conventions.md, confirm the inferences, and offer to save them. - Scope, then health check. First ask whether to focus on or exclude a particular deck before ranking — one large deck (e.g. a language or geography deck) can otherwise dominate the costliest list. Default to the whole collection. Then run references/health-check.md: explain what the collection is about, where cost concentrates, and which cards are costliest.
- Calibrate. If no saved
preferencesexist, run the preference interview in references/fixing-and-triage.md. Offer to save the resulting profile; do not write it without approval. - Hand back and stop. Do not begin fixing cards. Reassure the user that nothing will change without explicit approval, then ask where they want to start. Offer choices such as the costliest cards, a deck or note type, or their confirmed review-flag queue.
On later general invocations, skip discovery and calibration that are already saved, run the health check, and perform the same hand-back.
Approval workflow for every mutation
- Inspect. Read the current card, its note, all sibling cards generated by that note, tags, deck, note type, lapse signals, and the annotation field if one is configured.
- Resolve the destination. Check whether the note is Anki-native or externally authored.
- Propose a batch. Show 1–4 proposed edits at once; use one card for a heavy rewrite. For each item, show:
- card and note identifiers for traceability;
- current Front/Back or affected fields, tags, deck, and relevant cost signals;
- the exact before/after change or operation;
- all sibling cards or files that will be affected;
- the reason for the recommendation and its T0–T3 construction grade;
- ⚠ confirm beside any factual content not verified against the user's source.
- Stop for approval. Let the user approve all, some, none, or revised versions. Do not write yet.
- Apply only approved items. Use the source-of-truth route. Do not add a “changed” tag unless the user has approved the exact tag; otherwise skip tagging.
- Verify. Re-read each changed note or source file and report whether the applied content exactly matches the approved preview. For
multi, inspect every sub-result because batching is not transactional. - Finish. Summarise what changed and what did not. Suggest a manual AnkiWeb sync when appropriate; never trigger sync without explicit approval.
Deletion requires a separate, explicit confirmation after showing every card generated by the note. Re-aiming a target also requires a separate, explicit choice.
Load the relevant reference
- Connection, API calls, IDs, search syntax, external sources, mutation hazards: references/ankiconnect.md
- Discover and save flags, tags, fields, external-source rules, and style: references/conventions.md
- Collection orientation, cost scoring, hotspots, and content scan: references/health-check.md
- Preference discovery, costly-card decisions, fix batches, and triage: references/fixing-and-triage.md
- T0–T3 rubric and card-writing rules: references/card-writing.md
Use the bundled read-only scripts where their reference says to run them. Execute utility scripts rather than copying their source into the conversation.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

