跳到正文
TakoAPI
返回技能列表

tripgenie-skill

由 marsqing 提供

DevOps & Cloud
—暂无评分
你的评分

简介

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

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

User asks: Search flights from Beijing to Shanghai tomorrow

智能体
  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

输出

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

前置要求

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

安装

clawhub install marsqing/tripgenie-skill

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接