on511-route-monitor
2
总安装量
2
周安装量
#73220
全站排名
安装命令
npx skills add https://github.com/regexboi/skillz --skill on511-route-monitor
Agent 安装分布
openclaw
2
gemini-cli
2
github-copilot
2
codex
2
kimi-cli
2
cursor
2
Skill 文档
ON511 Fixed Route Monitor
Run this skill when you need repeatable data extraction for this specific route:
- Start:
4 Agincourt Drive, Scarborough, ON - End:
1908 Colonel Sam Drive, Oshawa, ON
Quick run
PLAYWRIGHT_BROWSERS_PATH=/tmp/ms-playwright \
node .agents/skills/on511-route-monitor/scripts/collect_on511_route_data.mjs \
./tmp511-route-output
The script writes:
./tmp511-route-output/on511_route_report.json
What the script extracts
- Primary route travel time and distance
- Primary route events and roadwork text shown in route details
- Primary route camera names and camera image URLs (
/map/Cctv/{id}) - Track My Plow points near the route corridor
- Road Conditions rows for route-relevant Highway 401 segments
- Forecasted Driving Conditions rows for route-relevant Highway 401 segments
- Waze incidents / jams / weather (can be empty)
- Traffic-speed artifacts:
- Tile URL samples for the traffic-speed layer
- Computed average speed from route distance/time
Required environment
- Node.js 18+
playwrightinstalled in workspace (npm install playwright)- Browser binaries in
/tmp/ms-playwright(or setPLAYWRIGHT_BROWSERS_PATHto your location)
If browsers are missing, install once:
XDG_CACHE_HOME=/tmp npx playwright install firefox
Reliability notes
- Close login popup modal (
Close/Ã) if present. - Press
Enterafter destination input to settle autocomplete. - Avoid hardcoded
e###refs for core logic; these change. - Waze feeds can legitimately return zero records.
- Traffic-speed layer is color-tile based; numeric segment speeds are not exposed by list APIs.
References
- Playwright command registry and gotchas:
references/playwright-command-registry.md - Endpoint catalog:
references/endpoints.md