← 返回 Skills 市场
feiyang2007

12306 Old

作者 Feiyang2007 · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ⚠ suspicious
310
总下载
0
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install 12306-old
功能描述
Provides tools related to 12306 including client access and login script functionality for ticket booking automation.
使用说明 (SKILL.md)

12306\r

\r

自动生成的技能文档 - 2026-03-08\r \r

描述\r

\r 12306 技能包 - general 类工具\r \r

功能\r

\r

  • \r 12306_client.py- scripts/login.py\r \r

使用方法\r

\r

# 示例用法\r
# 待补充\r
```\r
\r
## 配置\r
\r
查看 `.env.example` 文件了解所需环境变量。\r
\r
## 脚本\r
\r
- \r
12306_client.py- scripts/login.py\r
\r
## 测试\r
\r
```bash\r
# 运行测试\r
# 待补充\r
```\r
\r
## 备注\r
\r
此文档由脚本自动生成,请根据实际情况补充完善。\r
\r
---\r
\r
*最后更新:2026-03-08T20:15:05.855845\r
安全使用建议
This package contains Python code that automates a browser (Playwright/Chromium) to log into 12306 and save cookies to a local file. Before installing or running: - Confirm the skill author supplies an install spec (requirements and Playwright/Chromium setup) and a .env.example explaining required env vars. - Treat RAILWAY_12306_USERNAME and RAILWAY_12306_PASSWORD as sensitive: do not put real credentials in an environment you don't control. The code will also write session cookies to 12306_cookies.json in the working directory—inspect or protect that file. - Run the code in a sandboxed environment (VM/container) if you must test it, and review/verify the source for any network calls beyond https://www.12306.cn. - If the author updates the manifest to declare required env vars and provides clear install and runtime docs, the coherence concerns would be resolved; until then, avoid trusting this skill with real credentials.
功能分析
Type: OpenClaw Skill Name: 12306-old Version: 1.0.2 The skill bundle contains a standard automation client for the 12306 railway website using the Playwright library. The code in 12306_client.py and scripts/login.py is designed to automate login and ticket searching, handling credentials via environment variables and storing session cookies locally in 12306_cookies.json. No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
Name/description match the code: the package implements a 12306 browser-automation client (login, ticket search). However registry metadata and SKILL.md claim no required env vars or binaries while the code reads RAILWAY_12306_USERNAME/RAILWAY_12306_PASSWORD and depends on Playwright/Chromium — an inconsistency between stated requirements and actual capabilities.
Instruction Scope
SKILL.md is auto-generated and sparse (no usage examples, references a .env.example that isn't present). The runtime code reads/writes a local cookie file (12306_cookies.json) and will launch a Chromium browser via Playwright to visit https://www.12306.cn. The instructions do not document these behaviors or where persistent data is stored.
Install Mechanism
There is no install spec, but the code requires the Python Playwright package and a Chromium runtime; the skill will fail unless these are present. Missing install instructions is an operational and supply-chain omission (not evidence of maliciousness, but risky and incoherent).
Credentials
The code expects RAILWAY_12306_USERNAME and RAILWAY_12306_PASSWORD environment variables (used for login) but the manifest lists no required env vars. Requesting those credentials would be proportionate for a login client, but the omission from metadata and lack of guidance on secure handling/persistence (cookie file saved locally) are red flags.
Persistence & Privilege
The skill does not set always:true, does not modify other skills, and only writes a local cookie file (12306_cookies.json) in its working directory. It will autonomously launch a browser when invoked, which is expected for browser automation.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install 12306-old
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /12306-old 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Initial release of the 12306-old skill. - Added core client script (12306_client.py) and login script. - Included README, SKILL.md, and environment metadata files. - Provided initial test script for basic validation.
v1.0.1
- No user-visible changes; updated metadata only.
v1.0.0
Initial release of the 12306 skill package. - Provides general tools for 12306, including 12306_client.py and scripts/login.py. - Automatically generated documentation added. - Usage instructions, configuration, and test details to be supplemented.
元数据
Slug 12306-old
版本 1.0.2
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 3
常见问题

12306 Old 是什么?

Provides tools related to 12306 including client access and login script functionality for ticket booking automation. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 310 次。

如何安装 12306 Old?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install 12306-old」即可一键安装,无需额外配置。

12306 Old 是免费的吗?

是的,12306 Old 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

12306 Old 支持哪些平台?

12306 Old 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 12306 Old?

由 Feiyang2007(@feiyang2007)开发并维护,当前版本 v1.0.2。

💬 留言讨论