- Knownframe
- CookDex
- Docs
- Taxonomy tasks
Taxonomy tasks
Tags, categories, tools and cookbooks. Most taxonomy editing happens in Organize, which works on Mealie directly; tag-categorize assigns them to recipes. Duplicate tags and categories are merged by cleanup-duplicates.
Organize
Section titled “Organize”Organize edits what your recipes are grouped by (Tags, Categories, Tools, Cookbooks) and what their ingredients use (Foods, Units, Labels), right in Mealie. You rename, merge, delete and add entries; nothing changes until you apply. Each list has Suggested merges and Unused filters, with Merge all suggested and Delete all unused buttons. Starter sets add a suggested set of entries, and Export and Import move them as a JSON file.

Applying changes
Section titled “Applying changes”Staged changes collect in a tray at the bottom of the page. Click Review and apply to see them all before anything changes.
- Changes that could lose something (renames, merges, edits, and deleting entries that are in use) offer Back up Mealie first (recommended), ticked by default. If you’ve just made a backup, untick it to skip the wait. The sheet shows when CookDex last made one, for example “Last backup CookDex made: 2 hours ago”, read from CookDex’s own records, so showing it doesn’t ask Mealie anything. Backups made in Mealie itself aren’t in those records.
- Changes that only add entries or remove ones nothing uses don’t need a backup, and the sheet says so. Just before an unused entry is deleted, CookDex asks Mealie again and leaves it alone if something started using it, for example “3 foods use it now”.
Quick changes run beside a long job such as Link ingredients, unless they touch what that job is changing; changes with a backup first wait their turn. A waiting change says what it’s waiting for, and its Cancel button stops it before it starts: nothing changes, and your changes stay staged. Once changes are running, Stop ends them; changes already made stay. See When jobs wait.
If Mealie stops answering partway through, Organize stops there instead of trying each remaining change and waiting out its timeout. The changes it didn’t try stay staged, marked “Not tried: Mealie wasn’t answering”, so you can apply them again once Mealie answers.
Unused entries
Section titled “Unused entries”An entry is unused when no recipe uses it, or for labels, when no food has it. Unused (N) lists them and Delete all unused stages them all. While nothing uses any label yet, for example on a fresh library or right after adding a starter set, no labels are offered for removal.
A tag, category or tool that a cookbook’s filter uses isn’t unused, even with no recipes, since Mealie won’t delete it. It shows “Used by cookbook” with the cookbook’s name, stays out of Unused and Delete all unused, and its Delete button explains why it’s unavailable. To delete it, edit that cookbook’s filter first.
On Mealie 3.29 or newer
Section titled “On Mealie 3.29 or newer”Organize uses what Mealie 3.29 can do itself. Mealie 3.21 to 3.28 work as before.
- Faster Tools and Foods: it reads how many recipes use each tool and food straight from Mealie instead of counting them one by one, so Foods shows recipe counts and the Unused filter even on libraries with thousands of foods.
- Shopping lists count as use: the Unused filters for foods, labels and tools follow Mealie’s own list of what’s unused. A food or label that’s only on a shopping list shows Only on a shopping list and isn’t offered for removal, since Mealie won’t delete it.
- Native merges: label merges use Mealie’s own merge, which also moves shopping list items to the kept label, and tool merges use Mealie’s merge route. On older Mealie, recipes are moved one by one, as before.
Cookbooks
Section titled “Cookbooks”Each cookbook shows its rules as sentences with pills, such as “Category is any of Dinner Quick”, joined by “and”. A filter that isn’t only category, tag and tool rules, such as one with a rating, a total time or “has no value”, is shown as written and left unchanged.
tag-categorize
Section titled “tag-categorize”| Option | Type | Default | Description |
|---|---|---|---|
dry_run |
boolean | true |
Preview changes without writing anything. |
backup_first |
boolean | true |
Create a Mealie backup before a live run. Hidden while dry_run=true. |
method |
string | both |
both runs rules first then AI, rules uses rules only, ai skips rules. |
fill |
string | any |
What to Fill In: which recipes the AI looks at. any for recipes missing anything, or categories, tags or tools for recipes missing that. Hidden for rules. |
max_recipes |
integer | blank (all) | Try on at Most: send only this many recipes to the AI, to see its suggestions and what they cost before a full run. They’re taken in name order. Hidden for rules. |
recat |
boolean | false |
Re-process every recipe, including recipes that already have organization data. Hidden for rules. |
provider |
string | configured default | Override AI provider for this run. Hidden for rules. |
missing_targets |
string | skip |
skip missing taxonomy targets or create them automatically. Hidden for ai. |
Both the rule tagger and the AI tagger read a recipe again just before saving. One that was edited in Mealie during the run is skipped, with “changed in Mealie during the run” in the log, instead of having the lists read at the start put back.
Review an AI preview
Section titled “Review an AI preview”After a preview that used the AI, open the run and click Review changes. It lists each recipe and what it would get. Untick any you don’t want (Select all and Select none work on the whole list) and apply the rest. Applying uses the preview’s suggestions, so the AI isn’t asked again and you don’t pay for it twice.

