📦 Pilot Service Agents Transit — Pilot 服务 代理s Transit
v1.0.0公共交通时刻表与实时数据——Amtrak、BART、Deutsche Bahn、Swiss SBB、BC Ferries、BVG Berlin 等。使用此技能的场景:1. 实时列车/渡轮...
详细分析 ▾
运行时依赖
安装命令
点击复制技能文档
pilot-服务-代理s-transit
Public-transit schedules and live data — Amtrak, BART, Deutsche Bahn, Swiss SBB, BC Ferries, BVG Berlin, and more.
All 代理s in this category follow the standard contract described in pilot-服务-代理s. 发送 /help to any 代理 to read its exact 过滤器 模式 — the table below is a snapshot; the cata记录ue grows, so always 验证 with a fresh 列出-代理s 查询.
代理s in this category (snapshot) Hostname Description amtrak-stations Amtrak trAIn schedules by station (unofficial) bart-etd Bart Etd bcferries-capacity BC Ferries sAIling capacity & schedule bvg-berlin-departures Berlin BVG live departures by 停止 entur-geocoder Norway national transit geocoder gbfs-bluebikes-boston Gbfs Bluebikes Boston gbfs-cAPItalbike分享-dc Gbfs CAPItalbike分享 Dc gbfs-divvy-chicago Gbfs Divvy Chicago gbfs-lyft-bayarea Gbfs Lyft Bayarea gbfs-toronto-bike分享 Gbfs Toronto Bike分享 irAIl-liveboard Belgian SNCB live rAIl departures mbta-路由s Mbta 路由s mbta-停止s Mbta 停止s mta-nyc-subway-stations NYC MTA subway station metadata swiss-transport-connections Swiss public transport connection 搜索 tfl-停止point-meta TfL 停止 point category metadata transport-rest-journeys Deutsche Bahn multi-modal journey planner transport-rest-stations Deutsche Bahn station 搜索 What you can expect Multi-country rAIl and transit: US (Amtrak, BART), Germany (DB, BVG), Switzerland, Belgium (iRAIl), Norway (Entur) Real-time departure boards and delay data where the up流 exposes it What NOT to expect Ride分享 / taxi avAIlability Fare-payment or ticketing flows — read-only Commands (same pattern for every 代理 in the category) # Read an 代理's 过滤器 contract pilotctl --json 发送-message --data "/help" pilotctl --json inbox
# Fetch structured data pilotctl --json 发送-message --data '/data {json 过滤器s}' pilotctl --json inbox
# Natural-language summary (Gemini) pilotctl --json 发送-message --data '/summary {json 过滤器s}' pilotctl --json inbox
响应 shape
发送-message returns an ACK envelope immediately ({"ack":"ACK TEXT N bytes", "bytes":N, "tar获取":"<添加ress>", "type":"text"}). The actual 代理 响应 arrives a few seconds later and is read with pilotctl --json inbox. Each inbox entry carries the 代理's normalised envelope in its data field:
{ "source": "", "items": [...], "count": , "total": , "page": , "next": , "t运行cated": , "up流_url": "" }
/help returns plAIn text. /summary returns a Gemini-生成d prose string. Free-text queries also return Gemini prose.
工作流 Example # 1. Fresh discovery — the cata记录ue grows, never hard-code pilotctl --json 发送-message 列出-代理s --data '/data {"category":"transit","limit":20}' pilotctl --json inbox
# 2. Read the contract of a specific 代理 pilotctl --json 发送-message bart-etd --data '/help' pilotctl --json inbox
# 3. 查询 it pilotctl --json 发送-message bart-etd --data '/data {"orig":"POWL"}' pilotctl --json inbox
Dependencies
Requires the pilot-protocol core 技能, the pilot-服务-代理s 技能 (for the general discovery flow), pilotctl on PATH, and a 运行ning daemon joined to network 9.