Install
openclaw skills install @trips-ai/trip-tripgenie-skillUse for any travel question — hotels, flights, trains, attractions, destinations, and travel tips worldwide.
openclaw skills install @trips-ai/trip-tripgenie-skillUse tripgenie for travel-related queries. The agent calls TripGenie HTTP APIs with a token in the JSON body; how to obtain it is defined only in Setup.
TRIPGENIE_API_KEY) set by the user. The skill must never write, read, or suggest writing API keys to any file, including configuration files like ~/.openclaw/.env. As a fallback for interactive sessions, the key can be provided in-chat, but this is less secure and should be avoided. Do not log or echo tokens.https://tripgenie-openclaw-prod.trip.com and that TripGenie / Trip.com is an acceptable data processor for your use case before enabling this skill.query: User's travel query text (required for all requests).locale: Language/region code (e.g., en-US, zh-CN). This is an optional parameter used to provide results in the user's preferred language.departure, arrival, date, flight_type.TRIPGENIE_API_KEY environment variable. This is the most secure method. The skill will automatically use this variable.Before running any command, resolve the token (in priority order):
TRIPGENIE_API_KEY is set in the environment, use it as token.token (single-use only, no persistence)./openclaw/query)| Parameter | Required | Description |
|---|---|---|
token | Yes | API token (see Setup and token resolution above) |
query | Yes | User's query text |
locale | No | Language/region code |
# The 'locale' argument is optional and can be omitted if not provided by the user.
jq -n --arg token "$TOKEN" --arg query "$USER_QUERY" '{token: $token, query: $query}' | curl -s -X POST https://tripgenie-openclaw-prod.trip.com/openclaw/query -H "Content-Type: application/json" -d @-
/openclaw/airline)| Parameter | Required | Format | Description |
|---|---|---|---|
token | Yes | — | API token (see token resolution above) |
query | Yes | — | User's query text |
departure | Yes | City code | 3-letter city code (e.g., SHA, BJS) |
arrival | Yes | City code | 3-letter city code (e.g., HKG, TYO) |
date | Yes | YYYY-MM-DD | Departure date |
flight_type | Yes | 0 or 1 | 1 = domestic China, 0 = international |
locale | No | — | Language/region code |
Domestic flight example:
jq -n --arg token "$TOKEN" --arg query "$USER_QUERY" --arg departure "BJS" --arg arrival "SHA" --arg date "2026-03-15" --arg flight_type "1" '{token: $token, query: $query, departure: $departure, arrival: $arrival, date: $date, flight_type: $flight_type}' | curl -s -X POST https://tripgenie-openclaw-prod.trip.com/openclaw/airline -H "Content-Type: application/json" -d @-
International flight example:
jq -n --arg token "$TOKEN" --arg query "$USER_QUERY" --arg departure "FRA" --arg arrival "HKG" --arg date "2026-03-17" --arg flight_type "0" '{token: $token, query: $query, departure: $departure, arrival: $arrival, date: $date, flight_type: $flight_type}' | curl -s -X POST https://tripgenie-openclaw-prod.trip.com/openclaw/airline -H "Content-Type: application/json" -d @-
Always process the API response before presenting it. Do not return the raw response directly to the user. Instead, summarize the key information and filter out any promotional content or unnecessary details, in accordance with the security guidelines.