You ask in plain words
With whatever notes or documents you already have.
What do I need to buy for this week’s meals, given what’s already in the cupboards?
Make one shopping list. New packs are suitable through Wednesday.
Your notes
Monday soup needs carrots 450 g. Wednesday stew needs carrots 350 g. Lot C1 carrots 500 g use by Monday. C2 carrots 200 g use by Thursday, 50 g reserved. Shop carrots in 500 g packs.
Your agent answers with a checked method
It runs 4 checks before it replies.
Your agentUsing this skill
Buy one 500 g pack of carrots. Use 450 g from C1 for Monday, then 150 g from C2 and 200 g from the new pack on Wednesday. The 50 g reserved from C2 stays available for its other meal.
- An unopened pack marked for another recipe is unavailable to the current plan.
- Rounding each day's small shortfall to a whole pack independently can double the purchase.
- Counting a can by its net weight when the recipe wants drained weight: 600 g of drained chickpeas at 240 g a can needs three cans, not two.
- Using leftover stock from a lot for a meal after its use-by date because some is still there.
Why that’s right. The unused 50 g from C1 cannot cover Wednesday. C2 has only 150 g available.
Is it the right skill?
What it’s for, and when another skill or a person is the better choice.
Use it when
- Someone has a week of planned meals and a list of what is in the fridge, freezer and cupboards.
- Someone wants to use food before its use-by date and buy only the shortfall.
- Someone asks how many tins, bags or packs to buy across several recipes.
Not the right skill when
- Judging whether food past its use-by date is still safe. In the UK a use-by date marks when food is no longer safe to eat, so expired stock is left out, not assessed.
- Costing the meals. Use the Calculate ingredient cost per portion skill.
- Nutrition or special-diet planning. This skill matches quantities only.
The method it follows
6 steps, in order, every time.
- Put the meals in date order and list each ingredient's quantity per meal in the recipe's unit and form (fresh, frozen, tinned, drained, dry).
- List stock lots with quantity, unit and date, and take out anything reserved for another use. Keep different forms separate unless a stated yield converts them; for drained ingredients use the can's drained weight, not its net weight, for both stock and new packs.
- Allocate stock meal by meal in date order, using the lot with the earliest date first. A lot can serve a meal only on or before its use-by date. Carry each lot's remainder forward so nothing is counted twice.
- Treat date labels correctly. Under UK guidance a use-by date marks when food is no longer safe to eat, while food is usually safe after its best before date but may be lower in quality. Leave out use-by stock past its date and flag unknown or unreadable dates rather than judging by look or smell. Food frozen before its use-by date can be used, within 24 hours of defrosting.
- Total each ingredient's shortfall across the shopping period in one unit, then round up once to whole packs. Do not round each meal's shortfall separately.
- Check the new packs will stay in date until the last meal they serve. If not, split the shop by date or leave that pack count open until the shopping date is settled.
What to have ready
If something’s missing, your agent asks before it starts.
- Dated meals with per-meal ingredient quantities, stock lots with quantities and use-by dates, and any items already reserved.
- Pack sizes and units for items that need buying, plus whether the purchases can serve all the planned dates.

What is in stock, how much of each item, and what use-by or best before date is on each? Is any of it set aside for something else?

When will you shop, and will items bought then still be in date for the later meals?

What pack sizes does your shop sell, and for tins, is the recipe amount drained or including the liquid?
Try it on your own AI
A new question with a known answer, so you can check your AI gets it right.
-
Copy the questionWhat do we need for both nights? New stock lasts the week. Return only JSON following the skill’s test format. Friday noodles use peas 190 g, Saturday pasta uses peas 190 g. Frozen bag P1 has 100 g available for either meal. Peas sold in 300 g bags.
-
Ask your AI in a new chat
Give it this skill first, then paste the question. It replies with a short block of data in the format the skill asks for.
-
Show the answer and why
Combining the shortfall lets one 300 g bag cover both meals.
{
"stock_used": {
"P1": 100
},
"shortfall": {
"peas": 280
},
"buy_packs": {
"peas": 1
}
}
The check runs in your browser. Nothing you paste is sent anywhere.
-
Copy the questionShop for Tuesday using stock and unopened tins suitable on the meal date. Return only JSON following the skill’s test format. Need 600 g drained chickpeas and 500 g dry pasta on Tuesday. Lot C contains 2 cans, 400 g net/240 g drained each, one whole can reserved. Lot P contains 0.5 kg dry pasta. Store sells the same chickpea cans and 500 g pasta packs. Report stock in cans and kg, shortfalls in recipe grams.
-
Ask your AI in a new chat
Give it this skill first, then paste the question. It replies with a short block of data in the format the skill asks for.
-
Show the answer and why
One available can provides 240 g. The remaining 360 g needs two new cans, leaving 120 g of usable chickpeas from those purchases.
{
"stock_used": {
"C": 1,
"P": 0.5
},
"shortfall": {
"chickpeas": 360,
"pasta": 0
},
"buy_packs": {
"chickpeas": 2,
"pasta": 0
}
}
The check runs in your browser. Nothing you paste is sent anywhere.
Where the method comes from
Free to use and adapt with credit (CC BY 4.0).
Use this skill in Raq.com
Add it to your Skill Library and your agent applies it whenever a request matches. Edit it for your own business and keep every version.