/meal-planner:initfrom meal-planner
One-time onboarding for meal-planner. Scaffolds the data-home layout (meals/, menus/, boards/, deals/, docs/knowledge/, plans/), writes config.yml with the user's ZIP code and stores, and seeds meal cards from an existing meal-history corpus, a short interview, or empty. Use when the user runs /meal-planner:init, sets up meal planning for the first time, or points the plugin at a new data repo.
Ships in meal-planner. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Onboard a data home for weekly meal planning. Run this once per data repo. All work happens in the current working directory (the data home) — never in the plugin install directory.
${CLAUDE_PLUGIN_ROOT} is the plugin's install path; the wrapper script lives at
${CLAUDE_PLUGIN_ROOT}/scripts/meal_deals.py and runs via uv run.
Scaffold the layout. Run:
uv run "${CLAUDE_PLUGIN_ROOT}/scripts/meal_deals.py" scaffold --data-home .
This creates meals/, menus/, boards/, deals/, docs/knowledge/,
plans/, initialises a git repo if the directory isn't one yet, and writes a
config.yml stub. It is idempotent — safe to re-run.
Set the ZIP and stores. Read config.yml. If zip is empty, ask the user
for their ZIP code (the grocery-deal fetch needs it) and which stores they
shop — default publix and kroger, the only two the fetcher supports. Write
the values into config.yml.
Seed the canonical rosters — MEALS.md and SIDES.md. These are the
source of truth: one meal (or side) per line. Ask how they want to start:
meal_deals.seed(data_home, [corpus_text], context_text=preferences_text, sides=sides_text, extra_meals=other_meals_text). It parses the liked
dishes into MEALS.md, writes SIDES.md, folds in the tracked-brand
watchlist and avoid/limit preference rules to config.yml. Pass every meal
source you have (multiple session logs, a hermes/openclaw MEALS.md) so the
roster is the full union, not a subset.meal_deals.write_roster(data_home, "MEALS.md", names, title="Meals") (and SIDES.md). Record preferences in config.yml.Cards stay lazy. Do not write a meals/<slug>.md card per dish — that's
the limiting dump this design replaces. A card is born the first time a meal
is actually cooked (the retro does this), and holds its ingredients, cook
history, and verdicts from then on. The roster answers "what can we make";
cards answer "what does this specific meal need / how has it gone".
Reconcile any existing menus. If menus/ already has files, run
meal_deals.reconcile_menus(data_home) and report any dinners not in the
roster — never fabricate entries; offer to add them to MEALS.md explicitly.
Confirm. Report roster size (meals + sides), ZIP, stores, and preference
rules captured, and point the user at /meal-planner:week.
MEALS.md / SIDES.md are plain one-per-line rosters. Users can hand-edit
them; a re-seed merges without dropping manual additions or duplicating.name, ingredients, brands,
last_cooked, times_cooked, verdicts, variations, prices_paid). They
accrue from cooking, not from onboarding./meal-planner:week.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub kevinold/meal-planning-skill --plugin meal-planner3 skills in this plugin
/confirmGraduate a fully-locked option board into the week's confirmed menu, per-store shopping list, and receipt forecast. Refuses if any slot is still unlocked. Use when the user runs /meal-planner:confirm, explicitly locks in an option ("go with Option A", "lock Option B for the week"), or is ready to shop. Also owns the actuals retro that closes out the prior week./weekPlan the week's dinners against this week's grocery deals. Fetches the Wednesday flyer snapshot, ranks deals by the meals they unlock, drafts A/B/C option boards with stable slot addresses and 🔒 partial locks persisted to disk, and applies the rotation guard and preference rules. Use when the user runs /meal-planner:week, wants to plan meals for the week, or resume an in-progress option board. Detects new vs open week automatically.