Bury Explain

AnkiWeb addon 1712717227

Automatically buries cards failed repeatedly within a set time window and opens an AI chat explaining the card and auditing its formulation.
AI-generated summary; may contain mistakes.

aireview-flowleech

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2026-07-27
Anki versions
2.1.1~
License
AGPL-3.0 (from the GitHub repository)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

active

  • Last update or commit: 2026-08-30 (63 days before the snapshot).
  • Test files: 1.
  • Commits in the last year: 8.
  • Issues: 0 open, 0 closed.
  • Pull requests: 0 open, 1 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.1+2026-07-27
History across monthly snapshots

Loading…

Similar addons

AnkiExplain

Adds an Explain button and dockable sidebar that uses Gemini AI to generate flashcard explanations, mnemonics, related concepts, and follow-up chat, with streaming responses and customizable prompts.

aireview-flowshortcutsaccessibility

6 votes 61% approval πŸ‘ 6 Β· πŸ‘Ž 0 Anki 2.1.1~ Updated 2026-02-12
Bury After Fail Streak

Automatically buries cards failed three times consecutively in one day, with a configurable failure streak and a pause option in the Tools menu.

review-flow

2 votes 34% approval πŸ‘ 2 Β· πŸ‘Ž 0 ⭐ 1 Anki 2.1.63~ Updated 2023-06-06

Description

Bury Explain β€” AI help when you keep failing a card

Grinding the same card over and over doesn't build memory β€” it builds frustration. Bury Explain watches for cards you fail repeatedly and steps in: after you press "Again" too many times within a time window, it automatically buries the card for the day AND opens an AI chat with your card's question already searched, so you get a real explanation instead of another failed rep.

What it does

β€’ Auto-bury β€” cards that cross your fail threshold (default: 3 times in 24h) are buried automatically, so a leech stops eating your review session.

β€’ Instant AI explanation β€” the card's content is sent to your chosen AI with a prompt that asks for a simple explanation, a memory hook, and what you're likely confusing it with.

β€’ Card-formulation audit β€” the AI also checks your card against Piotr Wozniak's "Twenty rules of formulating knowledge" and suggests concrete rewrites for any rule it breaks. Often the reason you keep failing isn't you β€” it's the card.

β€’ 6 AI providers β€” ChatGPT, Claude, Perplexity, DuckDuckGo AI, Google AI, or any custom URL you point it at.

β€’ Built-in sidebar β€” opens the AI right inside Anki and keeps you logged in between sessions. Or set it to open your system browser instead. A plain-text "AI" button in the toolbar lets you toggle it anytime.

β€’ Minimalist options β€” one clean settings screen. Set your threshold, time window, provider, whether to bury, whether to tag, and edit the prompt however you like.

Fully configurable

Threshold, time window, AI provider, bury on/off, tag on/off, notifications, and the complete prompt template are all editable from a single options dialog (Tools β†’ Bury Explain Options, or the add-on's Config button).

Notes

Reviewing is never interrupted β€” if the AI provider is unreachable, Anki keeps working normally and the error is shown, not swallowed. Image-occlusion cards are skipped by default (there's no useful text to send).

Inspired by AJT Mortician (auto-bury), Anki Terminator (AI sidebar), and my own Bury Explain Bridge β€” reimagined as one clean-room add-on, plus a 20-rules card audit. No code from those add-ons is included; credited as inspiration only.

Open source (AGPL-3.0). Source, issues, and releases: https://github.com/TheLycoi/anki-bury-explain

Requires Anki 2.1.50+ (Qt6).

README

Bury Explain

AI help when you keep failing a card: auto-bury plus instant AI explanation.

What it does

Fail a card too many times in a short window and Bury Explain buries it, optionally tags it, and opens your preferred AI chat provider with the card's content pre-searched, so you get an explanation immediately instead of grinding the same card into the ground.

What it does not touch

Bury Explain only runs inside Anki's reviewer_did_answer_card hook, which fires after Anki has already written the review to its log and updated the card's scheduling state. So your fail is scored normally no matter what the add-on does next, and burying only moves the card's due date; it does not undo or backdate the grade. The add-on also never writes AI output into your notes or fields. It sends the card's text to whichever provider you configured and opens the reply in a sidebar or browser; nothing comes back into your collection.

Features

  • Auto-bury: cards that cross a configurable fail threshold within a time window are buried automatically.
  • 6 AI providers, including a custom URL, so you can point it at whatever chat tool you actually use.
  • Sidebar with persistent login, so you are not re-authenticating every session.
  • Top-toolbar "AI" button: a plain-text toggle to open or hide the sidebar at any time, no failure required.
  • Optional tagging: turn the tag off if you only want the bury plus AI help.
  • Minimalist single-dialog options: one screen, no nested settings maze.
  • Works offline-safe: reviewing continues normally if the AI provider is unreachable.

Install

From AnkiWeb: https://ankiweb.net/shared/info/1712717227, or in Anki go to Tools > Add-ons > Get Add-ons and paste the code 1712717227.

Manually: download the latest bury_explain.ankiaddon and double-click it to install into Anki.

Configuration

Key Description Default
enabled Turn the add-on on or off true
again_threshold Number of "Again" presses within the window before a card is buried 3
timeframe_hours Rolling window (in hours) the threshold is counted over 24
bury Whether matching cards are actually buried true
add_tag Whether the note is tagged when triggered true
tag Tag applied to buried cards (only when add_tag is on) buryexplain-leech
ignore_new_cards Skip cards still in the "new" queue false
skip_image_cards Don't trigger on image / occlusion note types true
show_notification Show an in-app notification when a card is buried true
provider Which AI provider to open ChatGPT
custom_url URL template used when provider is custom (empty)
open_in Where the provider opens, sidebar or browser sidebar
prompt_template Template used to pre-fill the AI query with the card's content; asks for a simple explanation, a mnemonic, likely confusions, and an audit against Wozniak's 20 rules of formulating knowledge with concrete rewrite suggestions built-in default

Building

Requires only the Python 3 standard library.

python3 build.py

Produces dist/bury_explain.ankiaddon, ready to upload to AnkiWeb or install manually.

Credits

Inspired by AJT Mortician (Ajatt-Tools, AGPL) and Anki Terminator by Shigeyuki. No code from either is included; this is an independent implementation. Not affiliated with either project.

License

GNU AGPL-3.0-or-later, required for Anki add-ons.