← Back to Skills Marketplace
gaogao605

Train Ticket Booking

by fenbeitong-trip · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
165
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install train-ticket
Description
分贝通火车预订助手,实时查询火车票、展示车次列表、预订火车票、查看订单、取消订单。Invoke when user wants to search trains, book train tickets, check train orders, or cancel train bookings.
Usage Guidance
This skill appears to do exactly what it says: call fenbeitong APIs to search, create, query and cancel train orders. Before installing, be aware it will ask for and transmit sensitive personal data (name, national ID, phone number) to external endpoints (openapiv2.fenbeitong.com and app-gate.fenbeitong.com). Confirm you trust the fenbeitong service, avoid entering more PII than necessary, and consider using it only in trusted environments. Note the code contains hardcoded X-App-Id/EMP_ID values (no user credentials required) — that is coherent but means requests happen under those app identifiers rather than your own account. If you need stronger assurance, verify the service's privacy/security policy or run the scripts in an isolated environment first.
Capability Analysis
Type: OpenClaw Skill Name: train-ticket Version: 1.0.0 The skill bundle provides legitimate functionality for searching, booking, and managing train tickets via the Fenbeitong (分贝通) corporate travel platform. It communicates exclusively with official Fenbeitong domains (openapiv2.fenbeitong.com and app-gate.fenbeitong.com) and contains no evidence of data exfiltration, malicious execution, or prompt injection. While it includes a hardcoded App ID and Employee ID in `scripts/fb_train_api.py`, these appear to be service-specific configurations rather than malicious credentials.
Capability Assessment
Purpose & Capability
Name/description (火车票查询/预订/订单管理) align with included code and SKILL.md: the code implements search, detail, create/cancel order and order queries against fenbeitong openapi endpoints. Required binary (python3) is appropriate and nothing unrelated (e.g., cloud credentials, SSH keys) is requested.
Instruction Scope
SKILL.md explicitly mandates calling the functions in scripts/fb_train_api.py and to display API-returned data without fabrication. The runtime instructions and the function implementations match (search_train_list, get_train_detail, create_order, cancel_order, get_order_detail). There is no instruction to read unrelated local files or environment variables.
Install Mechanism
No install spec is provided (instruction-only skill plus included scripts). The two included Python scripts are plain, call only the documented fenbeitong endpoints, and do not download or execute additional external code or archives.
Credentials
The skill requests no environment variables or credentials (X-App-Id and EMP_ID are hardcoded). However, it does transmit user PII (passenger name, ID card number, phone) to external fenbeitong endpoints as required for booking — this is expected for a booking skill but is sensitive and worth user consent/awareness.
Persistence & Privilege
always is false and the skill does not request persistent system privileges or modify other skills' configs. It will operate only when invoked.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install train-ticket
  3. After installation, invoke the skill by name or use /train-ticket
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of 分贝通火车预订助手 skill (v1.0.0) - Supports real-time train ticket search by departure, destination, and date - Allows users to view train details, create bookings, check orders, and cancel orders - Strictly displays official API data without modification or invention - Integrated payment and order detail links for seamless booking experience
Metadata
Slug train-ticket
Version 1.0.0
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is Train Ticket Booking?

分贝通火车预订助手,实时查询火车票、展示车次列表、预订火车票、查看订单、取消订单。Invoke when user wants to search trains, book train tickets, check train orders, or cancel train bookings. It is an AI Agent Skill for Claude Code / OpenClaw, with 165 downloads so far.

How do I install Train Ticket Booking?

Run "/install train-ticket" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Train Ticket Booking free?

Yes, Train Ticket Booking is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Train Ticket Booking support?

Train Ticket Booking is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Train Ticket Booking?

It is built and maintained by fenbeitong-trip (@gaogao605); the current version is v1.0.0.

💬 Comments