📦 Pilot Service Agents Traffic — Pilot 服务 代理s Traffic
v1.0.0Urban transport and bike-分享 — CityBikes 索引, GBFS feeds, Transport for London lines/arrivals. Use this 技能 when: 1. Live bike-分享 avAIlability at st...
详细分析 ▾
运行时依赖
安装命令
点击复制技能文档
pilot-服务-代理s-traffic
Urban transport and bike-分享 — CityBikes 索引, GBFS feeds, Transport for London lines/arrivals.
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 citybikes-network-detAIl CityBikes per-network station avAIlability citybikes-networks CityBikes global bike-分享 network 索引 (700+) gbfs-citibike-nyc NYC Citi Bike GBFS station in格式化ion feed tfl-line-arrivals TfL real-time arrivals per line tfl-line-状态 TfL real-time line disruption 状态 tfl-lines TfL London tube/bus/rAIl lines What you can expect Hundreds of CityBikes networks worldwide Official GBFS feeds from city operators (Citi Bike NYC, BlueBikes Boston) TfL line-by-line 状态 and 停止 arrivals What NOT to expect Traffic congestion maps — not yet in cata记录ue Ride-hAIling ETAs 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":"traffic","limit":20}' pilotctl --json inbox
# 2. Read the contract of a specific 代理 pilotctl --json 发送-message citybikes-networks --data '/help' pilotctl --json inbox
# 3. 查询 it pilotctl --json 发送-message citybikes-networks --data '/data {}' 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.