Resources
6Install
npx skillscat add imoonkey/openweb/src-sites-grubhub Install via the SkillsCat registry.
SKILL.md
Grubhub
Overview
Grubhub is a food delivery platform (archetype: Food Delivery). Search restaurants, browse menus with prices, and check delivery time/fee estimates.
Responses are adapter-trimmed (camelCase, prices in USD dollars). Fields are clean and ready to use.
Workflows
Find restaurants and browse menu
searchRestaurants(latitude, longitude, searchTerm)→restaurants[]withrestaurantId,name, ratings, feesgetMenu(restaurantId)→categories[].items[]with names and prices
Check delivery details
searchRestaurants(latitude, longitude)→restaurants[].restaurantIdgetDeliveryEstimate(restaurantId)→ open/hours, delivery fee, pickup estimate, minimum order
Operations
| Operation | Intent | Key Input | Top-level Shape | Notes |
|---|---|---|---|---|
| searchRestaurants | find restaurants near a location | latitude, longitude, searchTerm? | { totalResults, restaurants[] } |
paginated via pageNum/pageSize |
| getMenu | browse restaurant menu | restaurantId ← searchRestaurants | { restaurantName, categories[] } |
items in categories[].items[] |
| getDeliveryEstimate | check delivery time and fees | restaurantId ← searchRestaurants | { open, openDelivery, deliveryFee, orderMinimum, … } |
money in USD; ranges in minutes |
Field Reference
searchRestaurants — restaurants[]
restaurantId— unique ID (use with getMenu and getDeliveryEstimate)name— restaurant namerating— average rating (0-5 scale, null if too few)ratingCount— number of ratingspriceRating— price tier (1-4, dollar signs)cuisines— array of cuisine stringslogo— logo URL (nullable)deliveryFee— delivery fee in USDdeliveryEstimateMin/deliveryEstimateMax— delivery time range in minutes (nullable)address— street address (nullable)distance— miles from delivery location (nullable)totalResults— total matching restaurants (top level)
getMenu — categories[]
restaurantName— restaurant name (top level)categories[].name— category name (e.g. "Appetizers", "Pizza")categories[].items[].itemId— menu item IDcategories[].items[].name— item namecategories[].items[].description— item description (nullable)categories[].items[].price— price in USDcategories[].items[].popular— popular flag
getDeliveryEstimate
restaurantId— restaurant IDopen/openDelivery/openPickup— availability flagsdeliveryEstimateMin/deliveryEstimateMax— delivery time range in minutespickupEstimateMin/pickupEstimateMax— pickup time range in minutes (nullable)deliveryFee— delivery fee in USDorderMinimum— minimum order in USDsalesTax— sales tax rate (e.g. 8.875 for 8.875%)
Quick Start
# Search for pizza near Midtown Manhattan
openweb grubhub exec searchRestaurants '{"latitude": 40.7484, "longitude": -73.9857, "searchTerm": "pizza"}'
# Get a restaurant's menu
openweb grubhub exec getMenu '{"restaurantId": "64436"}'
# Check delivery estimate
openweb grubhub exec getDeliveryEstimate '{"restaurantId": "64436"}'