agentsclimarketplace

Run2 itinerary data exploration

Skill cxcscmu/SkillLearnBench/skills/b2-self-feedback-claude-sonnet-4-6/travel-planning/run2_itinerary-data-exploration

Explore and query travel dataset files (CSV/TXT) to find cities, restaurants, accommodations, attractions, and driving distances — with precise filtering patterns and data field notes.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill run2_itinerary-data-exploration

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

2.9 KB, 739 tokens by cl100k_base, as published. Nobody here has run it

Itinerary Data Exploration (Improved)

Dataset Locations and Schemas

All data is under /app/data/:

FileKey Columns
background/citySet_with_states.txtCity\tState (tab-separated, no header)
restaurants/clean_restaurant_2022.csvindex, Name, City, Cuisines, Average Cost, Aggregate Rating
accommodations/clean_accommodations_2022.csvindex, NAME, room type, price, minimum nights, review rate number, house_rules, maximum occupancy, city
attractions/attractions.csvName, Latitude, Longitude, Address, Phone, Website, City
googleDistanceMatrix/distance.csvorigin, destination, cost, duration, distance

Key Notes on Fields

  • Restaurants Average Cost: per person per meal. Multiply by number of travelers for total cost.
  • Accommodations price: per night. Multiply by number of nights for total cost.
  • Accommodations minimum nights: stay must be >= this value. Filter with awk -F',' '$5 <= STAY_NIGHTS'.
  • Accommodations maximum occupancy: must be >= number of travelers. Filter with awk.
  • Pet-friendly: house_rules must NOT contain "No pets". Use grep -v "No pets".
  • Distance CSV: some entries have empty cost field (driving, not paid); duration and distance are for driving.

Query Patterns

Find Ohio cities

grep -i "Ohio" /app/data/background/citySet_with_states.txt

Result: Toledo, Cleveland, Dayton, Columbus, Akron, Cincinnati

Find driving distance/time between cities

grep "Minneapolis,Cleveland" /app/data/googleDistanceMatrix/distance.csv
# → Minneapolis,Cleveland,,11 hours 14 mins,1219 km

Find all inter-city distances for Ohio cities

grep -E "Cleveland|Columbus|Cincinnati|Akron" /app/data/googleDistanceMatrix/distance.csv | \
  grep -E "Cleveland|Columbus|Cincinnati|Akron"

Pet-friendly accommodations with occupancy >= 2 and min nights <= 2

grep -i ",Cleveland$" /app/data/accommodations/clean_accommodations_2022.csv | \
  grep -v "No pets" | \
  awk -F',' '$5<=2 && $(NF-1)>=2 {print}'

Restaurants by city and preferred cuisine

grep -i ",Columbus," /app/data/restaurants/clean_restaurant_2022.csv | grep -i "Italian\|American"

Attractions by city (exact city match at end of line)

grep -w "Columbus" /app/data/attractions/attractions.csv | grep "OH"
# Use OH filter to avoid false matches (e.g., "Columbus St" in other cities)

Verification Pattern

Always verify selected items exist in data:

grep "Restaurant Name" /app/data/restaurants/clean_restaurant_2022.csv | grep CityName
grep "^INDEX," /app/data/accommodations/clean_accommodations_2022.csv

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.