korea-metropolitan-bus-alerts

Review·Scanned 2/18/2026

This skill provides helpers to create scheduled TAGO-based bus arrival alerts and register Clawdbot cron jobs. It reads TAGO_SERVICE_KEY, writes ~/.clawdbot/secrets/tago.env, patches ~/.config/systemd/user/<unit>.d/override.conf, runs systemctl --user restart, and calls https://apis.data.go.kr/1613000/....

from clawhub.ai·v2a813df·44.7 KB·0 installs
Scanned from 1.0.1 at 2a813df · Transparency log ↗
$ vett add clawhub.ai/hsooooo/korea-metropolitan-bus-alertsReview findings below

Scripts

  • tago_api.py: HTTP helpers.
  • tago_bus_alert.py: Minimal CLI helpers to query TAGO and format arrivals.
  • cron_builder.py: Build cron job JSON (schedule + stop + routes → job payload).
  • rule_wizard.py: Interactive rule registration that can call clawdbot cron add.

No secrets in this repo. Set TAGO_SERVICE_KEY in your environment.

Examples:

export TAGO_SERVICE_KEY='...'
python3 tago_bus_alert.py nearby-stops --lat 37.5665 --long 126.9780
python3 tago_bus_alert.py arrivals --city 25 --node DJB8001793 --routes 535,730

# (Recommended) one-command setup
python3 setup.py

# (Manual) save key once (interactive)
./set_tago_key.sh
source ~/.clawdbot/secrets/tago.env

# Interactive registration (creates a cron job)
python3 rule_wizard.py register

Interactive registration (creates a cron job)

python3 rule_wizard.py register