travel-itinerary-data
How to query and filter travel itinerary datasets (restaurants, accommodations, attractions, distances) to build constraint-satisfying travel plans.
- License 许可
- MIT
- 最近更新
- 2026-10-02
- Stars
- ★ 93
- Forks
- 8
01 前言 Front Matter
- name
- travel-itinerary-data
- description
- How to query and filter travel itinerary datasets (restaurants, accommodations, attractions, distances) to build constraint-satisfying travel plans.
03 SKILL.md 正文
Travel Itinerary Data Querying
Dataset locations (relative to /app/data/)
| File | Key columns |
|---|---|
background/citySet_with_states.txt |
city TAB state — enumerate valid cities |
restaurants/clean_restaurant_2022.csv |
id, Name, City, Cuisines, Average Cost, Aggregate Rating |
accommodations/clean_accommodations_2022.csv |
id, NAME, room type, price, minimum nights, review rate number, house_rules, maximum occupancy, city |
attractions/attractions.csv |
Name, Latitude, Longitude, Address, Phone, Website, City |
googleDistanceMatrix/distance.csv |
origin, destination, cost, duration, distance |
Common grep patterns
Find cities in a state
grep -i "ohio" data/background/citySet_with_states.txt
# → Toledo, Cleveland, Dayton, Columbus, Akron, Cincinnati
Find distances between two cities
grep -i "^Minneapolis," data/googleDistanceMatrix/distance.csv | grep -i "Cleveland"
# → Minneapolis,Cleveland,,11 hours 14 mins,1219 km
Find pet-friendly accommodations in a city
# "No pets" in house_rules = NOT pet-friendly; absence = pet-friendly
grep -i ",Cleveland$" data/accommodations/clean_accommodations_2022.csv | grep -v "No pets"
Filter by min occupancy
# column 8 (0-indexed) = maximum_occupancy
grep -i ",Columbus$" data/accommodations/clean_accommodations_2022.csv \
| grep -v "No pets" \
| awk -F',' '$8 >= 2'
Find restaurants by cuisine and city
grep -i ",Cleveland," data/restaurants/clean_restaurant_2022.csv \
| grep -i "american\|mediterranean\|chinese\|italian"
Find attractions in a city
grep -i ",Cleveland$" data/attractions/attractions.csv | cut -d',' -f1
Budget calculation approach
- Accommodation:
price × number_of_nights; respectminimum nights. - Meals:
Average Costin the restaurant CSV is the estimated cost for the meal. - No flights means all travel is self-driving; use the
distance.csvfor durations.
Itinerary structure tips
- Travel days (
from A to B): skip lunch; mark breakfast/dinner based on departure/arrival. - Minimum nights constraint must be satisfied: e.g., if
minimum nights = 3, do not book for only 2 nights. - Pet-friendly = no "No pets" text anywhere in
house_rules. - Cover all requested cuisines across the trip, not necessarily each day.
04 同仓库更多 Skills
object_counter
Count occurrences of an object in the image using computer vision algorithm.
travel-planning-workflow
Invoke this skill when performing travel planning. It defines a structured workflow for generating itineraries. Following this workflow is essential to ensure the final plan satisfies user requirements.
bundled-dataset-search-tool
invoke this skill when you need to perform database search for travel planning. This skill provides some useful pre-packaged tools to look up accommodations, attractions, cities, driving distance, flights, and restaurants from the bundled dataset.
glm-output
Output-processing guidance for GLM tasks. Especially useful after glm-basics and glm-calibration when you need verifier-matching metrics from output.nc and a final /root/metrics.json.
glm-calibration
Calibration guidance for GLM tasks. Often most effective after glm-basics has clarified the setup; glm-output is the companion skill for exact final metric computation.
glm-basics
A good starting point for GLM calibration tasks. Use to inspect glm3.nml, confirm how GLM runs, and identify the relevant files before moving on to calibration and output evaluation.