Token导航 LogoToken导航

Agent Skill · 研究检索

cta(克塔)

cta 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

cta 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 9,196。

总安装 14,736周安装 614GitHub Stars 公开资料未说明下载 4,912核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cta(克塔)
来源仓库:https://github.com/brianleach/cta
安装命令:
openclaw skills install cta
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install cta

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。芝加哥 CTA 交通 — 实时 L 火车到达、巴士预测、服务提醒和路线信息。

当用户询问芝加哥公共交通、L train 状态或服务问题时应该使用此技能。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install cta;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

cta 怎么安装?

在终端执行 openclaw skills install cta。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

cta 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

cta 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

cta 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

cta 用的人多吗?

公开数据是累计安装 14,736 次,近一周安装 614 次,下载 4,912 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

cta 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
cta

克塔 · 本页

14,736—接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
cta
description
Chicago CTA transit — real-time L train arrivals, bus predictions, service alerts, and route info. Use when the user asks about Chicago public transit, L train schedules, CTA bus times, service alerts, or nearby stops.
homepage
https://github.com/brianleach/cta-skill
license
MIT
metadata
clawhub
emoji
🚇
tags
[transit, chicago, cta, transportation, bus, train, l-train, schedule]
requires
bins
["node", "unzip"]
env
["CTA_TRAIN_API_KEY", "CTA_BUS_API_KEY"]
files
["scripts/cta.mjs"]
install
kind
shell
command
npm install --prefix $SKILL_DIR
label
Install Node.js dependencies

CTA Chicago Transit

Real-time Chicago CTA transit data — L train arrivals, bus predictions, service alerts, and route information. Requires free API keys for train and bus data; alerts work without any keys.

