12306火车票查询与预订
零配置即装即用,支持火车票查询含12306实时余票、去火车站交通方式查询和住宿推荐,多旅游平台数据直连。 Skill: 12306火车票查询与预订 Owner: travel-skills Summary: 零配置即装即用,支持火车票查询含12306实时余票、去火车站交通方式查询和住宿推荐,多旅游平台数据直连。 Tags: latest:1.1.9 Version history: v1.1.9 | 2026-09-22T09:59:07.991Z | user 移除PROXY_TOKEN硬编码,修复安全网关T09拦截 v1.1.4 | 2026-08-26T14:48:35.629Z | user 优化技能描述,提升搜索匹配精度 v1.1.3 | 2026-07-05T12:33:47.816Z | user 修正显示名称为中文 v1.1.2 | 2026-07-05T03:00:47.727Z | user 丰富关键词覆盖,提升相关查询命中率 v1.1.1 | 2026-07-01T04:19:28.706Z | user 优化
Rank
62
Safety
84
Downloads
1.1k
Updated
Oct 11, 2026
Version
1.1.9
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/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 11, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 11, 2026
- Adoption signal
- 1.1K downloadsadoption · observed Oct 11, 2026
- Latest release
- 1.1.9release · observed Sep 22, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s175e1acy2vdpc6w041zc2tcgs887xev:train-ticket-query- 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.
- 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-travel-skills-train-ticket-query/snapshot"
Documentation
CLAWHUB
52,385 characters of source documentation, loaded on request.
Extracted files
3 files captured from the source.
SKILL.md
---
name: 12306火车票查询与预订
display_name: 12306火车票查询与预订
version: 1.1.9
description: 零配置即装即用,支持火车票查询含12306实时余票、去火车站交通方式查询和住宿推荐,多旅游平台数据直连。
tags: [火车票, 高铁, 动车, 12306余票, 火车票查询, 订火车票, 火车站交通, 住宿推荐, train, railway, ticket]
tools:
- name: search_train
description: 查询火车票/高铁票的余票、价格和时刻表,含12306实时余票信息
parameters:
- name: departure
type: string
description: 出发城市,如"上海"、"北京"
required: true
- name: destination
type: string
description: 到达城市,如"北京"、"成都"
required: true
- name: depDate
type: string
description: 出发日期,支持"6月15日"、"6-15"、"明天"等灵活格式
required: false
- name: seatClass
type: string
description: 坐席类型筛选,如二等座、一等座、商务座、硬卧、硬座
required: false
- name: transportNo
type: string
description: 指定车次号,如G44、D312
required: false
- name: query_transport
description: 查询从出发地到火车站的交通方式,包括打车预估费用和公交地铁路线
parameters:
- name: origin
type: string
description: 出发地名称,如"浦东机场"、"南京路100号"
required: true
- name: trainStation
type: string
description: 火车站名,如"上海虹桥站"、"北京南站"
required: true
- name: city
type: string
description: 所在城市,如"上海"、"北京"
required: true
- name: recommend_hotel
description: 用自然语言描述住宿需求,AI智能匹配高分酒店并返回推荐和预订链接
parameters:
- name: query
type: string
description: 住宿需求描述,如"北京住三里屯附近,400左右"
required: true
---
# 12306火车票查询与预订 — 火车票查询含12306余票 + 去站交通 + 住宿推荐
> ⚡ **12306实时余票 · 灵活日期输入 · 去站交通 · 住宿推荐 · 零配置即装即用**
---
## 快速入门
**3个开场白示例,复制即用:**
1. "帮我查明天上海到北京的高铁票"
2. "从浦东机场怎么去上海虹桥站"
3. "北京住三里屯附近,400左右的酒店"
---
## 核心能力
1. **火车票查询**:查询高铁/动车/普快车次、票价、时刻表,自动补充12306各座席实时余票
2. **智能日期解析**:支持"6月15日"、"6-15"、"明天"、"后天"等多种日期格式
3. **直达/换乘分组**:直达车次、同站换乘、跨站换乘自动分组展示
4. **12306余票**:自动查询12306各座席余票信息(商务座/一等座/二等座/软卧/硬卧/硬座/无座)
5. **去站交通**:查询到火车站的打车预估费用、地铁/公交路线方案
6. **住宿推荐**:用自然语言描述需求,AI智能匹配酒店
## 能做什么
- 查询国内火车票实时票价和余票
- 按直达/换乘、座席类型、车次号等条件筛选
- 查询去火车站的打车、地铁、公交方案
- 推荐目的地住宿酒店
## 不能做什么
- 不支持直接购买火车票(提供预订链接,用户点击跳转购买)
- 不支持查询已购车票状态或办理退票
- 12306余票依赖12306官网接口,偶发不可用时仅显示票价参考
## 使用示例
1. "帮我查明天上海到北京的高铁票"
2. "广州到深圳6月20号的火车"
3. "从浦东机场怎么去上海虹桥站"
4. "北京住三里屯附近,400左右的酒店"
## 注意事项
- 12306余票信息来自12306官网,实时变动,以实际购票页面为准
- 票价为参考价,实际价格以预订页面为准
- 退票规则:开车前8天以上免手续费 | 48小时~8天扣5% | 24~48小时扣10% | 不足24小时扣20%
- 数据来源为多旅游平台直连,不存储用户数据
## 数据流向
用户输入 → 本技能 → 多旅游平台/12306 → 返回结果给用户_meta.json
{
"ownerId": "kn7e1mfbeh2h71wg876t0sb8gx884fjb",
"slug": "train-ticket-query",
"version": "1.1.9",
"publishedAt": 1790071147991
}skill-card.md
## Description: 零配置即装即用,支持火车票查询含12306实时余票、去火车站交通方式查询和住宿推荐,多旅游平台数据直连。 This skill is ready for commercial/non-commercial use. ## Publisher: [travel-skills](https://clawhub.ai/user/travel-skills) ### License/Terms of Use: MIT-0 ## Use Case: External travelers and travel assistants use this skill to query China train schedules, prices, live 12306 seat availability, station transportation options, and hotel recommendations with booking links. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: Travel routes, station addresses, dates, and hotel preferences are sent to external China travel and mapping services through publisher proxy endpoints. Mitigation: Use the skill only when this data sharing is acceptable, and treat PROXY_TOKEN as an authentication secret when configured. Risk: Ticket availability, prices, booking links, and route estimates can change or depend on upstream service availability. Mitigation: Confirm ticket details on the final booking page and use map or carrier sources for time-sensitive travel decisions. ## Reference(s): - [ClawHub skill listing](https://clawhub.ai/travel-skills/skills/train-ticket-query) - [12306 station-name data endpoint](https://kyfw.12306.cn/otn/resources/js/framework/station_name.js) ## Skill Output: **Output Type(s):** [text, markdown, guidance] **Output Format:** [Markdown-formatted Chinese text with links] **Output Parameters:** [1D] **Other Properties Related to Output:** [Returns train options, live-seat notes, route estimates, hotel recommendations, status messages, and external booking links.] ## Skill Version(s): 1.1.9 (source: frontmatter and 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.
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!
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
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
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/travel-skills/skills/train-ticket-query",
"sourceUrl": "https://clawhub.ai/travel-skills/skills/train-ticket-query",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T12:49:54.126Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-travel-skills-train-ticket-query/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-travel-skills-train-ticket-query/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T12:49:54.126Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.1K downloads",
"href": "https://clawhub.ai/travel-skills/train-ticket-query",
"sourceUrl": "https://clawhub.ai/travel-skills/train-ticket-query",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T12:49:54.126Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.1.9",
"href": "https://clawhub.ai/travel-skills/train-ticket-query",
"sourceUrl": "https://clawhub.ai/travel-skills/train-ticket-query",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-09-22T09:59:07.991Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-travel-skills-train-ticket-query/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-travel-skills-train-ticket-query/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.1.9",
"description": "移除PROXY_TOKEN硬编码,修复安全网关T09拦截",
"href": "https://clawhub.ai/travel-skills/train-ticket-query",
"sourceUrl": "https://clawhub.ai/travel-skills/train-ticket-query",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-09-22T09:59:07.991Z",
"isPublic": true
}
]
}Record generated Oct 11, 2026.
