Seoul subway crowd
Query and summarize Seoul subway congestion statistics via SK Open API (TMAP 대중교통). Use when the user asks for station/line-based train congestion or car-by-car congestion, time-slot checks (dow/hh), comparisons, or commute alerts.From its SKILL.md
npx -y skills add garibong-labs/openclaw-skills --skill seoul-subway-crowdAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
3 things to look at
- reads credentialsReads from 1 credential source: `SK_OPENAPI_KEY`.
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 2 commands, including `python3 scripts/fetch_crowd.py --station "강남역" --line "2호선" --mode train` and 1 more.
SKILL.md
1.4 KB, 331 tokens by cl100k_base, as published. Nobody here has run it
Seoul Subway Crowd (SK Open API)
Inputs to collect
- Station name (required)
- Line name/number (optional but recommended)
- Direction (optional): up/down or inbound/outbound
- Time mode (optional): now/forecast
Workflow
- Ensure
SK_OPENAPI_KEYexists in environment. - Read endpoint and parameter mapping from
references/api-map.md. - Run
scripts/fetch_crowd.pywith station/line/time arguments. - Return a short Korean summary:
- 혼잡도 등급
- 핵심 수치(있으면)
- 한 줄 코멘트(이동 추천/회피 시간)
- If API fails, return clear fallback with reason and next action.
CLI usage
python3 scripts/fetch_crowd.py --station "강남역" --line "2호선" --mode train
python3 scripts/fetch_crowd.py --station "홍대입구역" --line "2호선" --mode car --dow MON --hh 08
Output style
- Keep it short and practical.
- Prefer bullet list over tables on Discord.
- Include raw response path when debugging (
--save-json).
Notes
- Do not hardcode API key.
- Normalize common line variants ("2", "2호선", "Line 2").
- If API schema changes, update
references/api-map.mdfirst.
What ships with it: 2 files
7.5 KB alongside SKILL.md, 1 of them executable
references/
- api-map.md2.1 KB
scripts/
- fetch_crowd.pyruns5.5 KB