Pulls real-time crowd density for 121 hotspots in Seoul using the city's open data API, based on KT and SKT cell signal estimates updated every 5 minutes. You ask "how crowded is Gangnam Station right now" and get back a congestion level (clear, normal, somewhat crowded, crowded) plus estimated population range. Data runs about 15 minutes behind and goes dark between 1-5am. The implementation is a single Python script with no external dependencies that routes through a proxy so you don't need your own API key. Smart for anyone building location-aware apps in Seoul or just trying to avoid the crowds at Hongdae on a Saturday night.
npx -y skills add nomadamas/k-skill --skill seoul-density --agent claude-codeInstalls into .claude/skills of the current project.
서울 실시간 도시데이터 API(data.seoul.go.kr)를 호출해 121개 핫스팟의 현재 혼잡도 단계(여유 / 보통 / 약간 붐빔 / 붐빔)와 추정 인구 범위를 반환한다.
데이터는 KT·SKT 통신 신호 기반 추계치이며, 5분 주기로 갱신되나 호출 시점 기준 약 15분 전 값이다.
별도 API 키 발급 없이 그대로 쓸 수 있다. 모든 호출은 k-skill-proxy 경유다.
https://k-skill-proxy.nomadamas.org — 프록시 서버가 SEOUL_OPEN_API_KEY를 보유하고 있어 사용자는 키 없이 호출만 하면 된다.KSKILL_PROXY_BASE_URL 환경변수로 프록시 주소를 바꿀 수 있다(예: 로컬 개발용 http://127.0.0.1:4020).이 스킬의 모든 동작은 단일 진입점을 통한다. OS·CWD에 관계없이 동일하게 동작하도록 절대 경로 + Python launcher fallback을 사용한다:
# macOS / Linux / Git-bash
python3 "$SKILL_DIR/scripts/seoul_density.py" <subcommand> [args]
# Windows (PowerShell): py 런처 또는 python
py -3 "$env:SKILL_DIR\scripts\seoul_density.py" <subcommand> [args]
$SKILL_DIR은 이 SKILL.md가 위치한 디렉토리다(~/.claude/skills/seoul-density 또는 레포의 seoul-density/). 호출 예시는 아래 Workflow 참조.
첫 사용 시 Bash(python3 *seoul_density.py:*) (또는 PowerShell 환경에서 PowerShell(py -3 *seoul_density.py*)) 패턴 한 번만 승인하면 이후 호출은 모두 자동 허용된다. 외부 dependency는 없고 Python 표준 라이브러리만 사용한다.
| 명령 | 설명 |
|---|---|
list [--json] | 지원 121개 장소 목록 (카테고리별) |
match <키워드> [--limit N] [--json] | 사용자 입력 → 지원 장소명 매칭 |
query <장소명> [--json] | 실시간 혼잡도/인구 조회 (사람이 읽는 요약 또는 JSON) |
사용자가 "홍대 인파"처럼 모호하게 말하면 먼저 후보를 확인한다.
python3 "$SKILL_DIR/scripts/seoul_density.py" match "홍대" --json
# → ["홍대 관광특구", "홍대입구역(2호선)"]
후보가 1개면 바로 query로 넘어가도 되고(스크립트가 자동 매칭), 여러 개면 어느 쪽인지 사용자에게 확인한다.
키워드 1개만 매칭되면 자동으로 보정한다.
# macOS / Linux / Git-bash
python3 "$SKILL_DIR/scripts/seoul_density.py" query "강남역"
# Windows PowerShell
py -3 "$env:SKILL_DIR\scripts\seoul_density.py" query "강남역"
출력 예시:
장소: 강남역
혼잡도: 약간 붐빔
인구 추정: 24000~26000명
기준 시각: 2026-05-14 09:30
상황: 사람이 몰려있을 수 있어요
기계적 후처리가 필요하면 --json 플래그를 쓴다:
python3 "$SKILL_DIR/scripts/seoul_density.py" query "강남역" --json
자동 매칭을 끄고 싶으면 --no-auto를 쓴다.
| 상황 | 동작 |
|---|---|
| 프록시 정상 응답 | 별도 키 불필요, 즉시 결과 반환 |
지원하지 않는 장소명 (exit 1) | match 결과로 후보 제안 |
프록시 HTTP/네트워크 오류 (exit 1) | stderr에 사유 출력, KSKILL_PROXY_BASE_URL 점검 또는 5분 후 재시도 안내 |
| 새벽 01~05시 빈 응답 | 실시간 데이터 미제공 시간대임을 안내 |
| 일일 할당량 초과 | 다음 날 재시도 안내 |
curl, python3 -c, source 같은 inline 명령을 직접 실행하지 말 것. 그렇게 하면 사용자가 매번 별도 승인을 받아야 한다.seoul-density/scripts/seoul_density.py의 AREAS 딕셔너리만 갱신한다.juliusbrussee/caveman
mattpocock/skills
shadcn/improve
obra/superpowers
forrestchang/andrej-karpathy-skills
vercel-labs/skills