Skip to content

moonlight-lupin/agent-skills / productivity/travel-itinerary

travel-itinerary

Verified

Use when the user needs a business-trip itinerary built, updated, shared, or exported — create, update, sanitize, route, and export structured business-trip itineraries from booking confirmations, emails, tickets, PDFs, screenshots, calendar invites, or notes. Covers day-by-day itinerary generation, privacy-safe sharing, route links, and Markdown/PDF/DOCX/Google Doc/ICS exports.

FileKindSize
.gitignoreother139 B
SKILL.mdskill md12.9 KB
examples/tokyo-trip.mdmarkdown24.1 KB
references/exports.mdmarkdown9.2 KB
references/node-types.mdmarkdown10.4 KB
references/privacy.mdmarkdown5.7 KB
references/routing.mdmarkdown7.1 KB
scripts/itinerary_utils.pyscript8.9 KB
templates/itinerary-schema.yamlconfig5.7 KB
tests/test_itinerary_utils.pyscript3.0 KB

templates/itinerary-schema.yaml

View on GitHub
# Canonical itinerary schema.
# Use this structure internally when reasoning. Final output may be Markdown,
# but the YAML is the source of truth.
#
# Conventions:
#   * Dates: YYYY-MM-DD
#   * Date-times: ISO 8601 with explicit timezone offset, e.g. 2026-06-12T08:10:00+09:00
#   * Wall-clock times in Markdown rendering: 24-hour HH:MM
#   * status: confirmed | tentative | cancelled | unknown
#   * Coordinates: WGS-84 decimal degrees. Only fill lat/lon when resolved via a
#     real geocoding tool (Nominatim/OSM, maps MCP, etc.). Never guess.
#   * Costs: store as { amount, currency } in ISO 4217. Leave null if unknown.
#   * Node objects may include type-specific fields from references/node-types.md.
#     Do not drop those fields when updating, rendering, or merging YAML.

trip:
  id: optional-stable-slug
  title: ""
  purpose: ""
  destination:
    rough: ""
    cities: []
    country: ""
  date_range:
    start: YYYY-MM-DD
    end: YYYY-MM-DD
  timezone_default: ""        # IANA name, e.g. Asia/Tokyo. Used when a day has no local_timezone.
  travel_party:
    - name: ""
      role: ""
      email: ""
      notes: ""
  privacy:
    sensitive_fields:
      - payment_details
      - personal_emails
      - passport_numbers
      - loyalty_numbers
      - booking_pin
    share_policy: hide sensitive fields in team-share export
  source_items:
    - source_id: ""
      type: email|pdf|screenshot|manual_note
      received_at: ""
      subject: ""
      sender: ""
      ocr_quality: high|medium|low|unreadable   # for screenshots/scanned PDFs
      ocr_uncertain_fields: []                  # field names the agent could not read confidently
  cost_summary:                # optional rollup; computed, not authoritative
    currency: ""               # primary trip currency for the rollup
    estimated_total: null
    by_category:
      travel: null
      stay: null
      meals: null
      events: null
      other: null
  days:
    - date: YYYY-MM-DD
      local_timezone: ""       # IANA name. Overrides trip.timezone_default for this day.
      title: ""
      overnight_stay:
        node_id: ""
        hotel_name: ""
        address: ""
        check_in: ""           # 24-hour HH:MM local
        check_out: ""          # 24-hour HH:MM local
        confirmation_ref: ""
        shareable: true
      day_notes: []
      nodes:
        - id: ""
          type: travel|stay|meeting|poi|restaurant|transfer|event|admin|free_time|note
          subtype: ""
          title: ""
          status: confirmed|tentative|cancelled|unknown
          visibility: internal|team_share|private|admin_only   # export visibility; default internal
          starts_at: ""        # ISO 8601 with offset
          ends_at: ""          # ISO 8601 with offset
          timezone: ""         # IANA name for the node's display timezone (overrides day default)
          timezone_start: ""   # IANA name for departure/start, mainly for cross-timezone travel and .ics
          timezone_end: ""     # IANA name for arrival/end, mainly for cross-timezone travel and .ics
          location:
            name: ""
            address: ""
            lat: null          # WGS-84 decimal degrees, only if geocoded
            lon: null
            osm_id: ""         # optional Nominatim ID for traceability
          location_start:
            name: ""
            address: ""
            code: ""           # IATA/station code if applicable
            terminal: ""
            lat: null
            lon: null
          location_end:
            name: ""
            address: ""
            code: ""
            terminal: ""
            lat: null
            lon: null
          participants: []                      # travel/restaurant/event/transfer/free_time. NOT used for meeting nodes.
          attending_from_travel_party: []       # meeting nodes only — required if known
          meeting_with: []                      # meeting nodes only — external attendees / organisation
          agenda: ""                            # meeting nodes only — optional
          provider: ""
          confirmation_ref: ""
          # Type-specific extensions live on the node itself. Examples:
          #   travel/flight: flight_number, airline, booking_ref, ticket_number,
          #                  departure_airport, arrival_airport, baggage_allowance
          #   travel/train:  train_number, operator, coach, seat, fare_class
          #   stay:          property_name, check_in, check_out, nights,
          #                  cancellation_deadline, guests
          #   meeting:       host_contact, materials, dial_in
          #   restaurant:    reservation_ref, party_size, under_name, dress_code
          #   admin:         due_at, owner
          cost:
            amount: null
            currency: ""        # ISO 4217, e.g. JPY, USD
            payer: ""           # who/what entity paid
            billable_to: ""     # client/cost-centre for expense routing
            payment_method_redacted: ""   # e.g. "Visa **** 1234" — never full PAN
          route:
            mode: ""            # walking|transit|driving|taxi|ride_hail|private_car|shuttle|unknown
            estimated_duration: ""
            distance: ""
            maps_url: ""        # prefer lat,lon endpoints when available
            directions_summary: ""
            checked_at: ""      # ISO 8601 when route was tool-resolved
          notes: ""
          private_notes: ""
          source_refs: []
      links:
        - from_node_id: ""
          to_node_id: ""
          relationship: sequence|transfer|dependency|optional
          route:
            mode: walking|transit|driving|taxi|ride_hail|unknown
            estimated_duration: ""
            distance: ""
            maps_url: ""
            directions_summary: ""
            checked_at: ""
canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill.Stars: 198kUpdated Claude CodeCodexVerifiedInstall