← 返回 Skills 市场
train assistant
作者
fenbeitong-trip
· GitHub ↗
· v1.0.0
· MIT-0
101
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install train-assistant
功能描述
分贝通火车预订助手,实时查询火车票、展示车次列表、预订火车票、查看订单、取消订单。Invoke when user wants to search trains, book train tickets, check train orders, or cancel train bookings.
安全使用建议
This skill appears to do what it claims: call FenbeiTong APIs to search, book, query, and cancel train tickets. Before installing, confirm you trust the FenbeiTong endpoints and the skill source because booking requires submitting personal data (name, ID number, phone) to those external servers. The skill does not request extra credentials or install third‑party packages, but it will make outbound HTTPS requests — avoid running it in environments where sending PII or other sensitive data to external services is unacceptable. If you need tighter control, ask the publisher for privacy/policy documentation or a means to configure your own API credentials/endpoints instead of using the hardcoded X-App-Id.
功能分析
Type: OpenClaw Skill
Name: train-assistant
Version: 1.0.0
The skill is a train booking assistant for the Fenbeitong platform that handles sensitive Personal Identifiable Information (PII), including names, ID card numbers, and phone numbers. It performs external network requests to 'openapiv2.fenbeitong.com' and 'app-gate.fenbeitong.com' to process bookings and payments. While the code in 'scripts/fb_train_api.py' and 'scripts/openai_adapter.py' appears aligned with its stated purpose, it contains hardcoded identifiers (X_APP_ID and an unused EMP_ID), which is a poor security practice. The inherent risk of handling PII and the use of hardcoded credentials/IDs without environment variable configuration warrants a suspicious classification despite the lack of clear malicious intent.
能力评估
Purpose & Capability
Name/description (train booking) align with required binaries, included scripts, and network endpoints (openapiv2.fenbeitong.com, app-gate.fenbeitong.com). Hardcoded X-App-Id and API base URLs are consistent with a preconfigured integration for this service.
Instruction Scope
SKILL.md explicitly requires calling functions in scripts/fb_train_api.py (search, detail, create/cancel orders). Instructions are scoped to searching, viewing details, creating/cancelling orders and presenting results; they do not request unrelated system files or credentials.
Install Mechanism
No install spec; skill is instruction+scripts only and requires python3 on PATH. Nothing is downloaded or written to disk by an installer.
Credentials
No environment variables or external credentials are required, which is consistent. However, the skill collects and transmits sensitive user-provided PII (names, ID card numbers, phone numbers) to the third-party FenbeiTong endpoints as part of booking — this is expected for booking but is a privacy consideration the user should accept consciously. The code uses a hardcoded X-App-Id (not a secret) which matches the documented integration.
Persistence & Privilege
always:false and no requests to modify other skills or agent-wide config. The skill can be invoked autonomously by the agent (normal default) but it does not request permanent elevated presence.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install train-assistant - 安装完成后,直接呼叫该 Skill 的名称或使用
/train-assistant触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
fb-train-skill v1.0.0 initial release
- 支持实时查询火车票、展示车次列表。
- 可预订火车票,支持订单创建、支付、查看与取消。
- 严格依赖 scripts/fb_train_api.py 获取所有数据,禁止自行编造车次或价格信息。
- 适配国内高铁、动车等各类火车票预订需求。
- 提供标准表格与操作引导,便于用户选择和下单。
元数据
常见问题
train assistant 是什么?
分贝通火车预订助手,实时查询火车票、展示车次列表、预订火车票、查看订单、取消订单。Invoke when user wants to search trains, book train tickets, check train orders, or cancel train bookings. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 101 次。
如何安装 train assistant?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install train-assistant」即可一键安装,无需额外配置。
train assistant 是免费的吗?
是的,train assistant 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
train assistant 支持哪些平台?
train assistant 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 train assistant?
由 fenbeitong-trip(@gaogao605)开发并维护,当前版本 v1.0.0。
推荐 Skills