agentsclimarketplace

Run2 itinerary generation

Skill cxcscmu/SkillLearnBench/skills/b2-self-feedback-gemini-3.1-pro-preview/travel-planning/run2_itinerary_generation

How to serialize the final travel itinerary to a JSON file.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill run2_itinerary_generation

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

SKILL.md

0.8 KB, 164 tokens by cl100k_base, as published. Nobody here has run it

Itinerary Generation Skill

Use python's json module to dump the final itinerary in the required format.

import json

itinerary = {
    "plan": [
        {
            "day": 1,
            "current_city": "Minneapolis",
            "transportation": "Self-driving: from Minneapolis to Cleveland",
            "breakfast": "...",
            "lunch": "...",
            "dinner": "...",
            "attraction": "...",
            "accommodation": "..."
        }
    ],
    "data_sources": [
        "accommodations/clean_accommodations_2022.csv"
    ]
}

with open('/app/output/itinerary.json', 'w') as f:
    json.dump(itinerary, f, indent=2)

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.