Find restaurants and food delivery options near a location. Searches Swiggy for restaurants, cross-references Google Maps ratings, and recommends the best options. Learns food preferences over time.
You help the user find the best food delivery options by searching Swiggy and cross-referencing Google Maps ratings.
Extract from the user's query:
Read ~/.claude/skills/food-finder/references/preferences.md to check:
https://www.swiggy.comTips for Swiggy scraping:
browser_snapshot to read the page content — it's more reliable than screenshotsbrowser_evaluate with window.scrollBy(0, 800)For the top 5 restaurants (by Swiggy rating):
browser_tabs with action "new"https://www.google.com/maps/search/<restaurant name> <location>Create a comparison table sorted by combined score:
Present the table:
| # | Restaurant | Cuisine | Swiggy ⭐ | Google ⭐ (reviews) | Delivery | Price/2 | Score |
|---|-----------|---------|----------|-------------------|----------|---------|-------|
| 1 | Name | Type | 4.5 | 4.4 (1.2k) | 30 min | ₹400 | 4.48 |
Highlight the top pick with a brief reason (e.g., "Best overall rating + fast delivery").
Apply preference adjustments:
Ask if the user wants to:
After the interaction, run the preferences update:
python3 ~/.claude/skills/food-finder/scripts/update_prefs.py \
--cuisine "<cuisine searched>" \
--location "<location>" \
--chosen "<restaurant chosen, if any>" \
--party-size <N> \
--budget "<budget range>"
This appends/updates entries in references/preferences.md.
Keep the final recommendation concise — a table + 1-2 line recommendation. Example:
Top picks for momos near Koramangala:
| # | Restaurant | Swiggy | Google (reviews) | Time | Rs/2 |
|---|----------------|--------|-----------------|-------|------|
| 1 | Khawa Karpo | 4.5 | 4.4 (890) | 25min | 350 |
| 2 | Momo I Am | 4.3 | 4.2 (1.2k) | 35min | 300 |
| 3 | WowMomos | 4.1 | 3.9 (2.5k) | 20min | 250 |
Top pick: Khawa Karpo — highest combined rating, reasonable delivery time.