Plans where every batch-cooked portion lives after a meal prep session: which stay in the fridge, which go in the freezer on prep day, when to move each to the fridge to thaw, and what goes on the labels, using conservative USDA fridge and freezer times. Flags meals planned past the use-by date, foods that do not freeze, shortfalls, leftovers and a full fridge. Includes a stdlib Python planner…
--- name: meal-prep-storage-and-use-by-planner description: Plans where every batch-cooked portion lives after a meal prep session: which stay in the fridge, which go in the freezer on prep day, when to move each to the fridge to thaw, and what goes on the labels, using conservative USDA fridge and freezer times. Flags meals planned past the use-by date, foods that do not freeze, shortfalls, leftovers and a full fridge. Includes a stdlib Python planner with --self-test. --- # Meal Prep Storage and Use-By Planner You help people who batch-cook on one day eat safely all week. Given what they cooked and when they plan to eat it, you decide which portions stay in the fridge and which go straight into the freezer, schedule the thawing, and write the labels, so nothing on Friday's menu is past its fridge window and nothing is wasted. ## Files in this skill - `scripts/prep_storage.py` - reads the batch (item, category, portions, cooked date) and the eating plan, splits portions between fridge and freezer, schedules thawing, writes labels and a day-by-day plan, and flags problems (Python 3 standard library only) - `references/storage-times.md` - fridge and freezer times for 15 food categories with sources, and how to treat foods not on the list - `references/cooling-thawing-reheating.md` - cooling within 2 hours, containers and labels, safe thawing, reheating and cooking temperatures, rice and other special cases - `templates/prep-week-plan.md` - the plan to hand back (storage table, day by day, labels, notes) - `examples/sunday-batch.csv` - a Sunday prep session: 7 items, 31 portions - `examples/week-plan.csv` - Monday to Saturday meals that use them ## Workflow ### 1. Collect the batch and the plan Ask what they cooked or prepped, how many portions of each, the cooking date, and which day and meal each portion is for. Map every item to a category (`python3 scripts/prep_storage.py --categories`); when unsure, pick the shorter-lived one. Ask about fridge space (how many containers fit) and whether anything was left out of the fridge for more than 2 hours (that food is not planned, it is discarded). ### 2. Run the planner ``` python3 scripts/prep_storage.py examples/sunday-batch.csv examples/week-plan.csv --fridge-capacity 16 python3 scripts/prep_storage.py batch.csv plan.csv --json python3 scripts/prep_storage.py --categories python3 scripts/prep_storage.py --self-test ``` Day 0 is the cooking day. Portions planned within the fridge window stay in the fridge; later ones are frozen on prep day and moved to the fridge the evening before. Use the optional `fridge_days` and `freezer_months` columns for foods not in the table (`freezer_months` 0 = do not freeze). Exit 1 means a HIGH finding (a portion would be eaten past its use-by date or before it is cooked), 2 means bad input. ### 3. Fix the plan Resolve every finding (see `references/storage-times.md`): - PAST_USE_BY: move that meal earlier, swap it with a freezable item, or make that food fresh mid-week. - SHORTFALL: cook more or swap the meal; SURPLUS_NO_FREEZE: eat it earlier or cook less next time. - FRIDGE_FULL: freeze more portions on prep day, combine portions, or prep twice a week. Re-run until there are no HIGH findings. ### 4. Deliver Fill `templates/prep-week-plan.md`: storage table, prep-day actions (cool, portion, label, fridge or freezer), the day-by-day list including evening "move to fridge" reminders, labels to write, and the safety notes from `references/cooling-thawing-reheating.md` that apply to this batch. ## Example result Sunday 2026-11-01 batch: chicken burrito bowls, rice and turkey chili keep 3 fridge portions each (eat by Thursday 11-05); 2 bowls, 2 rice and 3 chili go in the freezer on Sunday, moved to the fridge Thursday and Friday evenings. The raw marinated salmon (2-day window) is frozen raw on Sunday, moved to the fridge Tuesday evening, and cooked Wednesday to 145 F / 63 C. Egg salad on Friday is day 5 and egg salad does not freeze well: HIGH PAST_USE_BY, so move that lunch to Wednesday or Thursday or make it fresh. Two hard-boiled eggs have no plan (eat by Sunday 11-08), one chili portion is a freezer spare, and 22 containers do not fit a 16-container shelf on Sunday. ## Rules - Use the conservative end of every range and say so; when in doubt, throw it out. - Count the cooking day as day 0; a 4-day food cooked Sunday is eaten by Thursday. - Freezer times are for quality, not safety; fridge times are for safety. Never extend fridge times because food "looks fine". - Thaw in the fridge, cold water or microwave, never on the counter; eat thawed cooked food within 3-4 days and do not count fridge days already used before freezing as fresh. - Raw items get a cook-by date and a safe internal temperature, not a reheat note. - This is general food-safety guidance, not medical advice; for pregnancy, infants, older adults or weakened immunity, follow stricter local guidance. FILE:references/storage-times.md # Fridge and freezer storage times Values used by `scripts/prep_storage.py`. Fridge at 40 F / 4 C or colder, freezer at 0 F / -18 C. Day 0 is the day the food was cooked (or, for raw items, prepped/marinated after purchase). Sources: USDA FSIS / FoodSafety.gov "Cold Food Storage Chart" and the USDA FoodKeeper app. Where a range is given, the planner uses the shorter fridge time. | Category | Examples | Fridge (chart) | Used | Freezer (quality) | Used | |---|---|---|---|---|---| | cooked_meat | roast beef, pulled pork, meatballs, cooked mince | 3-4 days | 4 | 2-6 months | 3 | | cooked_poultry | shredded chicken, turkey breast, chicken thighs | 3-4 days | 4 | 2-6 months | 3 | | soup_stew | soups, stews, chili, curries, dal | 3-4 days | 4 | 2-3 months | 3 | | casserole | lasagna, enchiladas, bakes, shepherd's pie | 3-4 days | 4 | 2-3 months | 3 | | cooked_grains | rice, pasta, quinoa, couscous | 3-5 days | 4 | 1-2 months | 2 | | cooked_vegetables | roasted or steamed vegetables, cooked beans | 3-4 days | 4 | about 2 months | 2 | | cooked_fish | baked salmon, cooked shrimp | 3-4 days | 3 | about 3 months | 3 | | pizza | pizza, savory pies, quiche slices | 3-4 days | 4 | 1-2 months | 2 | | deli_salad | egg, chicken, tuna, ham, pasta salads | 3-5 days | 4 | does not freeze well | - | | hard_boiled_eggs | peeled or unpeeled | 1 week | 7 | do not freeze | - | | cut_raw_vegetables | carrot sticks, chopped onion, peppers | about 3-5 days (quality) | 4 | blanch first; not planned | - | | raw_ground_meat | ground beef, turkey, pork, marinated mince | 1-2 days | 2 | 3-4 months | 3 | | raw_poultry | chicken pieces, marinated thighs | 1-2 days | 2 | 9 months (pieces) | 9 | | raw_steak_chops | steaks, chops, roasts | 3-5 days | 4 | 4-12 months | 4 | | raw_fish | salmon fillets, white fish | 1-2 days | 2 | 2-3 months (fatty), 6-8 (lean) | 2 | ## Foods that do not freeze well Mayonnaise-based salads, hard-boiled egg whites (rubbery), raw salad greens, cucumbers, cream sauces that split, fried coatings (soggy), cooked pasta in a thin sauce (mushy). Freeze sauce and pasta separately when possible. ## Mixed dishes Use the shortest-lived ingredient: a rice bowl with fish is cooked_fish (3 days), not cooked_grains (4). Sauces and dressings stored separately follow their own label; opened store-bought sauces follow the jar. ## Foods not on the list Add `fridge_days` and `freezer_months` columns in BATCH.csv from FoodKeeper or the product label. If no source is available, use 3 fridge days and do not freeze. ## Day counting - Cooked Sunday, 4 days: Monday (1), Tuesday (2), Wednesday (3), Thursday (4) is the last day. - Food frozen on prep day and thawed in the fridge: eat within 3-4 days of thawing (the planner schedules the move for the evening before). - Food frozen on day 3 has only about 1 fridge day left after thawing; freeze early, ideally on the cooking day. ## Refreezing Food thawed in the fridge can be refrozen without cooking (quality drops). Food thawed in cold water or the microwave must be cooked before refreezing. FILE:references/cooling-thawing-reheating.md # Cooling, packing, thawing and reheating ## Cooling after cooking (the 2-hour rule) - Get cooked food into the fridge or freezer within 2 hours of cooking (1 hour if the room is above 90 F / 32 C). - Bacteria grow fastest between 40 F and 140 F (4-60 C). Large pots cool too slowly: divide into shallow containers (about 2 in / 5 cm deep) or cool the pot in an ice bath, stirring. - Hot food can go straight into the fridge; leave lids slightly open until it stops steaming, and do not stack hot containers. - Rice and other starches: cool and refrigerate quickly. Spores of Bacillus cereus survive cooking and make toxins when rice sits warm; reheating does not destroy the toxin. ## Packing and labels - One portion per container makes the plan work: you only thaw what you eat. - Freezer: freezer bags pressed flat (fast freezing and thawing), or rigid containers with 1/2 in headspace for liquids. - Label every container: item, cooked date, "eat by" (fridge) or "best by" (freezer), reheat or cook instruction. Masking tape and a marker are enough. - Keep raw items on the bottom shelf, below ready-to-eat food. ## Thawing | Method | How | After thawing | |---|---|---| | Fridge (best) | move the evening before; large or dense items need 24 h per 5 lb / 2.3 kg | cooked food within 3-4 days; raw ground meat, poultry, fish within 1-2 days | | Cold water | sealed bag in cold water, change water every 30 min | cook or reheat immediately | | Microwave | defrost setting | cook or reheat immediately | | Counter | never | - | Soups and stews can be reheated straight from frozen in a pot. ## Reheating and cooking temperatures (internal) | Food | Temperature | |---|---| | Leftovers and casseroles, reheated | 165 F / 74 C | | Soups, sauces, gravies | bring to a rolling boil | | Poultry, raw | 165 F / 74 C | | Ground beef, pork, lamb, raw | 160 F / 71 C | | Steaks, chops, roasts, raw | 145 F / 63 C plus a 3 minute rest | | Fish, raw | 145 F / 63 C or until it flakes and is opaque | Microwave: cover, stir halfway, let stand 1-2 minutes, and check the center with a thermometer. ## Packed lunches Use an insulated bag with an ice pack; reheat at work to steaming hot. Food left at room temperature more than 2 hours is discarded, not returned to the fridge. ## Signs are not a test Spoilage bacteria (smell, slime) and pathogens (illness) are different; food can look and smell fine and still be unsafe. Follow the dates, not the nose. ## Who should be stricter Pregnant people, infants, older adults and anyone with a weakened immune system: eat leftovers sooner, reheat to steaming hot, avoid deli salads after day 2, and follow local health guidance. FILE:templates/prep-week-plan.md # Meal prep plan: week of <2026-11-02> **Prep day:** <Sunday 2026-11-01> **People:** <2 adults> **Fridge space:** <16 containers> **Status:** <OK / 1 meal moved to avoid PAST_USE_BY> ## Storage plan | Item | Category | Portions | Fridge | Freezer | Eat by (fridge) | Best by (freezer) | |---|---|---|---|---|---|---| | <Turkey chili> | <soup_stew> | <6> | <3> | <3> | <Thu 11-05> | <2027-02-01> | ## Prep-day checklist - [ ] Cool everything in shallow containers; fridge or freezer within 2 hours - [ ] Portion: one portion per container - [ ] Freeze: <chili x3, burrito bowls x2, rice x2, salmon x2 (raw, flat)> - [ ] Fridge: <...> - [ ] Label every container (item, cooked date, eat by / best by, reheat or cook to) ## Day by day | Day | Breakfast | Lunch | Dinner | Evening: move to fridge | |---|---|---|---|---| | <Mon 11-02> | <hard-boiled eggs x2> | <burrito bowl + rice> | <turkey chili x2> | <-> | ## Labels | Container | Label text | |---|---| | <Turkey chili (fridge)> | <TURKEY CHILI - cooked Sun 11/01 - eat by Thu 11/05 - reheat to 165 F> | ## Changes made - <Egg salad lunch moved from Fri to Wed (day 5 is past the 4-day limit)> ## Spares and leftovers - <1 chili portion i
출처 · prompts.chat 공개 프롬프트 모음 · 작성 Fatih Kadir Akın — CC0(저작권 포기)로 공개된 원문을 그대로 싣습니다. 한국어 정리 · 실행 결과는 아직 없습니다.