본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

metra

brianleach 제작

Transportation
284clawskills.sh가 보고한 다운로드 수
1조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Chicago Metra commuter rail — real-time train arrivals, vehicle tracking, service alerts, and schedule info.

설명

이 스킬이 하는 일

Provides real-time Chicago Metra commuter rail data for all 11 lines, including train arrivals, vehicle positions, service alerts, and fare calculation. Pulls from Metra's official GTFS-RT protobuf feeds and falls back to static schedule data when live data is unavailable. Requires a free API key from Metra's developer portal.

Combines live GTFS-RT data with static schedule fallback and zone-based fare lookup in one command interface, so commuters get accurate arrival times even when real-time feeds are down.

사용 시점

  • Checking next inbound BNSF train from Naperville to Union Station
  • Getting service alerts before leaving for the Ogilvie platform
  • Calculating the fare between two Metra zones
  • Tracking where a specific UP-N train is right now
  • Looking up the Saturday schedule for Metra Electric

예시 워크플로

입력

User asks: When is the next inbound BNSF train from Naperville?

에이전트
  1. 1

    Run the arrivals command for Naperville station filtered to the BNSF line

  2. 2

    Fetch and parse the GTFS-RT trip update protobuf from Metra's feed

  3. 3

    Compare real-time predictions against static schedule times

  4. 4

    Check for active BNSF service alerts

  5. 5

    Format results with train number, real-time ETA, scheduled time, and any active alerts

출력

Upcoming BNSF inbound trains at Naperville showing train numbers, real-time ETAs alongside scheduled times, and any active service alerts for the line

요구 사항

  • METRA_API_KEY — free developer API key, register at https://metra.com/developers

설치

clawhub install brianleach/metra

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크