Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

tripgenie-skill

bởi marsqing

DevOps & Cloud
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

ĐẦU RA

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

Yêu cầu

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

Cài đặt

clawhub install marsqing/tripgenie-skill

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết