Deck Guard

AnkiWeb addon 1937975249

Checks configurable field rules before notes are saved, offering to keep, move to a suggested deck, or cancel, with graphical settings, priorities, regex matching, and session ignores.
AI-generated summary; may contain mistakes.

card-creationdeck-management

Open on AnkiWeb Ask about alternatives

AnkiWeb

Votes
0 (👍 0 · 👎 0)
Updated
2026-10-11
Anki versions
2.1.1~
Languages
Python, JSON
Description language
en

Maintenance

active

  • Last update or commit: 2026-10-11 (21 days before the snapshot).

GitHub

No GitHub repository linked.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.1+2026-10-11
History across monthly snapshots

Loading…

Similar addons

Inline CSS Cleanup

Extracts and deduplicates inline CSS from selected note fields, moves it to a shared media file, then inserts import links—optionally handling repeated inline styles, base64 images and Yomitan media references—to shrink collections.

sync-integrationnote-managementformattingbackup-maintenance

2 votes 34% approval 👍 2 · 👎 0 ⭐ 7 Anki 23.12~ Updated 2026-09-14

Description

Deck Guard

Deck Guard helps prevent notes from being accidentally added to the wrong deck by checking configurable rules before they are saved.

Features

  • Choose any source deck and suggested deck
  • Create and prioritize multiple rules
  • Optionally include subdecks
  • Inspect the first field or any named field
  • Internal whitespace detection
  • No-internal-whitespace detection
  • Text matching
  • Regular expressions
  • Starts with / Ends with
  • Minimum word count
  • Empty / non-empty field checks
  • Keep Current / Move to Suggested / Cancel
  • Permanently ignore an exact field value
  • Ignore a rule for the current session
  • Pause Deck Guard for the current session
  • Rule duplication and ordering
  • Rule-cycle detection
  • Graphical settings window

Example

If multi-word expressions belong in a separate deck:

Source Deck: Vocabulary
Suggested Deck: Phrases
Field: Word
Condition: Contains internal whitespace

Adding pass up to Vocabulary will trigger Deck Guard before the note is saved.

Compatibility

Desktop Anki standard Add window.

License

MIT License