- Each recipe is checked first. One that was deleted, edited or filled in since the preview is skipped and listed with the reason, and anything added to a recipe in the meantime is kept.
- Applying a review writes only the AI’s suggestions. After a Both preview, run Rules only to add the rule matches too.
- A preview can be applied for 30 days.
CookDex also keeps what the AI suggested for each recipe. A later run, including Apply now after a preview, reuses those answers for recipes whose name, description and ingredients haven’t changed, as long as your categories, tags, tools and AI model are the same. The run details count them as Reused AI answers.
Cookbook filters
Section titled “Cookbook filters”Each cookbook’s queryFilterString is a list of clauses joined with AND. CookDex accepts these clauses:
| Filter | Fields | Operators | Example |
|---|---|---|---|
| Categories | recipeCategory.name, recipe_category.id |
IN, NOT IN, CONTAINS ALL |
recipeCategory.name IN ["Dinner"] |
| Tags | tags.name, tags.id |
IN, NOT IN, CONTAINS ALL |
tags.name NOT IN ["Dessert"] |
| Tools | tools.name, tools.id |
IN, NOT IN, CONTAINS ALL |
tools.name IN ["Air Fryer"] |
| Foods | recipeIngredient.food.name, recipeIngredient.food.id |
IN, NOT IN, CONTAINS ALL |
recipeIngredient.food.name IN ["Chicken"] |
| Food labels | recipeIngredient.food.label.name, recipe_ingredient.food.label_id |
IN, NOT IN, CONTAINS ALL |
recipeIngredient.food.label.name IN ["Seafood"] |
| Rating | rating |
=, <>, >, >=, <, <= |
rating >= 4 |
| Total time | total_time_seconds |
=, <>, >, >=, <, <= |
total_time_seconds <= 1800 |
| Has a value | any field | IS NULL, IS NOT NULL |
tags.id IS NULL |
- Filters in an imported taxonomy file can use names. Organize resolves category, tag, tool and food-label names to Mealie ids when the change is applied, after any tags or categories created in the same batch. A name that can’t be found fails that cookbook with a message.
ratingis the recipe’s average rating across all users, from 0 to 5. Unrated recipes never match a rating clause, includingrating < 3.total_time_secondsis in seconds. Mealie 3.29’s cookbook editor writes total-time and “has no value” / “has a value” filters; CookDex reads them, so they no longer stop unused entries from being deleted (“A cookbook filter couldn’t be checked”).- Rating filters need Mealie v3.25 or later, food-label filters v3.28 or later, and total-time and “has a value” filters v3.29 or later. When an older Mealie rejects one of these filters, Mealie’s error is shown for that cookbook.
Example: rating >= 4 AND recipeIngredient.food.label.name IN ["Seafood"].
Retired: taxonomy-refresh and cookbook-sync
Section titled “Retired: taxonomy-refresh and cookbook-sync”Both pushed CookDex’s own copy of the taxonomy to Mealie. Organize now edits Mealie directly, so they were removed along with the Taxonomy Editor. On upgrade, CookDex saves whatever the old copy held (and any unpublished editor draft) to reports/retired-managed-taxonomy-<time>.json, which you can import in Organize, and turns off schedules that used either task with a note saying why.