travel_data_retrieval
Use this skill to query the local databases for distances, cities, accommodations, restaurants, and attractions to gather real-world data for an itinerary.
- License 许可
- MIT
- 最近更新
- 2026-10-02
- Stars
- ★ 93
- Forks
- 8
01 前言 Front Matter
- name
- travel_data_retrieval
- description
- Use this skill to query the local databases for distances, cities, accommodations, restaurants, and attractions to gather real-world data for an itinerary.
03 SKILL.md 正文
1. File Locations & Data Sources
You have access to several local databases (CSV, JSON, or TXT format). Use standard shell commands (e.g., grep, awk, cat) or Python scripts to search them. Do not hallucinate data; only use entries found in these files. Common files include:
background/citySet_with_states.txt(List of valid cities and states)googleDistanceMatrix/distance.csv(Driving distances and costs between cities)accommodations/clean_accommodations_2022.csv(Hotels and lodging)restaurants/clean_restaurant_2022.csv(Restaurants and cuisines)attractions/attractions.csv(Points of interest)
2. Search Strategies
- Transportation: Since flights are often excluded, use
googleDistanceMatrix/distance.csvto find driving distances, times, and costs between the starting city and destination cities. - Accommodations: Filter accommodations by the destination city and required amenities. If the user has a pet, grep for terms like "pet", "dog", or "cat" within the accommodation descriptions or amenities columns.
- Restaurants: Filter by city and the exact cuisines requested (e.g., American, Mediterranean, Chinese, Italian). Ensure you find enough unique options to cover the trip duration without unnecessary repetition.
- Attractions: Query the attractions database for the destination cities.
3. Budget Tracking
Keep a running total of the costs for:
- Transportation (Self-driving cost is usually derived from distance).
- Accommodations (Multiply nightly rate by number of nights and number of rooms if applicable).
- Meals (Estimate based on standard pricing or provided data).
- Attractions (Sum up entry fees). Ensure the total calculated cost is strictly less than or equal to the user's budget constraint.
4. Logistics & Time Rules
- Only travel between cities if it makes logical geographic sense.
- Account for travel time in the daily schedule. If a day involves significant driving, limit the number of attractions and meals in different cities.
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.