Leech Toolkit

AnkiWeb addon 368380974

1 other version of this addon exists. Compare versions ↓

Provides leech and lapse management tools including markers, reversal, custom automated actions, cross-device sync, browser options, reviewer shortcuts, and text macros.
AI-generated summary; may contain mistakes.

schedulingreview-flownote-managementleechshortcuts

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
22 (👍 15 · 👎 7)
Updated
2024-04-01
Anki versions
23.12.1~
License
MIT (from the license file in the package)
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

abandoned

  • Last update or commit: 2024-04-01 (944 days before the snapshot).
  • Commits in the last year: 0.
  • Issues: 16 open, 13 closed.
  • Pull requests: 0 open, 1 merged.
  • Median first response: 7 hours (19 answered issues and pull requests).
  • Outside pull requests: 100% of 1 merged.
  • Forks that may still be maintained: "🩸Leech Toolkit - Advanced leech tag management (Fixed by Shigeඞ)" (1633380637).

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.02.1.562023-01-25
23.10.123.12.1+2024-04-01
History across monthly snapshots

Loading…

Compare versions

The original addon and its forks. The best value in each column is in bold.

VersionWorks on Anki 26.09.3MaintenanceLast activity VotesApprovalGitHub starsNotes
Leech Toolkit this addon original likely abandoned 1 Apr 2024 👍 15 · 👎 7 47% 7
↳ 🩸Leech Toolkit - Advanced leech tag management (Fixed by Shigeඞ) (AI-detected; may be wrong) likely stale 30 Sep 2025 👍 12 · 👎 2 60% –

Forks can add features or work in a different way. Read the description before you change to another version. Fork detection is incomplete, so other versions can exist.

Similar addons

Anki Cascade - Sibling Card Auto-Unlocker

Automatically unsuspends sibling cards once prerequisite cards meet interval or review-count thresholds, with leech protection, unseen-card-only safety, notifications, a rules configuration window, and manual catch-up unlocking.

schedulingreview-flowleech

1 votes 21% approval 👍 1 · 👎 0 Anki 2.1.66~ Updated 2026-09-20
Leech Balancer has 1 fork →

Reduces a card's lapse count—or resets it to zero—after configurable consecutive correct answers, helping rehabilitate potential leech cards, with an optional notification.

schedulingleechfork-or-reupload

3 votes 44% approval 👍 3 · 👎 0 ⭐ 1 Anki 26.08.1~ Updated 2026-08-26
Leech Coach

Detects cards trending toward leech status when you press Again, checks their review history, and shows a short tooltip or popup urging you to pause and relearn without altering scheduling.

review-flowmotivationleech

2 votes 34% approval 👍 2 · 👎 0 Anki 25.09.4~ Updated 2026-05-29
Leech Detector

Detects and classifies leeches using lapse metrics, adding Browse search filters, Card Info status, stats/plugin support, and a Tools summary with per-deck counts.

statisticssearchleech

2 votes 34% approval 👍 2 · 👎 0 ⭐ 2 Anki 2.1.1~ Updated 2026-03-04

Description

Add additional tools for handling lapse counts and leeches in Anki!

Main Features

  • Leech Marks
  • Almost-Leech Marks
  • Bottom Bar Leech Button
  • Lapse & Leech Reversing
  • Custom Actions on Leech/Reverted Leech
  • Sync Card Lapse Counts and Updated Leech Statuses Across Devices
  • New Card Browser Options

  • Reviewer Shortcuts - Customizable shortcuts for leeching and un-leeching cards during reviews

Options

General - General options for UI elements and Lapse Reversing.

Actions - Optional leech/un-leech actions that can also override base Anki operations.

  • Set Flag - set the current flag
  • Suspend - set suspended state to on/off
  • Add Tag(s) - add tags
  • Remove Tag(s) - remove tags
  • Forget - forget the card and restore its initial state
  • Edit Field(s) - append, prepend, and/or replace text to note fields
  • Move to Deck - move the card to a specified deck
  • Set Due Date - reschedule the card between a range of days
  • Add to New - Add a card to the new queue with some custom match filters

