us-ntd-safety
Query United States Federal Transit Administration National Transit Database safety data on data.transportation.gov. Use for coded US major safety and…
от thecolab-ai★ 41 звезда на GitHub
Установить us-ntd-safety в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
US National Transit Database safety
Use scripts/cli.py for two United States Federal Transit Administration
resources on data.transportation.gov. These are not Auckland Transport feeds.
The catalogue scope tag that says Auckland does not describe this publisher.
Read references/source-notes.md for licences, withheld fields, units and lag.
python3 skills/us-ntd-safety/scripts/cli.py events --limit 20 --json
python3 skills/us-ntd-safety/scripts/cli.py events --limit 20 --year 2024 --mode MB --ntd-id 00000 --json
python3 skills/us-ntd-safety/scripts/cli.py modes --limit 20 --year 2024 --month January --json
Commands
events [--limit N] [--year YYYY] [--mode CODE] [--ntd-id DDDDD]reads SODA resource9ivb-8ae9(Major Safety and Security Events). Output is coded fields and counts only.modes [--limit N] [--year YYYY] [--month Month] [--mode CODE] [--ntd-id DDDDD]reads SODA resource5ti2-5uiv(Monthly Modal Time Series). Output is monthly agency-mode aggregates.
--limit is an integer from 1 to 100. The default is 20. --year is
1900–2099. --mode is a 1–4 letter NTD code such as MB or HR. --month
is a full English month name such as January and applies only to modes.
Bad arguments fail before any network call.
Each command checks that resource's view metadata before reading rows.
events continues only when licenseId is USGOV_WORKS. modes continues
only when licenseId is PUBLIC_DOMAIN. A missing or different id is refused.
The other resource's id does not satisfy the check.
Output
--json returns meta and results. meta includes source_url,
publisher, retrieved_at, the verified licence, geography (United States),
stated units, and latest_data when the view has rowsUpdatedAt. That
timestamp is the Socrata update instant in UTC. It is not the newest event
date and not an Auckland date.
incident_date, incident_time and month_year are copied as source strings.
They have no timezone. Do not relabel them as UTC or Auckland time.
Absent measures are omitted, except an explicit JSON null, which stays null.
Do not treat either as zero. A non-numeric token in a measure stays a string
and is listed in unparsed_measures.
The row set never includes incident narratives, person lists, approximate
addresses, coordinates, free-text comments, or other-description fields.
Use --json when you need the full coded set. Text output is a short summary.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/source-notes.md
- scripts/cli.py
- scripts/fields.py
- scripts/provenance.py
- scripts/smoke_test.py
- scripts/test_contract.py
FAQ
Что делает скилл us-ntd-safety?
Query United States Federal Transit Administration National Transit Database safety data on data.transportation.gov. Use for coded US major safety and security event fields and monthly modal safety and service aggregates. This is United States transit data, not Auckland or New Zealand.
Как установить скилл us-ntd-safety?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл us-ntd-safety запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…