A comprehensive AI skill for managing domestic flight searches and bookings through the Tuniu Open Platform via standard shell commands.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install tuniu-flight
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install tuniu-flight using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Tuniu Flight Assistant is a specialized tool designed for AI agents to interact with the Tuniu flight ecosystem. It utilizes shell execution and curl to communicate with MCP endpoints via the JSON-RPC 2.0 protocol. By adding this capability to your Openclaw Skills library, you empower your agent to handle complex travel logistics including multi-page flight searches, detailed cabin price comparisons, and secure booking submissions.
The skill acts as a bridge between high-level user intent and the Tuniu Open Platform, providing structured data for flight numbers, departure times, tax-inclusive pricing, and seat availability. It is built to handle the full lifecycle of a flight transaction, from initial discovery to the generation of final payment links, ensuring a seamless experience for developers and end-users alike.
To use this skill, you must provide a valid API key from the Tuniu Open Platform. Ensure curl is installed in your agent's execution environment.
# Set the required environment variable
export TUNIU_API_KEY="your_tuniu_open_platform_api_key"
# Optional: Override the default MCP URL if using a custom proxy
export FLIGHT_MCP_URL="https://openapi.tuniu.cn/mcp/flight"
The skill organizes data using standard JSON-RPC structures. Below are the key data entities handled within this Openclaw Skills integration:
| Entity | Key Fields | Description |
|---|---|---|
| FlightSearch | flightNumber, departureTime, priceWithTax | Primary flight details for listing results. |
| CabinDetails | sourceId, vendorId, cabinCodes | Technical identifiers required for the booking payload. |
| Passenger | psptId, psptType, birthday, tel | PII data required for domestic flight regulations. |
| OrderResponse | orderId, payUrl, payAmount | Transactional data returned upon successful booking. |
Loading
A powerful command-line interface for scraping, crawling, and searching the web to generate clean markdown for AI context.

A versatile utility for converting between Unix timestamps, ISO 8601 dates, and localized human-readable formats.

A versatile testing tool for validating REST API endpoints, authentication flows, and webhook integrations with customizable request parameters.

A versatile tool for generating customizable, high-quality QR codes for URLs, WiFi credentials, contact cards, and more.

A professional AI agent skill for searching, detailing, and booking hotels via the Tuniu platform using MCP and shell execution.

An AI-powered skill for querying scenic spot ticket prices and automating order creation through the Tuniu Open Platform.
