OpenParable
Skip to content
← Back to skills

Travel Guide

Documents
travel-guide

Travel Guide is an Agent Skill for documents published in the microsoft-foundry/foundry-samples repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Creates colorful PDF travel guides for cities, including itinerary ideas, neighborhoods, food, practical tips, and photo-worthy stops. Use when the user asks for a travel guide, city guide, itinerary, trip plan, or PDF document for a destination.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/microsoft-foundry/foundry-samples/blob/HEAD/samples/python/hosted-agents/agent-framework/responses/07-skills/src/agent-framework-agent-with-skills-responses/skills/travel-guide/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/travel-guide, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Travel guide skill

Use this skill when the user wants a city travel guide, itinerary, or downloadable PDF trip-planning document.

Workflow

  1. Identify the city or destination from the user's request.
  2. Infer the trip length and interests when provided. If the user does not specify them, use a 3-day guide and a balanced mix of culture, food, neighborhoods, views, and practical tips.
  3. Run the PDF generator script:
    • skill name: travel-guide
    • script name: scripts/create_travel_guide.py
    • args: a JSON array of string CLI flags and values. Supported flags:
      • --city <city>: destination city, required
      • --days <number>: number of itinerary days, optional, defaults to 3
      • --interests <list>: comma-separated interests such as food,art,history,views, optional
      • --tone <style>: guide style such as family-friendly, luxury, budget, or first-time visitor, optional
  4. After the script returns, tell the user the $HOME-based PDF path and briefly summarize the guide.

Available scripts

  • scripts/create_travel_guide.py - Generates a colorful PDF travel guide and returns JSON with the saved file path.

Example script arguments

["--city", "Lisbon", "--days", "3", "--interests", "food,viewpoints,neighborhoods", "--tone", "first-time visitor"]