agentsclimarketplace

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

Install
npx -y skills add cxcscmu/SkillLearnBench --skill itinerary-json-output

Assembled 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

FieldTypeNotes
dayinteger1–7
current_citystringCity name, OR "from A to B" when traveling
transportationstring"Self-driving: from A to B" — no flights
breakfaststring"Restaurant Name, City" or "-"
lunchstring"Restaurant Name, City" or "-"
dinnerstring"Restaurant Name, City" or "-"
attractionstring"Name1;Name2;" — semicolon-separated, trailing semicolon
accommodationstringPet-friendly lodging name

Rules

  • Use "-" for meals intentionally skipped (e.g., long driving days).
  • transportation is "-" when staying in same city.
  • Attractions end with ; even if only one.
  • accommodation is "-" on final day if returning home.
  • Restaurant format: "Name, City" (matches CSV Name and City columns).

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.

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.