Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计未展示

mbtambta 搜索

Agent Skill

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

总安装

13,913

周安装

431

GitHub Stars

公开资料未说明

下载量

2,574
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:mbta(mbta 搜索)
来源仓库:https://github.com/clawdbot/skills
仓库路径:skills/mbta
安装命令:
npx skills add clawdbot/skills --skill "mbta"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

AgentSkills.tonpx skills
npx skills add clawdbot/skills --skill "mbta"

简介

发现并安装 AI 代理的技能,支持交通相关任务。

  • 适用于多宿主环境中的技能管理与集成需求。mbta 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 通过 npx 命令从 GitHub 安装,支持 Codex、Claude 等平台。
  • 注意权限范围和维护状态,避免自动执行未授权操作。
  • 建议结合原始仓库路径确认技能兼容性和更新机制。

SKILL.md

name
mbta
description
Real-time MBTA transit predictions for Boston-area subway, bus, commuter rail, and ferry. Query departure times, search stops/routes, check service alerts, and run a live dashboard. Use when asked about Boston transit, T schedules, when to leave for the train, or MBTA service status.
metadata
{"clawdbot":{"requires":{"bins":["python3"],"pip":["requests"]}}}

MBTA Transit

Query real-time MBTA predictions via the v3 API.

Setup

# Optional but recommended for higher rate limits
export MBTA_API_KEY=your_key_here  # Free at https://api-v3.mbta.com/portal

# Install dependencies
pip install requests pyyaml flask  # flask only needed for dashboard

Quick Commands

cd skills/mbta

# Next departures from a stop
python scripts/mbta.py next --stop place-alfcl  # Alewife
python scripts/mbta.py next --stop place-harsq --route Red  # Harvard, Red Line only

# Search for stop IDs
python scripts/mbta.py stops --search "Porter"
python scripts/mbta.py stops --search "Kendall"

# List routes
python scripts/mbta.py routes              # All routes
python scripts/mbta.py routes --type rail  # Subway only
python scripts/mbta.py routes --type bus   # Buses

# Service alerts
python scripts/mbta.py alerts              # All alerts
python scripts/mbta.py alerts --route Red  # Red Line alerts

# All configured departures (uses config.yaml)
python scripts/mbta.py departures --config config.yaml

# Start web dashboard
python scripts/mbta.py dashboard --config config.yaml --port 6639

Configuration

Edit config.yaml to set up your stops:

panels:
  - title: "My Station"
    walk_minutes: 5  # Filter out trains you can't catch
    services:
      - label: "Red Line"
        destination: "to Alewife"
        route_id: "Red"
        stop_id: "place-harsq"
        direction_id: 0  # 0 or 1 for direction
        limit: 3

Key fields:

  • walk_minutes: Trains departing sooner than this are filtered out
  • direction_id: 0 = outbound/north, 1 = inbound/south (varies by line)
  • headsign_contains: Optional filter (e.g., "Ashmont" to exclude Braintree)

Finding Stop/Route IDs

# Search stops
python scripts/mbta.py stops --search "Davis"
# Returns: place-davis: Davis

# Get routes
python scripts/mbta.py routes --type rail
# Returns route IDs like "Red", "Orange", "Green-E"

JSON Output

Add --json for machine-readable output:

python scripts/mbta.py next --stop place-alfcl --json
python scripts/mbta.py departures --config config.yaml --json

Common Stop IDs

StationStop ID
Alewifeplace-alfcl
Harvardplace-harsq
Kendall/MITplace-knncl
Park Streetplace-pktrm
South Stationplace-sstat
North Stationplace-north
Back Bayplace-bbsta
Downtown Crossingplace-dwnxg

Answering User Questions

"When's the next Red Line train?"

python scripts/mbta.py next --stop place-alfcl --route Red

"Should I leave now to catch the T?" Check departures against their walk time. If next train is ≤ walk_minutes, say "leave now!"

"Are there any delays on the Orange Line?"

python scripts/mbta.py alerts --route Orange

"What buses go to Harvard?"

python scripts/mbta.py stops --search "Harvard"
# Then check routes at that stop
python scripts/mbta.py next --stop <stop_id>

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenCode

28.06%
按下载量换算722

windsurf

24.55%
按下载量换算632

clawdbot

16.08%
按下载量换算414

trae

11.92%
按下载量换算307

Codex

6.88%
按下载量换算177

Claude Code

3%
按下载量换算77

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills