ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified browser automation Safety 3/5

travel-cn

旅行信息查询 - 去哪儿/携程/飞猪数据查询(Expedia 中国版)

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/guohongbin-git/travel-cn
Or

What This Skill Does

The travel-cn skill is a comprehensive travel information query agent designed to access and process data from major Chinese travel platforms including Ctrip (携程), Qunar (去哪儿), and Fliggy (飞猪). It provides functionality for searching and booking flights, hotels, and train tickets, as well as information on scenic spot tickets and itinerary planning. The skill leverages both direct API access (where available and permitted) and web scraping techniques to gather real-time travel information.

Key features include:

  • Flight Search: Query flight information across Ctrip and Qunar.
  • Hotel Booking: Search for hotel availability and pricing, primarily through Ctrip.
  • Train Ticket Search: Access official 12306 data for train ticket information.
  • Scenic Spot Tickets: Information related to tickets for tourist attractions.
  • Itinerary Planning: Assist users in organizing and planning their travel schedules.

Platform comparison highlights that Ctrip offers comprehensive services for flights, hotels, and trains. Qunar excels in price comparison for flights, hotels, and trains. Fliggy, part of the Alibaba ecosystem, covers flights and hotels but not trains. The official 12306 platform is the definitive source for train tickets.

The skill can be utilized for various scenarios such as business travel optimization, leisure trip planning, and price monitoring for the best booking opportunities.

Installation

To install the travel-cn skill, use the following command:

clawhub install openclaw/skills/skills/guohongbin-git/travel-cn

This command will download and set up the necessary components for the travel skill within your OpenClaw environment. Ensure you have the Clawhub CLI installed and configured.

Use Cases

  • Business Travel: Quickly find the most cost-effective flight and hotel options, optimize travel routes, and manage expenses.
  • Leisure Travel Planning: Discover recommended attractions, plan efficient routes, and estimate travel budgets.
  • Price Monitoring: Set up alerts for price drops on flights or hotels and identify optimal times to book.
  • Quick Lookups: Get instant information on flight availability between two cities, hotel prices in a specific location for given dates, or train schedules for a particular route and date.

Example Prompts

  1. "Find me flight options from Shanghai to Beijing for February 20th, 2026, and compare prices on Ctrip and Qunar."
  2. "I need to book a hotel in Shanghai from March 15th to March 17th, 2026. Show me available options and prices."
  3. "What are the train ticket options from Guangzhou to Shenzhen for tomorrow, and what's the earliest departure time?"

Tips & Limitations

  • API Access: Direct API access, especially for Ctrip, may require specific partner qualifications. The skill may fall back to web scraping methods where direct API access is restricted.
  • Web Scraping Risks: Relying on web scraping can be subject to changes in website structure, IP blocking, and CAPTCHA challenges. Users should be aware that scraping stability is not guaranteed and may occasionally fail.
  • Real-time Data: Travel prices and availability fluctuate rapidly. The information provided is subject to real-time changes, and users should confirm details before making any bookings.
  • Platform Scope: While the skill aims to cover major platforms, specific features or data points might be limited by the capabilities of the underlying APIs or the websites being scraped. For instance, Fliggy does not currently support train ticket information via this skill's implementation.
  • Partnership Requirements: Note that direct API integrations, particularly for Ctrip's flight and hotel searches, are stated to require partner qualifications, implying that these functionalities might be limited or unavailable without such agreements.

Metadata

Stars2387
Views13
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-guohongbin-git-travel-cn": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#travel#booking#flights#hotels#trains
Safety Score: 3/5

Flags: network-access, external-api, code-execution