Skip to content
TakoAPI
Back to skills

tripgenie-skill

by marsqing

DevOps & Cloud
—Not yet rated
Your rating

Brief

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

Description

What This Skill Does

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.

When to Use It

  • 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

Example Workflow

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

Requirements

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

Installation

clawhub install marsqing/tripgenie-skill

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links