Itinerary json output
Skill cxcscmu/SkillLearnBench/skills/b1-one-shot-claude-sonnet-4-6/travel-planning/itinerary-json-output
How to structure and write a valid travel itinerary JSON file matching the required schema for /app/output/itinerary.json.From its SKILL.md
npx -y skills add cxcscmu/SkillLearnBench --skill itinerary-json-outputAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.9 KB, 504 tokens by cl100k_base, as published. Nobody here has run it
Itinerary JSON Output Format
File path
/app/output/itinerary.json
Top-level structure
{
"plan": [ /* array of exactly 7 day objects */ ],
"data_sources": [ /* list of dataset files used */ ]
}
Day object fields
| Field | Type | Notes |
|---|---|---|
day | integer | 1–7 |
current_city | string | City name, OR "from A to B" when traveling |
transportation | string | "Self-driving: from A to B" — no flights |
breakfast | string | "Restaurant Name, City" or "-" |
lunch | string | "Restaurant Name, City" or "-" |
dinner | string | "Restaurant Name, City" or "-" |
attraction | string | "Name1;Name2;" — semicolon-separated, trailing semicolon |
accommodation | string | Pet-friendly lodging name |
Rules
- Use
"-"for meals intentionally skipped (e.g., long driving days). transportationis"-"when staying in same city.- Attractions end with
;even if only one. accommodationis"-"on final day if returning home.- Restaurant format:
"Name, City"(matches CSVNameandCitycolumns).
Example day object
{
"day": 2,
"current_city": "Cleveland",
"transportation": "-",
"breakfast": "Master Bakers, Cleveland",
"lunch": "Green Leaf, Cleveland",
"dinner": "Bruncheez, Cleveland",
"attraction": "Rock & Roll Hall of Fame;West Side Market;Great Lakes Science Center;",
"accommodation": "Cozy minimalist room close to train (1), Cleveland"
}
data_sources list
Always include all dataset files actually consulted:
"data_sources": [
"background/citySet_with_states.txt",
"accommodations/clean_accommodations_2022.csv",
"restaurants/clean_restaurant_2022.csv",
"attractions/attractions.csv",
"googleDistanceMatrix/distance.csv"
]
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.