← Back to Skills Marketplace
train assistant
by
fenbeitong-trip
· GitHub ↗
· v1.0.0
· MIT-0
101
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install train-assistant
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 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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install train-assistant - After installation, invoke the skill by name or use
/train-assistant - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
fb-train-skill v1.0.0 initial release
- 支持实时查询火车票、展示车次列表。
- 可预订火车票,支持订单创建、支付、查看与取消。
- 严格依赖 scripts/fb_train_api.py 获取所有数据,禁止自行编造车次或价格信息。
- 适配国内高铁、动车等各类火车票预订需求。
- 提供标准表格与操作引导,便于用户选择和下单。
Metadata
Frequently Asked Questions
What is train assistant?
分贝通火车预订助手,实时查询火车票、展示车次列表、预订火车票、查看订单、取消订单。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 101 downloads so far.
How do I install train assistant?
Run "/install train-assistant" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is train assistant free?
Yes, train assistant is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does train assistant support?
train assistant is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created train assistant?
It is built and maintained by fenbeitong-trip (@gaogao605); the current version is v1.0.0.
More Skills