← 返回 Skills 市场
Train Ticket Booking
作者
fenbeitong-trip
· GitHub ↗
· v1.0.0
· MIT-0
165
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install train-ticket
功能描述
分贝通火车预订助手,实时查询火车票、展示车次列表、预订火车票、查看订单、取消订单。Invoke when user wants to search trains, book train tickets, check train orders, or cancel train bookings.
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install train-ticket - 安装完成后,直接呼叫该 Skill 的名称或使用
/train-ticket触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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
元数据
常见问题
Train Ticket Booking 是什么?
分贝通火车预订助手,实时查询火车票、展示车次列表、预订火车票、查看订单、取消订单。Invoke when user wants to search trains, book train tickets, check train orders, or cancel train bookings. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 165 次。
如何安装 Train Ticket Booking?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install train-ticket」即可一键安装,无需额外配置。
Train Ticket Booking 是免费的吗?
是的,Train Ticket Booking 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Train Ticket Booking 支持哪些平台?
Train Ticket Booking 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Train Ticket Booking?
由 fenbeitong-trip(@gaogao605)开发并维护,当前版本 v1.0.0。
推荐 Skills