Lewati ke konten
TakoAPI
Kembali ke skill

tripgenie-skill

oleh marsqing

DevOps & Cloud
—Belum ada penilaian
Penilaian Anda

Ringkasan

TripGenie skill — handles hotel booking, flight search, attraction recommendation and travel consultation.

Deskripsi

Apa yang Dilakukan Skill Ini

TripGenie connects to Trip.com's travel API to handle hotel booking, flight search, attraction recommendations, and itinerary planning. It passes user queries directly to the TripGenie API and returns the response as-is, including prices, availability, and booking links.

Unlike generic AI travel advice, TripGenie returns live pricing and availability data directly from Trip.com Group, so results reflect current inventory rather than static knowledge.

Kapan Menggunakannya

  • Book a hotel room in a specific city for tonight
  • Search for flights between two destinations on a given date
  • Get attraction recommendations for an upcoming trip
  • Plan a multi-day itinerary for a family vacation
  • Find business class tickets with real-time pricing

Contoh Alur Kerja

INPUT

User asks: Search flights from Beijing to Shanghai tomorrow

AGENT
  1. 1

    TripGenie skill is triggered by flight search pattern

  2. 2

    Sends POST request to TripGenie API with user query and API token

  3. 3

    API returns flight options with prices, schedules, and booking links

  4. 4

    Full API response is forwarded to the user without summarization

OUTPUT

A markdown-formatted list of available flights with prices, departure times, and booking links

Persyaratan

  • TRIPGENIE_API_KEY environment variable — obtain from www.trip.com/tripgenie/openclaw

Instalasi

clawhub install marsqing/tripgenie-skill

Jalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.

Tautan