parse-flyer-foodbasics

Parse Food Basics flyer product tiles into normalized deal records.

1|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/Joresti/grocery-hack --skill parse-flyer-foodbasics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: parse-flyer-foodbasics
Source: https://github.com/Joresti/grocery-hack/tree/main/.claude/skills/parse-flyer-foodbasics
Command: npx skills add https://github.com/Joresti/grocery-hack --skill parse-flyer-foodbasics

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill turns the Food Basics weekly flyer product grid into structured deal records automatically, so you can create a shopping list without manually copying prices and sizes.

Core Features & Use Cases

  • Automated pagination and scraping: Clicks the flyer’s Load More Deals control until all products are loaded, then extracts fields from each product tile.
  • Field-level parsing and normalization: Produces clean deal outputs including sale price, regular price, unit price with unit conversion, category classification, and product_type heuristics.
  • Guardrails against page changes: Runs a drift detection flow using selector hit-rate checks and provides guidance on when to stop or extract with degraded fields.
  • Use Case: You want deal coverage from Food Basics for a given week to feed meal planning and shopping list generation.

Quick Start

Run the parse-flyer-foodbasics skill with the flyer URL, ensuring Chrome is started in headed mode with remote debugging enabled.

Frequently Asked Questions about parse-flyer-foodbasics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract grocery flyer deals into JSON format?

To extract grocery flyer deals into JSON, this Skill navigates the Food Basics weekly flyer page, clicks the Load More Deals button for pagination, and pulls structured fields from product tiles to output normalized deal records.

How does web scraping handle the Load More Deals button on a grocery flyer page?

Web scraping handles the Load More Deals button by programmatically clicking the control until all products load, ensuring complete deal coverage before extracting fields like sale price, regular price, and unit price from each tile.

Do I need headed Chrome with CDP access to scrape a weekly grocery flyer?

Yes, you need headed Chrome with Chrome DevTools Protocol (CDP) access enabled for remote debugging to run the scraper, as it requires interacting with UI elements and navigating dynamic page loads to extract the flyer data.

What's the best way to normalize heterogeneous DOM text from a grocery flyer into structured data?

The best way to normalize heterogeneous DOM text is using selector-driven extraction on product tiles, applying unit parsing and category classification heuristics to convert raw text into clean JSON deal objects with standardized prices and sizes.

Why does grocery flyer scraping fail when the webpage layout changes?

Scraping fails or degrades when webpage layout changes break the expected selectors, which is why drift detection checks selector hit-rates to identify page updates and provide guidance on whether to stop or extract with degraded fields.

Can I automate Food Basics deal extraction for weekly meal planning?

Yes, you can automate Food Basics deal extraction for meal planning by running this Skill on a weekly flyer URL to generate a structured JSON list of products, prices, and units that feeds directly into shopping list generation.