← Back to Skills Marketplace
Travel CN
by
Guohongbin
· GitHub ↗
· v1.0.0
1451
Downloads
1
Stars
16
Active Installs
1
Versions
Install in OpenClaw
/install travel-cn
Description
旅行信息查询 - 去哪儿/携程/飞猪数据查询(Expedia 中国版)
Usage Guidance
This is an instruction-only travel lookup skill that shows how to call partner APIs and how to scrape sites. Before installing or using it: (1) note that the SKILL.md refers to APIs (Ctrip) and services (12306) that usually require API keys or logins, but the skill doesn't declare or handle credentials — do not paste credentials into an untrusted skill. (2) The examples call for pip installing packages (selenium, py12306) and running a browser driver — review and vet any packages before installing. (3) The quick scripts referenced (./scripts/*.sh) are not included; don't execute unknown local scripts if you find them later. (4) Web scraping can violate site terms and may expose your IP/account; prefer official partner APIs and explicit credential handling. If you plan to use this, ask the author for: the missing scripts, explicit instructions on how to supply credentials safely (and what env vars to set), and assurances about legal/ToS compliance for scraping.
Capability Analysis
Type: OpenClaw Skill
Name: travel-cn
Version: 1.0.0
The skill is classified as suspicious due to its reliance on potentially risky capabilities, even though no direct malicious intent is evident. The `SKILL.md` file describes methods involving `pip install selenium` and `pip install py12306` for package installation, web scraping using Selenium, and the execution of local shell scripts (`./scripts/*.sh`). While these actions are presented as examples for the skill's stated purpose (travel information), they represent capabilities that, if not properly sandboxed or controlled by the AI agent's execution environment, could be exploited for unintended system access or resource consumption. There is no evidence of intentional data exfiltration, persistence, or malicious prompt injection.
Capability Assessment
Purpose & Capability
The name and description (travel lookups for Chinese platforms) match the SKILL.md content: it shows how to call Ctrip/qunar/12306, use py12306, and run Selenium scraping. However, the SKILL.md references partner APIs that require credentials/partner access (e.g., ctrip API) but the skill declares no required environment variables or credentials. Also the quick scripts (./scripts/*.sh) are referenced but not included in the package, which is an internal inconsistency.
Instruction Scope
The runtime instructions tell an agent to install Python packages (selenium, py12306), run Selenium to scrape websites, and curl partner APIs. These actions are within travel-skill scope but expand risk: scraping can trigger IP blocks or violate TOS, py12306 and some APIs likely require login credentials or cookies, and the SKILL.md directs running local scripts that are not provided. The instructions are concrete (not wildly open-ended) but they ask the operator to perform network scraping and installs without guidance on credential handling or safety.
Install Mechanism
There is no install spec and no code files that execute automatically; this is an instruction-only skill. That minimizes the risk of hidden executable installs. The only installation guidance is in prose (pip install), which runs only if a user follows it.
Credentials
The skill declares no required env vars or primary credential, yet the documentation references partner APIs and services that typically require API keys, partner credentials, or account logins (Ctrip, 12306, etc.). That mismatch means the skill does not declare how credentials should be provided, stored, or protected. Requiring unspecified credentials is a proportionality and transparency issue.
Persistence & Privilege
The skill is not always-enabled and does not request elevated persistence. Autonomous invocation is allowed by platform default but the skill does not ask for permanent presence or system config changes.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install travel-cn - After installation, invoke the skill by name or use
/travel-cn - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
travel-cn 1.0.0 – Initial release
- Provides travel info queries for China, covering flights, hotels, trains, and attractions.
- Supports data and price comparison from Qunar, Ctrip, and Fliggy.
- Includes usage scenarios like business travel, trip planning, and price tracking.
- Offers API and web scraping script examples for quick bookings and searches.
- Lists key considerations for API access, web scraping risks, and real-time pricing changes.
Metadata
Frequently Asked Questions
What is Travel CN?
旅行信息查询 - 去哪儿/携程/飞猪数据查询(Expedia 中国版). It is an AI Agent Skill for Claude Code / OpenClaw, with 1451 downloads so far.
How do I install Travel CN?
Run "/install travel-cn" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Travel CN free?
Yes, Travel CN is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Travel CN support?
Travel CN is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Travel CN?
It is built and maintained by Guohongbin (@guohongbin-git); the current version is v1.0.0.
More Skills