When to Use

  • User asks about CTA, L train, Blue Line, Red Line, Brown Line, or any Chicago rail line
  • User asks about Chicago bus routes, bus tracker, or train tracker
  • User asks "when is the next train" or "is the Red Line running" in a Chicago context
  • User mentions specific CTA stations (O'Hare, Midway, Clark/Lake, Belmont, etc.)
  • User asks about CTA fares, Ventra, or how to ride Chicago transit
  • User asks about CTA service alerts, delays, or detours
  • User asks about nearby stops or route information in Chicago

Data Sources

CTA uses 3 proprietary REST APIs. Train Tracker and Bus Tracker require free API keys. Customer Alerts is open access.

Train Tracker API (requires CTA_TRAIN_API_KEY)

Get a free key at: https://www.transitchicago.com/developers/traintrackerapply/

EndpointDescription
Arrivals by station (mapid)Train arrivals at a parent station
Arrivals by stop (stpid)Train arrivals at a directional stop
Train positions (rt)Live positions of all trains on a line
Follow a run (runnumber)Track a specific train run

Data refreshes approximately once per minute. Daily limit: 50,000 requests per key.

Bus Tracker API v2 (requires CTA_BUS_API_KEY)

Get a free key at: https://www.transitchicago.com/developers/bustracker/

EndpointDescription
Predictions by stopBus arrival predictions at a stop
Predictions by vehiclePredictions for a specific bus
Vehicle locationsLive bus positions on a route
Routes listAll active bus routes
Route directionsAvailable directions for a route
Stops for route/directionAll stops along a route

Bus data updates approximately every 30 seconds.

Customer Alerts API (NO key required)

EndpointDescription
Route statusesCurrent status of all routes
All alertsAll active service alerts
Alerts by routeAlerts filtered by route
Alerts by stationAlerts filtered by station

GTFS Static Feed

FeedFormatURL
GTFS Static (zip)ZIPhttps://www.transitchicago.com/downloads/sch_data/google_transit.zip

Used for stop names, route info, and schedule lookups. Same stop IDs used across all APIs.

Implementation

Quick Start: Use the helper scripts

The scripts in this skill's scripts/ directory handle fetching, parsing, and presenting CTA data.

Script: scripts/cta.mjs

Main entry point. Supports these commands:

# L train arrivals
node scripts/cta.mjs arrivals --station "Clark/Lake"
node scripts/cta.mjs arrivals --mapid 40380
node scripts/cta.mjs arrivals --stop 30070
node scripts/cta.mjs arrivals --stop-search "ohare"
node scripts/cta.mjs arrivals --stop-search "belmont" --route Red

# Bus predictions
node scripts/cta.mjs bus-arrivals --stop 456
node scripts/cta.mjs bus-arrivals --stop 456 --route 22
node scripts/cta.mjs bus-arrivals --stop-search "michigan"

# Vehicle tracking
node scripts/cta.mjs vehicles --route Red
node scripts/cta.mjs bus-vehicles --route 22

# Service alerts
node scripts/cta.mjs alerts
node scripts/cta.mjs alerts --route Red

# Routes and stops
node scripts/cta.mjs routes
node scripts/cta.mjs bus-routes
node scripts/cta.mjs stops --search "belmont"
node scripts/cta.mjs stops --near 41.8781,-87.6298 --radius 0.3
node scripts/cta.mjs route-info --route Red
node scripts/cta.mjs route-info --route 22

# Maintenance
node scripts/cta.mjs refresh-gtfs

Setup: API Keys

Train and bus commands require free API keys:

  1. Train Tracker key: Apply at https://www.transitchicago.com/developers/traintrackerapply/
  2. Bus Tracker key: Apply at https://www.transitchicago.com/developers/bustracker/
  3. Set environment variables: CTA_TRAIN_API_KEY and CTA_BUS_API_KEY

Alert commands work without any keys.

Setup: GTFS Static Data

On first use, run node scripts/cta.mjs refresh-gtfs to download and extract the static GTFS data (routes, stops, schedules) to ~/.cta/gtfs/. This only needs to be refreshed when CTA updates their schedule.

L Train Lines Reference

Route CodeLineTerminals
RedRed LineHoward ↔ 95th/Dan Ryan
BlueBlue LineO'Hare ↔ Forest Park
BrnBrown LineKimball ↔ Loop
GGreen LineHarlem/Lake ↔ Ashland/63rd or Cottage Grove
OrgOrange LineMidway ↔ Loop
PPurple LineLinden ↔ Howard (Express to Loop weekdays)
PinkPink Line54th/Cermak ↔ Loop
YYellow LineDempster-Skokie ↔ Howard

Key Bus Routes Reference

RouteNameNotes
22ClarkMajor north-south corridor
36BroadwayNorth Side lakefront
77BelmontMajor east-west crosstown
151SheridanLakefront express
146Inner Drive/Michigan ExpressLoop to north lakefront
8HalstedLong north-south route
9AshlandMajor north-south corridor
49WesternLongest route in system
66ChicagoMajor east-west route
7979thMajor south side east-west

CTA Fares Reference (2026)

Fare TypePrice
Regular (Ventra/contactless)$2.50
Bus transfer$0.25
Rail-to-rail transferFree within 2 hours
Reduced fare$1.25
1-Day Pass$5.00
3-Day Pass$15.00
7-Day Pass$20.00
30-Day Pass$75.00

Payment via Ventra card, Ventra app, or contactless bank card. Transfers valid for 2 hours.

Tips for Users

  • Station IDs are in the 4xxxx range (parent stations); stop IDs in the 3xxxx range (directional)
  • Use --station or --stop-search for name-based lookups; use --mapid for exact station IDs
  • Alerts always work — no API key needed — so check alerts first if something seems wrong
  • Train data refreshes ~1 minute; bus data refreshes ~30 seconds
  • For the Loop, trains may show as arriving from different directions depending on the line

Error Handling

  • If CTA_TRAIN_API_KEY is not set, train commands print a helpful message with the signup URL
  • If CTA_BUS_API_KEY is not set, bus commands print a helpful message with the signup URL
  • Alert commands always work (no key required)
  • Invalid station/stop searches show "No matching station found" with suggestions
  • Network errors and API error responses produce friendly messages

Response Formatting

When presenting transit info to the user:

  • Lead with the most actionable info (next arrival time, active alerts)
  • Show times in 12-hour format with AM/PM
  • Include line color AND destination (e.g., "Red Line toward 95th/Dan Ryan")
  • For trains: show "Due" for imminent arrivals, minutes for upcoming
  • For bus predictions, show estimated minutes until arrival
  • If there are active service alerts for the route being queried, always mention them

External Endpoints

EndpointData SentData Received
https://lapi.transitchicago.com/api/1.0/ttarrivals.aspxAPI key (query param, HTTPS)Train arrivals (JSON)
https://lapi.transitchicago.com/api/1.0/ttpositions.aspxAPI key (query param, HTTPS)Train positions (JSON)
https://lapi.transitchicago.com/api/1.0/ttfollow.aspxAPI key (query param, HTTPS)Train run details (JSON)
https://www.ctabustracker.com/bustime/api/v2/*API key (query param, HTTPS)Bus predictions/positions (JSON)
https://www.transitchicago.com/api/1.0/routes.aspxNone (GET only)Route statuses (JSON)
https://www.transitchicago.com/api/1.0/alerts.aspxNone (GET only)Service alerts (JSON)
https://www.transitchicago.com/downloads/sch_data/google_transit.zipNone (GET only)GTFS static data (ZIP)

All API calls use HTTPS. API keys are passed as query parameters to CTA's official APIs. No other user data is transmitted.

Security & Privacy

  • API keys required — Train and Bus Tracker APIs require free developer keys passed as URL query parameters
  • No user data transmitted — requests contain only API keys and route/stop identifiers, no personal information
  • Local storage only — GTFS static data is cached locally at ~/.cta/gtfs/; no data is written elsewhere
  • No telemetry — this skill does not phone home or collect usage data
  • Input handling — stop names and route IDs from user input are used only for local filtering, never interpolated into shell commands

Trust Statement

This skill reads publicly available transit data from CTA's official APIs. API keys are used only for CTA API authentication. The skill does not access, store, or transmit any personal information beyond the API keys configured by the user.

平台分布

OpenClaw

94.54%
按下载量换算4,644

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills