---
name: forgotten-in-the-freezer
description: Finds the food that has been sitting longest in the freezer or at the back of the pantry and proposes three dinners that use it up. Use when the user asks what is old or forgotten in the freezer, wants to clear out the freezer or pantry, asks "what should I use up first", or wants dinner ideas from things they forgot they had. Reads the Savera kitchen connector when it is connected; otherwise works from a list or photo the user provides.
---

# Forgotten in the freezer

Surface up to five items the household has probably forgotten about, then turn them into three dinners.

## Triggers

Use when the user:

- asks what is old, forgotten or needs using up in the freezer or pantry
- wants to empty the freezer or pantry before a holiday, a move or a big shop
- asks for dinner ideas from things they forgot they had

Do not use when the user:

- wants a full plan for the week (use `week-from-whats-home`)
- is checking a shopping list (use `is-it-at-home`)
- asks whether a specific food is still safe to eat. Give storage facts; do not give a safety verdict.

## Requirements

- Optional: the Savera connector, with the tools `Savera:get_kitchen_context` and `Savera:get_kitchen_items`. The connector may appear under the name the user gave it. These two tools only read; this skill changes nothing in the kitchen.
- Without the connector: a list or a photo of the freezer from the user.

## Steps

1. **Read the zone.**
   - Connector available: call `Savera:get_kitchen_context`, then `Savera:get_kitchen_items` with `zone` set to `freezer` and `status` set to `have`, `low` and `unknown`. Read the pantry as well only if the user mentioned the pantry or cupboards.
   - Connector not available: ask once for a list or a photo of the freezer. Dates will be unknown; say so in the answer.
2. **Pick the forgotten finds**, up to five. Rank by `first_seen_at`, oldest first. Prefer single, unusual items over staples the household clearly restocks (several packs of the same thing, a recent `last_seen_at`).
3. **Compare with typical storage time.** For each pick, state how long it has been there. If that is longer than the usual freezer time for that kind of food, say so and label the usual time as general guidance. An item's `use_by_estimate` is Savera's own estimate from a typical shelf life, not a date from the label.
4. **Propose three dinners.** Each one uses at least one forgotten find. Use other home items only if their status is `have` or `low`. List at most three things to buy per dinner.
5. **Add the thaw step.** For each dinner, name what has to move from the freezer to the fridge the evening before.

## Output

```
FORGOTTEN FINDS
1. Duck legs, 2 (in the freezer since 3 Aug)
2. Frozen spinach (since 20 Jun)
3. Puff pastry (since 2 May; usual freezer time is about 6 months, so quality may have dropped)

THREE DINNERS
1. Duck legs with braised lentils
   From home: duck legs, lentils, onions
   Buy: carrots
   Evening before: move the duck legs to the fridge
2. ...
3. ...
```

## Edge cases

- **Freezer never scanned or stale.** State the last scan date, or that the freezer was never scanned, before the list. Items with status `unknown` may no longer be there: mark them "not confirmed since" with the date.
- **Too few items.** With fewer than three usable items, propose fewer dinners. Do not pad the list.
- **Unidentified items.** List an "unlabelled container" as unidentified. Do not guess what is inside.
- **No dates.** Without the connector there are no dates. Skip the ranking by age, say the dates are unknown, and ask at most one question: which items the user thinks are oldest.
- **The user cooked one of the dinners.** The connector cannot change the kitchen. Do not say anything was recorded.
- **Never invent.** An item counts as at home only if a tool returned it or the user said so in this conversation.
- **No promotion.** Do not recommend products, shops or services, Savera included.
