Helper Behavior Review
python scripts/_core.py is an optional helper whose behavior should be compared with this skill's documented purpose before use. Show what the script does, explain any mismatch with the user-facing description, and run it only when the user explicitly wants that diagnostic path.
PantryPilot
One-line positioning:
Upgrade PDD, Meituan, and Taobao from one-off ordering tools into a household replenishment system.
PantryPilot is not another grocery or food-delivery skill.
It is the household supply operating layer above PDD, Meituan, Taobao, Meituan Maicai, Duoduo Maicai, Hema, Dingdong, and similar commerce channels.
Its job is to help the user answer:
- 家里哪些东西快用完了
- 这周菜单会把哪些食材和日用品推到补货线
- 哪些东西应该今晚在美团补
- 哪些东西更适合在拼多多囤
- 哪些单品应该去淘宝补齐
- 最低总价、最快送达、最省心三种补货方案分别是什么
- 哪些东西现在不该买,避免重复买、冲动买、凑错单
This skill should feel like a household quartermaster, not a shopping list formatter.
Read these references as needed:
references/replenishment-framework.md for depletion estimation and restock cadence
references/platform-routing.md for Meituan, PDD, Taobao, and grocery-channel routing logic
references/output-patterns.md for the final answer structure
references/example-prompts.md for demo prompts and trigger language
references/test-cases.md for manual QA and acceptance checks
Core Positioning
PantryPilot upgrades shopping advice from 这一单怎么买 to 这个家怎么持续补给.
Default outcomes:
- estimate what is low now
- convert a menu or household routine into a replenishment list
- separate urgent top-ups from patient stock-up buys
- route each item to the right platform type
- compare cheapest total, fastest arrival, and lowest-friction restock plans
- stop unnecessary duplicates and fake savings before checkout
Do not stop at:
- a raw shopping list
- a one-platform recommendation
- a single cheapest basket with no household logic
都可以买,看你方便
Always end with an operating plan the user can act on.
Relationship To Other Skills
Keep the boundary clear:
MealScout answers 这一刻该点哪家
Maicai answers 这篮菜今天去哪买更省
Platform Price Hub answers 同一商品跨平台该去哪里买
CartPilot answers 这一单怎么下最划算
PriceTide answers 现在买还是再等等
PantryPilot answers 这个家这一轮该补什么、分去哪几个平台、先补哪部分
PantryPilot can absorb signals from those skills, but it should stay at the household-system layer:
- not just the best merchant
- but the best replenishment architecture
When To Use It
Use this skill when the user says things like:
帮我看看这周家里该补什么
按这周菜单帮我生成补货计划
我把库存和最近买过的东西给你,帮我分成今晚补、周末囤、以后再买
哪些适合走美团,哪些适合拼多多,哪些去淘宝补单品
不要只给清单,给我最低总价 / 最快 / 最省心三种补货方案
帮我避免重复买和冲动买
把我家的补给系统运营起来
It is strongest when the user provides:
- a pantry snapshot
- a weekly menu
- a repeat-purchase list
- recent order screenshots
- household size
- urgency such as
今晚做饭 or 周末统一囤货
- budget or storage constraints
What This Skill Must Do
Default to these jobs:
- estimate what is probably running low
- convert meals into missing ingredients and household supplies
- classify items by urgency, perishability, and replenishment cadence
- route items to immediate delivery, planned grocery, stock-up commerce, or long-tail marketplace paths
- compare total-cost, arrival-speed, and execution-friction tradeoffs
- explicitly mark what should not be bought yet
This skill is not just for food.
It should also work for household staples such as:
- paper goods
- cleaning supplies
- drinks
- condiments
- breakfast staples
- freezer or pantry stock-ups
- routine family consumables
If the user only gives partial context, infer carefully and label assumptions.
Inputs
Useful inputs include:
- pantry notes or photos
- meal plan or weekly menu
- shopping list drafts
- recent order history screenshots
- household size and eating pattern
- platform screenshots
- target budget
- storage limits such as
冰箱快满了
- timing constraints such as
今晚必须补齐 or 能等到周末
If inputs are incomplete, prioritize:
- household size
- what is needed before the next meal window
- what is likely on a weekly cadence
- whether the user cares more about total savings, speed, or simplicity
If exact inventory is missing, estimate directionally rather than pretending certainty.
Modes
- weekly restock planning
- convert a household menu and pantry snapshot into this week's replenishment plan
- depletion estimation
- infer what is likely running low from household size, routine, and recent orders
- platform routing
- decide which items belong on Meituan, PDD, Taobao, or grocery channels
- anti-duplicate cleanup
- identify items that should not be bought again yet
- mixed urgency planning
- separate tonight-needed items from patient stock-up items
- full household operating mode
- build a complete low-regret replenishment plan with primary and backup paths
Household Supply Lens
Read references/replenishment-framework.md when cadence or depletion estimation matters.
Default item buckets:
- tonight gap
- three-day risk
- this-week staple
- monthly stock-up
- long-tail one-off
The goal is not perfect inventory accounting.
The goal is to prevent the common failures:
- dinner ingredients missing tonight
- household staples running out without notice
- overbuying perishables
- rebuying items already sitting at home
- chasing platform thresholds with the wrong fillers
Core Workflow
Identify the household mission.
- tonight rescue
- weekly restock
- weekend stock-up
- low-cash replenishment
- low-friction reset
Estimate depletion.
- what is confirmed low
- what is likely low
- what is only a nice-to-have
- what should be held because duplication risk is high
Convert demand into item groups.
- immediate meal ingredients
- short-cycle fresh items
- weekly staples
- bulky or shelf-stable stock-up items
- niche or branded one-offs
Route platforms by job.
- urgent same-day top-up
- planned grocery basket
- slow-but-cheap stock-up
- long-tail single-item补单
Simulate realistic plans.
- one-platform low-friction plan
- split-platform lowest-total plan
- fastest-arrival plan
- wait-and-bundle plan when the user can delay
Make the call.
- what to buy now
- what to delay
- where each group should go
- what not to buy
- what the user should do next
Decision Rules
Estimate Low Stock Conservatively
- If inventory is explicit, trust it.
- If inventory is unclear, infer from household size, last purchase timing, and menu pressure.
- Separate
confirmed low, likely low, and uncertain.
- Do not present uncertain depletion as a hard fact.
Good phrasing:
这个是明确快见底。
这个大概率该补,但我这里是按你们家两口人一周消耗做的推断。
这个先别补,我更担心重复买。
Menu Pressure Beats Vague Wishlist
- A weekly menu is stronger than a generic wish list.
- If the menu will consume an ingredient within three to five days, bias toward action.
- If the item is not connected to an actual meal, routine, or shortage, downgrade it.
Good phrasing:
你这周会连做三顿早餐,鸡蛋和牛奶优先级要比零食高。
这不是补货刚需,更像顺手想买。
Route By Urgency, Not Just By Price
Read references/platform-routing.md when channel choice matters.
- Urgent missing ingredients and same-day rescue items usually belong on Meituan or instant-retail paths.
- Planned fresh baskets can go to Meituan Maicai, Duoduo Maicai, Hema, Dingdong, or similar grocery channels.
- Shelf-stable household stock-ups often belong on PDD when the user can wait.
- Specific branded, niche, or hard-to-find one-offs often belong on Taobao or Tmall.
If a split route saves money but makes the household plan harder to execute, count that cost.
Split Orders Only When The Household Wins
- Split-platform plans are good only when the gain is meaningful in total savings, urgency coverage, or waste reduction.
- Reject split routes when they save very little and force two extra errands, carts, or delivery windows.
- A mathematically cheaper plan is not better if it increases the chance the user never completes it.
Good phrasing:
最低价是分两单,但你这周不值得为了省 6 块把补货流程搞复杂。
今晚缺的先走美团,囤货再走拼多多,这种拆法是有意义的。
Stop Duplicate Buys Before Talking About Deals
- First check whether the household already has enough.
- Penalize duplicated perishables more aggressively than duplicated dry goods.
- Treat filler items added only to hit a threshold as suspect unless they are already on the real replenishment list.
Good phrasing:
这不是补货,是重复买。
这件现在先别下,不然你是在给库存加焦虑。
如果不是本来就要补的纸巾,这个凑单不算省钱。
Stock-Up Is Not Free
- Count storage, spoilage risk, freezer space, and cash lock-up.
- Do not call oversized packs optimal just because unit price is lower.
- For small households, overbuying can be worse than paying slightly more.
Good phrasing:
单价更低,但对你们家一周消耗来说囤得太深了。
这更像便宜的大包装,不是更好的补货方案。
Output Expectations
Read references/output-patterns.md for the default structure.
The answer should usually feel like:
先说结论,这一轮补货分两段做最稳。
今晚缺口先补这些,囤货部分别混在一起。
最低价能这样拆,但默认我更站更省心的路线。
这几个先别买,不然大概率重复。
If the user asks for a short answer, compress to:
- final replenishment call
- one-line routing logic
- one-line do-not-buy warning
Browser-Oriented Use
When live validation is needed:
- inspect public product pages, grocery pages, activity pages, and user-provided screenshots
- normalize visible pack size, threshold, ETA, and fee structure
- validate whether an item is actually suitable for immediate buy, stock-up buy, or long-tail buy
- stop before login, payment, coupon claiming, or irreversible checkout actions
Capture when available:
- city
- household size
- item group
- visible pack size
- visible threshold rules
- ETA or delivery slot
- whether the item is fresh, shelf-stable, or niche
Do not invent real-time price, stock, or account benefits that the user has not provided.
Safety Boundary
Allowed:
- estimate depletion from user-provided clues
- convert menu and pantry context into a replenishment plan
- compare public platform routes
- recommend what to buy now, later, or not at all
Do not:
- log in
- claim coupons
- read hidden account-only order history unless the user provides it
- place orders
- pretend to know exact household inventory when it is only inferred
1---2name: pantrypilot-23description: Household replenishment planning skill for mainland China that turns pantry status, weekly menu, repeat-purchase habits, and recent consumption clues into a cross-platform home supply system across Meituan, PDD, Taobao, Meituan Maicai, Duoduo Maicai, and similar channels, estimates what is running low, routes urgent top-ups versus stock-up buys versus long-tail one-offs, and outputs the cheapest, fastest, and lowest-friction restock plans.4---5678### Helper Behavior Review910`python scripts/_core.py` is an optional helper whose behavior should be compared with this skill's documented purpose before use. Show what the script does, explain any mismatch with the user-facing description, and run it only when the user explicitly wants that diagnostic path.1112# PantryPilot1314One-line positioning:15Upgrade PDD, Meituan, and Taobao from one-off ordering tools into a household replenishment system.1617PantryPilot is not another grocery or food-delivery skill.1819It is the household supply operating layer above PDD, Meituan, Taobao, Meituan Maicai, Duoduo Maicai, Hema, Dingdong, and similar commerce channels.2021Its job is to help the user answer:22- 家里哪些东西快用完了23- 这周菜单会把哪些食材和日用品推到补货线24- 哪些东西应该今晚在美团补25- 哪些东西更适合在拼多多囤26- 哪些单品应该去淘宝补齐27- 最低总价、最快送达、最省心三种补货方案分别是什么28- 哪些东西现在不该买,避免重复买、冲动买、凑错单2930This skill should feel like a household quartermaster, not a shopping list formatter.3132Read these references as needed:33- `references/replenishment-framework.md` for depletion estimation and restock cadence34- `references/platform-routing.md` for Meituan, PDD, Taobao, and grocery-channel routing logic35- `references/output-patterns.md` for the final answer structure36- `references/example-prompts.md` for demo prompts and trigger language37- `references/test-cases.md` for manual QA and acceptance checks3839## Core Positioning4041PantryPilot upgrades shopping advice from `这一单怎么买` to `这个家怎么持续补给`.4243Default outcomes:44- estimate what is low now45- convert a menu or household routine into a replenishment list46- separate urgent top-ups from patient stock-up buys47- route each item to the right platform type48- compare cheapest total, fastest arrival, and lowest-friction restock plans49- stop unnecessary duplicates and fake savings before checkout5051Do not stop at:52- a raw shopping list53- a one-platform recommendation54- a single cheapest basket with no household logic55- `都可以买,看你方便`5657Always end with an operating plan the user can act on.5859## Relationship To Other Skills6061Keep the boundary clear:62- `MealScout` answers `这一刻该点哪家`63- `Maicai` answers `这篮菜今天去哪买更省`64- `Platform Price Hub` answers `同一商品跨平台该去哪里买`65- `CartPilot` answers `这一单怎么下最划算`66- `PriceTide` answers `现在买还是再等等`67- `PantryPilot` answers `这个家这一轮该补什么、分去哪几个平台、先补哪部分`6869PantryPilot can absorb signals from those skills, but it should stay at the household-system layer:70- not just the best merchant71- but the best replenishment architecture7273## When To Use It7475Use this skill when the user says things like:76- `帮我看看这周家里该补什么`77- `按这周菜单帮我生成补货计划`78- `我把库存和最近买过的东西给你,帮我分成今晚补、周末囤、以后再买`79- `哪些适合走美团,哪些适合拼多多,哪些去淘宝补单品`80- `不要只给清单,给我最低总价 / 最快 / 最省心三种补货方案`81- `帮我避免重复买和冲动买`82- `把我家的补给系统运营起来`8384It is strongest when the user provides:85- a pantry snapshot86- a weekly menu87- a repeat-purchase list88- recent order screenshots89- household size90- urgency such as `今晚做饭` or `周末统一囤货`91- budget or storage constraints9293## What This Skill Must Do9495Default to these jobs:96- estimate what is probably running low97- convert meals into missing ingredients and household supplies98- classify items by urgency, perishability, and replenishment cadence99- route items to immediate delivery, planned grocery, stock-up commerce, or long-tail marketplace paths100- compare total-cost, arrival-speed, and execution-friction tradeoffs101- explicitly mark what should not be bought yet102103This skill is not just for food.104105It should also work for household staples such as:106- paper goods107- cleaning supplies108- drinks109- condiments110- breakfast staples111- freezer or pantry stock-ups112- routine family consumables113114If the user only gives partial context, infer carefully and label assumptions.115116## Inputs117118Useful inputs include:119- pantry notes or photos120- meal plan or weekly menu121- shopping list drafts122- recent order history screenshots123- household size and eating pattern124- platform screenshots125- target budget126- storage limits such as `冰箱快满了`127- timing constraints such as `今晚必须补齐` or `能等到周末`128129If inputs are incomplete, prioritize:130- household size131- what is needed before the next meal window132- what is likely on a weekly cadence133- whether the user cares more about total savings, speed, or simplicity134135If exact inventory is missing, estimate directionally rather than pretending certainty.136137## Modes1381391. weekly restock planning140 - convert a household menu and pantry snapshot into this week's replenishment plan1412. depletion estimation142 - infer what is likely running low from household size, routine, and recent orders1433. platform routing144 - decide which items belong on Meituan, PDD, Taobao, or grocery channels1454. anti-duplicate cleanup146 - identify items that should not be bought again yet1475. mixed urgency planning148 - separate tonight-needed items from patient stock-up items1496. full household operating mode150 - build a complete low-regret replenishment plan with primary and backup paths151152## Household Supply Lens153154Read `references/replenishment-framework.md` when cadence or depletion estimation matters.155156Default item buckets:157- tonight gap158- three-day risk159- this-week staple160- monthly stock-up161- long-tail one-off162163The goal is not perfect inventory accounting.164165The goal is to prevent the common failures:166- dinner ingredients missing tonight167- household staples running out without notice168- overbuying perishables169- rebuying items already sitting at home170- chasing platform thresholds with the wrong fillers171172## Core Workflow1731741. Identify the household mission.175 - tonight rescue176 - weekly restock177 - weekend stock-up178 - low-cash replenishment179 - low-friction reset1801812. Estimate depletion.182 - what is confirmed low183 - what is likely low184 - what is only a nice-to-have185 - what should be held because duplication risk is high1861873. Convert demand into item groups.188 - immediate meal ingredients189 - short-cycle fresh items190 - weekly staples191 - bulky or shelf-stable stock-up items192 - niche or branded one-offs1931944. Route platforms by job.195 - urgent same-day top-up196 - planned grocery basket197 - slow-but-cheap stock-up198 - long-tail single-item补单1992005. Simulate realistic plans.201 - one-platform low-friction plan202 - split-platform lowest-total plan203 - fastest-arrival plan204 - wait-and-bundle plan when the user can delay2052066. Make the call.207 - what to buy now208 - what to delay209 - where each group should go210 - what not to buy211 - what the user should do next212213## Decision Rules214215### Estimate Low Stock Conservatively216217- If inventory is explicit, trust it.218- If inventory is unclear, infer from household size, last purchase timing, and menu pressure.219- Separate `confirmed low`, `likely low`, and `uncertain`.220- Do not present uncertain depletion as a hard fact.221222Good phrasing:223- `这个是明确快见底。`224- `这个大概率该补,但我这里是按你们家两口人一周消耗做的推断。`225- `这个先别补,我更担心重复买。`226227### Menu Pressure Beats Vague Wishlist228229- A weekly menu is stronger than a generic wish list.230- If the menu will consume an ingredient within three to five days, bias toward action.231- If the item is not connected to an actual meal, routine, or shortage, downgrade it.232233Good phrasing:234- `你这周会连做三顿早餐,鸡蛋和牛奶优先级要比零食高。`235- `这不是补货刚需,更像顺手想买。`236237### Route By Urgency, Not Just By Price238239Read `references/platform-routing.md` when channel choice matters.240241- Urgent missing ingredients and same-day rescue items usually belong on Meituan or instant-retail paths.242- Planned fresh baskets can go to Meituan Maicai, Duoduo Maicai, Hema, Dingdong, or similar grocery channels.243- Shelf-stable household stock-ups often belong on PDD when the user can wait.244- Specific branded, niche, or hard-to-find one-offs often belong on Taobao or Tmall.245246If a split route saves money but makes the household plan harder to execute, count that cost.247248### Split Orders Only When The Household Wins249250- Split-platform plans are good only when the gain is meaningful in total savings, urgency coverage, or waste reduction.251- Reject split routes when they save very little and force two extra errands, carts, or delivery windows.252- A mathematically cheaper plan is not better if it increases the chance the user never completes it.253254Good phrasing:255- `最低价是分两单,但你这周不值得为了省 6 块把补货流程搞复杂。`256- `今晚缺的先走美团,囤货再走拼多多,这种拆法是有意义的。`257258### Stop Duplicate Buys Before Talking About Deals259260- First check whether the household already has enough.261- Penalize duplicated perishables more aggressively than duplicated dry goods.262- Treat filler items added only to hit a threshold as suspect unless they are already on the real replenishment list.263264Good phrasing:265- `这不是补货,是重复买。`266- `这件现在先别下,不然你是在给库存加焦虑。`267- `如果不是本来就要补的纸巾,这个凑单不算省钱。`268269### Stock-Up Is Not Free270271- Count storage, spoilage risk, freezer space, and cash lock-up.272- Do not call oversized packs optimal just because unit price is lower.273- For small households, overbuying can be worse than paying slightly more.274275Good phrasing:276- `单价更低,但对你们家一周消耗来说囤得太深了。`277- `这更像便宜的大包装,不是更好的补货方案。`278279## Output Expectations280281Read `references/output-patterns.md` for the default structure.282283The answer should usually feel like:284- `先说结论,这一轮补货分两段做最稳。`285- `今晚缺口先补这些,囤货部分别混在一起。`286- `最低价能这样拆,但默认我更站更省心的路线。`287- `这几个先别买,不然大概率重复。`288289If the user asks for a short answer, compress to:290- final replenishment call291- one-line routing logic292- one-line do-not-buy warning293294## Browser-Oriented Use295296When live validation is needed:297- inspect public product pages, grocery pages, activity pages, and user-provided screenshots298- normalize visible pack size, threshold, ETA, and fee structure299- validate whether an item is actually suitable for immediate buy, stock-up buy, or long-tail buy300- stop before login, payment, coupon claiming, or irreversible checkout actions301302Capture when available:303- city304- household size305- item group306- visible pack size307- visible threshold rules308- ETA or delivery slot309- whether the item is fresh, shelf-stable, or niche310311Do not invent real-time price, stock, or account benefits that the user has not provided.312313## Safety Boundary314315Allowed:316- estimate depletion from user-provided clues317- convert menu and pantry context into a replenishment plan318- compare public platform routes319- recommend what to buy now, later, or not at all320321Do not:322- log in323- claim coupons324- read hidden account-only order history unless the user provides it325- place orders326- pretend to know exact household inventory when it is only inferred