← 返回 Skills 市场
Rail Ticket Helper
作者
fenbeitong-trip
· GitHub ↗
· v1.0.0
· MIT-0
102
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install rail-ticket-helper
功能描述
分贝通火车预订助手,实时查询火车票、展示车次列表、预订火车票、查看订单、取消订单。Invoke when user wants to search trains, book train tickets, check train orders, or cancel train bookings.
安全使用建议
The skill appears to implement exactly what it says (search/book/cancel via Fenbeitong APIs). Before installing: (1) verify the publisher/source since homepage is missing and source is 'unknown'; (2) be aware the skill sends passenger PII (names, ID numbers, phones) to https://openapiv2.fenbeitong.com and related Fenbeitong endpoints—only use if you trust that service and have consent to transmit that data; (3) the Python code requires the 'requests' package but the skill does not declare it—ensure your runtime has requests installed; (4) confirm the embedded X-App-Id/EMP_ID are legitimate for your use-case (the skill operates under that app identity); (5) if you need higher assurance, review network requests or run the scripts in an isolated environment and inspect API responses and behavior before using with real passenger data.
功能分析
Type: OpenClaw Skill
Name: rail-ticket-helper
Version: 1.0.0
The skill contains hardcoded sensitive identifiers, specifically 'X_APP_ID' and 'EMP_ID', within 'scripts/fb_train_api.py'. While the code appears to legitimately implement train booking functionality via the Fenbeitong OpenAPI (openapiv2.fenbeitong.com), hardcoding these credentials is a significant security vulnerability that could lead to unauthorized account access or session hijacking. There is no evidence of intentional data exfiltration to unauthorized third-party domains, but the use of static employee IDs for all transactions is a high-risk practice.
能力评估
Purpose & Capability
The name/description (train search & booking) matches the included code and SKILL.md. The two Python modules implement search/get-detail/create/cancel/order APIs against openapiv2.fenbeitong.com and supporting redirect URLs, which is exactly what the skill claims to do. No unrelated services or credentials are requested.
Instruction Scope
SKILL.md explicitly requires calling functions in scripts/fb_train_api.py and to not fabricate results; the code implements those functions. The instructions do not ask the agent to read unrelated system files or to transmit data to unknown endpoints outside the documented Fenbeitong domains.
Install Mechanism
There is no install spec (lowest-risk pattern) but the shipped Python code uses the 'requests' library while the skill only declares 'python3' as a required binary. The missing dependency declaration (requests) is a coherence/operational issue—installation may fail if the environment lacks that package—but not an indicator of malicious intent.
Credentials
No environment variables or user credentials are requested (declared). The code embeds a hard-coded X-App-Id and EMP_ID and uses them for all API calls; this is coherent with the SKILL.md which documents the App-Id. Users should note the skill will transmit sensitive passenger data (names, ID numbers, phone numbers) to the external Fenbeitong endpoints.
Persistence & Privilege
always is false; the skill does not request persistent system-level privileges or modify other skills. It runs as a normal, user-invocable skill with no elevated platform privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install rail-ticket-helper - 安装完成后,直接呼叫该 Skill 的名称或使用
/rail-ticket-helper触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
fb-train-skill 1.0.0 — Initial release
- Launches 分贝通火车预订助手 for real-time train ticket search, booking, order inquiry, and cancellation.
- Provides user-friendly workflows for viewing train lists, checking seat availability, booking, and managing orders.
- Integrates with 分贝通 OpenAPI for all ticket, order, and payment operations.
- Enforces strict data sourcing from API responses; prohibits generating or modifying ticket data.
- Includes clear examples of user prompts and display formats for each function.
- Supports payment and order status checks via generated links.
元数据
常见问题
Rail Ticket Helper 是什么?
分贝通火车预订助手,实时查询火车票、展示车次列表、预订火车票、查看订单、取消订单。Invoke when user wants to search trains, book train tickets, check train orders, or cancel train bookings. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 102 次。
如何安装 Rail Ticket Helper?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install rail-ticket-helper」即可一键安装,无需额外配置。
Rail Ticket Helper 是免费的吗?
是的,Rail Ticket Helper 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Rail Ticket Helper 支持哪些平台?
Rail Ticket Helper 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Rail Ticket Helper?
由 fenbeitong-trip(@gaogao605)开发并维护,当前版本 v1.0.0。
推荐 Skills