Advanced - Options for hiding the config shortcut, syncing and updating the collection, and setting shortcuts.

Deck Options - Custom settings, per-deck, for updating lapses and performing custom leech/un-leech actions.

--These can be accessed in the legacy deck options menu (Shift + Options).

Text Macros

Custom text macros for filtering and outputting custom info during leech/un-leech actions:

  • %date - the current date based on the system's locale (e.g. 2022-10-01)
  • %reviews - the review count for the current card (e.g. 3)
  • %re: - Regular Expressions
  • Some Examples:
    • %re:captured_expression
    • %re:".*captured with spaces\W"
    • %re:\d\d\d\d-\d\d-\d\d (capturing the above date format)
  • %% - a single % (e.g. %%reviews outputs %reviews instead of applying the macro)

Bugs, Issues, and Suggestions:

Feel free to post any issues, feedback, and/or suggestions you have on GitHub!

Releases/Changelog

Source Code

Wish you the best! -koi

Support

Every bit helps and is greatly appreciated!

patreon.com/iamjustkoi

ko-fi.com/iamjustkoi

README

Leech Toolkit 🩸

Add additional tools and functionality for handling leeches in Anki!

Installation

Install from Anki-Web
Or go to "Tools -> Add-ons -> Get Add-ons..." and paste these numbers in:

368380974

Features

Leech Marker

Show a marker on cards that have been leeched.

Almost-Leech Marker

Show a marker on cards that are about to be leeched.

Bottom Bar Leech Button

Add a button to Anki's bottom bar whenever a leeches exist in decks.

Lapse & Leech Reverse

Lapse Reverse
Decrease or reset card lapses after a custom number of correct answers in a row.
Revert/Un-Leech Cards
Revert leeched cards when their lapse count gets below a custom threshold.

Custom Actions on Leech/Reverted Leech

An array of actions that can be customized to do a number of different things, automatically!
(More details under Options > Actions)

Update Lapses and Leech Status Across Devices

Sync reviews/performance with AnkiWeb and add a custom tag to leech cards (doesn't replace the default tag) that gets saved across devices.

New Browser Menu Options

New options for leeching, un-leeching, and setting lapses on cards!
Leech/Un-leech
Leech/Un-leech cards and perform custom actions based on the per-deck/global settings per card.
Set Lapses
Set lapse counts on cards and (optionally) update their leech status based on the new lapse count.

Reviewer Shortcuts

Customizable shortcuts to leech/un-leech cards during reviews

Options

General

General options for UI elements and Lapse Reversing.

Actions

Optional leech/un-leech actions that can also override base Anki operations.
  • Set Flag - set the current flag
  • Suspend - set suspended state to on/off
  • Add Tag(s) - add tags (with optional text macros see: Text Macros)
  • Remove Tag(s) - remove tags (with optional text macros see: Text Macros)
  • Forget - forget the card and restore its initial state
  • Edit Field(s) - append, prepend, and/or replace text to note fields
    • Example
  • Move to Deck - move the card to a specified deck
  • Set Due Date - reschedule the card between a range of days
  • Add to New - Add a card to the new queue with some custom match filters
    • Example

Advanced

Options for hiding the config shortcut, syncing and updating the collection, setting shortcuts, and adding some custom HTML for the leech marker.

Deck Options

Custom settings, per-deck, for updating lapses and performing custom leech/un-leech actions.
These can be accessed in the legacy deck options menu (Shift + Options).

Text Macros

Custom macros that can be accessed inside tag and field edits.
Also comes with some auto-complete features to see what can be used in a text box.

Available Macros:

  • %date - the current date based on the system's locale (e.g. 2022-10-01)
  • %reviews - the review count for the current card (e.g. 3)
  • %re: - Regular Expressions
    • Example Syntax:
      • %re:captured_expression
      • %re:".*captured with spaces\W"
      • %re:\d\d\d\d-\d\d-\d\d (capturing the above date format)
  • %% - single % (e.g. %%reviews outputs %reviews instead of applying the macro)

Bugs/Issues:

Please post any issues or feedback you might have on GitHub.

Happy studies! -koi

MIT License ©2022 JustKoi (iamjustkoi)