grocery-flow-architect
БесплатноЗапускает вложенные скриптыНе проверенUse when grocery shopping takes too long, you always forget something, or you keep backtracking across the store. Builds a personal store map once, then sorts…
от voronindenis5365 установок в других каталогахОб этом скилле
Grocery Flow Architect
Overview
The average grocery run wastes 5-15 minutes on backtracking: you're in produce, the list reminds you of milk, milk is at the far end, then the bread you forgot sends you back past produce again. Multi-store trips are worse — the same loop in two buildings plus the drive-between regret of "why did I come here second?".
The fix is boring and effective: know the store's zone order, walk it once. This skill:
- Store mapping (once per store, ~5 min): you name the zones in walking order — the order you actually encounter them on your usual entrance-to-checkout path. Most stores resolve to 8-12 zones.
- List routing: every item is matched to a zone (built-in matcher: ~180 common items; unknown items ask once, then remembered). The list is emitted in exact walking order with per-zone grouping.
- Staples radar: your household's recurring items (milk, coffee, trash bags...) with "usual cadence" — flags the ones you've probably run out of by now. Catches the invisible forgetting.
- Multi-store merge: when items span two stores, orders each list and suggests the store sequence (based on your declared trip frame: "grocery first, then the co-op").
Data lives in one JSON per store in ~/.grocery_flow/ — your map and
staples improve with use; unknown-item answers persist.
When to Use
- Weekly grocery runs (the core case)
- "I always forget X" — staples radar
- Shopping with kids/partner under time pressure: ordered list = less wandering, fewer impulse buys
- Multi-store trips (supermarket + bakery + ethnic market + hardware)
- New-store onboarding: walk it once with the mapper, reuse forever
- Diet-specific repeats (koster/halal/vegan/gluten-free staples get the same radar treatment)
Don't use for: one-item pharmacy runs (no route to optimize), online delivery carts (no walking), or warehouse runs where you genuinely must traverse every aisle anyway.
Files
| File | Purpose |
|---|---|
scripts/grocery_flow.py |
CLI: map-store, route, staples, merge |
references/item-zones.md |
The built-in item→zone matcher data + how to extend |
references/store-atlas.md |
Zone orders for common chain layouts (US/EU/RU) as starting points |
README.md |
The problem in 3 paragraphs |
Usage
# 1. Map your store once (interactive: name zones in walking order)
python3 scripts/grocery_flow.py map-store --name kroger-main
# 2. Route a list into walking order
python3 scripts/grocery_flow.py route --store kroger-main list.txt
# 3. Same, with staples radar on
python3 scripts/grocery_flow.py route --store kroger-main list.txt --staples
# 4. Maintain your staples (add milk with ~5-day cadence)
python3 scripts/grocery_flow.py staples --store kroger-main add "milk" --days 5
# 5. Mark what you bought (updates radar timing)
python3 scripts/grocery_flow.py staples --store kroger-main bought "milk"
# 6. Two-store trip
python3 scripts/grocery_flow.py merge --stores kroger-main,coop list.txt
List format: one item per line; !-prefixed items are priority; zone
hints inline like milk [dairy] override the matcher.
Workflow
- First use: run
map-storefor your primary store. Walk it mentally from your usual entrance: name zones in order (produce, bakery, deli, dairy, frozen, meat, pantry, household, checkout...). Save. - Add staples with realistic cadences (the thing you ALWAYS forget goes in with a SHORT cadence).
- Each run: dump the list to a text file (or let the agent do it),
route --staples, screenshot/copy the output. Shop in order. Mark staples bought. - New store on vacation/after a move: 5-minute
map-store, same lists. - Quarterly: review
staples list— cadences drift (kids grow, seasons change).
The matcher
Zone names are YOURS (mapper defines them), but a built-in table maps
~180 common grocery items to conventional zones (produce/dairy/frozen/
bakery/deli/meat/seafood/pantry/breakfast/beverages/snacks/household/
health/baby/pet). Unknown items prompt once (route asks "which zone is
X?" and stores the answer in the store's JSON for future runs). Singular/
plural and basic synonyms are normalized (tomatoes→tomato, soda→soft
drinks). See references/item-zones.md for the full table and extension
rules.
Common Pitfalls
- Mapping the store in shelf order, not YOUR walking order. The map must reflect your entrance-to-checkout direction. Two people in the same store can have opposite maps — both correct.
- Too many zones. 8-12 is the sweet spot; more than 15 and you're maintaining a taxonomy, not saving time. Merge tiny zones.
- Staples cadence too optimistic. "Milk every 3 days" when it's
really 6 → radar noise → you start ignoring it. Set honest cadences;
the radar learns from
boughttimestamps anyway. - Routing at the door, not at home. Route BEFORE leaving; the value is a sorted list you walk once, not a so
Установить grocery-flow-architect в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл grocery-flow-architect?
Use when grocery shopping takes too long, you always forget something, or you keep backtracking across the store. Builds a personal store map once, then sorts every list into exact aisle-by-aisle walking order, flags forgotten staples, and merges multi-store trips into one route.
Как установить скилл grocery-flow-architect?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл grocery-flow-architect запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic