agentCLAWHUBUnverified

火车查询 - Train Ticket Inquiry - 极速数据

支持站站、车次、余票查询,返回时刻、票价与余票等。当用户说:北京到上海今天还有高铁票吗?帮我查一下 G1 次列车经停站,或类似火车票、余票问题时,使用本技能。 Skill: 火车查询 - Train Ticket Inquiry - 极速数据 Owner: jisuapi Summary: 支持站站、车次、余票查询,返回时刻、票价与余票等。当用户说:北京到上海今天还有高铁票吗?帮我查一下 G1 次列车经停站,或类似火车票、余票问题时,使用本技能。 Tags: latest:1.0.6 Version history: v1.0.6 | 2026-09-10T10:32:54.638Z | user - Removed the file: skill-card.md - No new features or bug fixes; this update is focused on removing documentation files only. v1.0.5 | 2026-04-03T10:05:00.131Z | user - Updated skill name and desc

OpenClaw

Rank

62

Safety

84

Downloads

1.8k

Updated

Oct 10, 2026

Version

1.0.6

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.8K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 10, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 10, 2026
Adoption signal
1.8K downloadsadoption · observed Oct 10, 2026
Latest release
1.0.6release · observed Sep 10, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s174fh1b14sn7vkvbqwsdn0xtd83gz5h:train
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-jisuapi-train/snapshot"

Documentation

CLAWHUB

32,630 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: "Train Ticket Inquiry - 火车查询"
description: 支持站站、车次、余票查询,返回时刻、票价与余票等。当用户说:北京到上海今天还有高铁票吗?帮我查一下 G1 次列车经停站,或类似火车票、余票问题时,使用本技能。
metadata: { "openclaw": { "emoji": "🚆", "requires": { "bins": ["python3"], "env": ["JISU_API_KEY"] }, "primaryEnv": "JISU_API_KEY" } }
---

# 极速数据火车查询(Jisu Train)

> 数据由 **[极速数据(JisuAPI)](https://www.jisuapi.com/)** 提供 — 国内专业的 API 数据服务平台,提供生活常用、交通出行、工具万能等数据接口。

- **站站查询**(`/train/station2s`)
- **车次查询**(`/train/line`)
- **余票查询**(`/train/ticket`)

## 前置配置:获取 API Key

1. 前往 [极速数据官网](https://www.jisuapi.com/) 注册账号
2. 进入 [火车查询 API](https://www.jisuapi.com/api/train/) 页面,点击「申请数据」
3. 在会员中心获取 **AppKey**
4. 配置 Key:


```bash
# Linux / macOS
export JISU_API_KEY="your_appkey_here"

# Windows PowerShell
$env:JISU_API_KEY="your_appkey_here"
```

## 脚本路径

脚本文件:`skills/train/train.py`

## 使用方式

### 1. 站站查询(/train/station2s)

```bash
python3 skills/train/train.py station2s '{"start":"杭州","end":"北京","ishigh":0}'
```

可选参数 `date`(不填则按接口默认):

```bash
python3 skills/train/train.py station2s '{"start":"杭州","end":"北京","ishigh":0,"date":"2025-04-03"}'
```

### 2. 车次查询(/train/line)

```bash
python3 skills/train/train.py line '{"trainno":"G34"}'
```

可选参数 `date`:

```bash
python3 skills/train/train.py line '{"trainno":"G34","date":"2025-04-04"}'
```

### 3. 余票查询(/train/ticket)

```bash
python3 skills/train/train.py ticket '{"start":"杭州","end":"北京","date":"2015-10-20"}'
```

## 请求参数

### 站站查询

| 字段名  | 类型   | 必填 | 说明       |
|---------|--------|------|------------|
| start   | string | 是   | 出发站(中文) |
| end     | string | 是   | 到达站(中文) |
| ishigh  | int    | 否   | 是否高铁(0/1) |
| date    | string | 否   | 日期(可选) |

### 车次查询

| 字段名  | 类型   | 必填 | 说明     |
|---------|--------|------|----------|
| trainno | string | 是   | 车次号   |
| date    | string | 否   | 日期(可选) |

### 余票查询

| 字段名 | 类型   | 必填 | 说明       |
|--------|--------|------|------------|
| start  | string | 是   | 出发站(中文) |
| end    | string | 是   | 到达站(中文) |
| date   | string | 是   | 日期,格式如 `2015-10-20` |

## 返回结果示例(节选)

### 站站查询

```json
[
  {
    "trainno": "G34",
    "type": "高铁",
    "station": "杭州东",
    "endstation": "北京南",
    "departuretime": "07:18",
    "arrivaltime": "13:07",
    "costtime": "5时49分",
    "distance": "1279",
    "priceyd": "907.0",
    "priceed": "538.5"
  }
]
```

### 车次查询

```json
{
  "trainno": "G34",
  "type": "高铁",
  "list": [
    {
      "sequenceno": "1",
      "station": "杭州东",
      "arrivaltime": "-",
      "departuretime": "07:18",
      "stoptime": "0"
    }
  ]
}
```

### 余票查询

```json
[
  {
    "trainno": "G42",
    "type": "高铁",
    "station": "杭州东",
    "endstation": "北京南",
    "departuretime": "09:26",
    "arrivaltime": "16:06",
    "costtime": "06:40",
    "numsw": "6",
    "numyd": "无",
    "numed": "无"
  }
]
```

## 常见错误码

来源于 [极速数据火车文档](https://www.jisuapi.com/api/train/):

| 代号 | 说明      

_meta.json

{
  "ownerId": "kn7ex9mabfb47dvpgkmeypwqj9825yyz",
  "slug": "train",
  "version": "1.0.6",
  "publishedAt": 1789036374638
}

skill-card.md

## Description:

支持站站、车次、余票查询,返回时刻、票价与余票等。

This skill is ready for commercial/non-commercial use.

## Publisher:

[jisuapi](https://clawhub.ai/user/jisuapi)

### License/Terms of Use:

MIT-0

## Use Case:

External users and agents use this skill to query China train routes, train-number details, schedules, fares, and remaining ticket availability through JisuAPI.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Train search details and the JisuAPI AppKey are sent to JisuAPI when the skill runs.

Mitigation: Use a dedicated, quota-limited JisuAPI key and run the skill only when sharing the requested train search details with JisuAPI is acceptable.

Risk: Request URLs, command history, or logs may expose the JisuAPI AppKey.

Mitigation: Avoid sharing logs that include request URLs, keep the key in the JISU_API_KEY environment variable, and rotate the key if exposure is suspected.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/jisuapi/skills/train)
- [JisuAPI train API documentation](https://www.jisuapi.com/api/train/)
- [JisuAPI website](https://www.jisuapi.com/)

## Skill Output:

**Output Type(s):** [text, shell commands, configuration, JSON]

**Output Format:** [JSON responses from command-line API queries, with text guidance for setup and usage]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires python3 and a JISU_API_KEY environment variable.]

## Skill Version(s):

1.0.6 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
Github ReposUpdated 7h agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/jisuapi/skills/train",
      "sourceUrl": "https://clawhub.ai/jisuapi/skills/train",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-10T02:17:35.084Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-jisuapi-train/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-jisuapi-train/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-10T02:17:35.084Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "1.8K downloads",
      "href": "https://clawhub.ai/jisuapi/train",
      "sourceUrl": "https://clawhub.ai/jisuapi/train",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-10T02:17:35.084Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.0.6",
      "href": "https://clawhub.ai/jisuapi/train",
      "sourceUrl": "https://clawhub.ai/jisuapi/train",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-09-10T10:32:54.638Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-jisuapi-train/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-jisuapi-train/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.0.6",
      "description": "- Removed the file: skill-card.md - No new features or bug fixes; this update is focused on removing documentation files only.",
      "href": "https://clawhub.ai/jisuapi/train",
      "sourceUrl": "https://clawhub.ai/jisuapi/train",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-09-10T10:32:54.638Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 10, 2026.

Sponsored

Ads related to 火车查询 - Train Ticket Inquiry - 极速数据 and adjacent AI workflows.