
Seoul Density
Query Seoul Metropolitan Government live crowd-density levels for parks, palaces, and tourist zones before you plan shoots, meetups, or local launches.
Overview
Seoul Density is an agent skill for the Idea phase that queries official Seoul area crowd-density data through a unified Python CLI.
Install
npx skills add https://github.com/nomadamas/k-skill --skill seoul-densityWhat is this skill?
- Single approved Bash entrypoint: python3 seoul-density/scripts/seoul_density.py with list, match, and query subcommands
- Grouped coverage of 고궁·문화유산, 관광특구, 공원, and additional Seoul area names with fuzzy keyword matching
- query supports human-readable summaries plus optional --json for agent pipelines
- UTF-8 safe stdout/stderr for Korean place names in terminal workflows
- Three CLI subcommands: list, match, query
- Multiple named area categories including 고궁·문화유산, 관광특구, and 공원
Adoption & trust: 599 installs on skills.sh; 5.4k GitHub stars; 2/3 security scanners passed (skills.sh audits).
What problem does it solve?
You want to know if a Seoul neighborhood is uncomfortably crowded before you schedule an event, shoot, or street promotion.
Who is it for?
Indie builders, nomads, or marketers operating in Seoul who need quick congestion checks from the terminal.
Skip if: Teams outside Korea with no Seoul footprint, or products that need historical analytics rather than point-in-time density.
When should I use this skill?
A user names a Seoul area or asks how crowded a supported zone is and you should call the documented seoul_density.py workflow.
What do I get? / Deliverables
The agent returns a matched area name and a current density summary (or JSON) you can fold into plans or replies.
- Matched official area name
- Human or JSON density summary for the requested zone
Recommended Skills
Journey fit
Shelf under Idea/discover because the skill answers where is crowded right now—research before you commit to a place or campaign moment. Discover fits real-time environmental reconnaissance rather than building or shipping product code.
How it compares
Use this CLI integration instead of hallucinating crowd levels or manually browsing separate tourist apps.
Common Questions / FAQ
Who is seoul-density for?
Solo builders and creators in Seoul who want agent-driven crowd checks for palaces, tourist districts, parks, and similar zones.
When should I use seoul-density?
During Idea/discover when picking meetup spots, filming locations, or launch-day foot traffic; optionally before Grow/content outings when timing street content.
Is seoul-density safe to install?
The skill performs outbound HTTP to public data endpoints—review the Security Audits panel on this Prism page and approve only the documented Bash pattern.
SKILL.md
READMESKILL.md - Seoul Density
"""Single-entrypoint CLI for the seoul-density skill. All skill operations route through `python3 seoul-density/scripts/seoul_density.py <subcommand>` so users only have to approve one Bash pattern on first use. Subcommands: list — print supported area names grouped by category match <keyword> — fuzzy-match a user keyword to a supported area name query <area-name> [--json] — fetch and summarize real-time density for the area """ from __future__ import annotations import argparse import difflib import json import os import sys import urllib.error import urllib.request import urllib.parse from typing import Any for _stream in (sys.stdout, sys.stderr): reconfigure = getattr(_stream, "reconfigure", None) if reconfigure is not None: try: reconfigure(encoding="utf-8") except (OSError, ValueError): pass AREAS: dict[str, list[str]] = { "고궁·문화유산": [ "경복궁", "광화문·덕수궁", "보신각", "서울 암사동 유적", "창덕궁·종묘", ], "관광특구": [ "강남 MICE 관광특구", "동대문 관광특구", "명동 관광특구", "이태원 관광특구", "잠실 관광특구", "종로·청계 관광특구", "홍대 관광특구", ], "공원": [ "강서한강공원", "고척돔", "광나루한강공원", "광화문광장", "국립중앙박물관·용산가족공원", "난지한강공원", "남산공원", "노들섬", "뚝섬한강공원", "망원한강공원", "반포한강공원", "보라매공원", "북서울꿈의숲", "서대문독립공원", "서리풀공원·몽마르뜨공원", "서울대공원", "서울숲공원", "송현녹지광장", "아차산", "안양천", "양화한강공원", "어린이대공원", "여의도한강공원", "여의서로", "올림픽공원", "월드컵공원", "응봉산", "이촌한강공원", "잠실종합운동장", "잠실한강공원", "잠원한강공원", "청계산", "홍제폭포", ], "발달상권": [ "가락시장", "가로수길", "광장(전통)시장", "김포공항", "남대문시장", "노량진", "덕수궁길·정동길", "북창동 먹자골목", "북촌한옥마을", "서촌", "성수카페거리", "송리단길·호수단길", "신촌 스타광장", "압구정로데오거리", "여의도", "연남동", "영등포 타임스퀘어", "용리단길", "이태원 앤틱가구거리", "익선동", "인사동", "잠실롯데타워·석촌호수", "창동 신경제 중심지", "청담동 명품거리", "청량리 제기동 일대 전통시장", "해방촌·경리단길", "DDP(동대문디자인플라자)", "DMC(디지털미디어시티)", ], "인구밀집지역": [ "가산디지털단지역", "강남역", "건대입구역", "고덕역", "고속터미널역", "교대역", "구로디지털단지역", "구로역", "군자역", "대림역", "동대문역", "뚝섬역", "미아사거리역", "발산역", "사당역", "삼각지역", "서울대입구역", "서울식물원·마곡나루역", "서울역", "성신여대입구역", "선릉역", "시의회 앞", "수유역", "신논현역·논현역", "신도림역", "신림역", "신촌·이대역", "쌍문역", "신정네거리역", "역삼역", "연신내역", "양재역", "왕십리역", "용산역", "오목교역·목동운동장", "잠실새내역", "잠실역", "장지역", "장한평역", "천호역", "총신대입구(이수)역", "충정로역", "합정역", "혜화역", "홍대입구역(2호선)", "회기역", ], } TIMEOUT_SEC = 10 PROXY_BASE_URL_NAME = "KSKILL_PROXY_BASE_URL" DEFAULT_PROXY_BASE_URL = "https://k-skill-proxy.nomadamas.org" def all_areas() -> list[str]: return [name for group in AREAS.values() for name in group] def cmd_list(args: argparse.Namespace) -> int: if args.json: json.dump(AREAS, sys.stdout, ensure_ascii=False, indent=2) sys.stdout.write("\n") return 0 for category, names in AREAS.items(): print(f"## {category} ({len(names)}곳)") print(", ".join(names)) print() return 0 def _normalize(text: str) -> str: """Strip whitespace and common location suffixes for loose matching.""" cleaned = "".join(ch for ch in text if not ch.isspace()) for suffix in ("관광특구", "한강공원", "공원", "시장", "역", "거리", "광장"): if cleaned.endswith(suffix) and len(cleaned) > len(suffix): cleaned = cleaned[: -len(suffix)] break return cleaned def fuzzy_match(keyword: str, limit: int = 5) -> list[str]: names = all_areas() keyword = keyword.strip() if not keyword: return [] exact = [n for n in names if keyword in n] if exact: return exact[:limit] contained = [n for n in names if n in keyword] if contained: return contained[:limit] norm_kw = _normalize(keyword) if norm_kw: loose = [n for n in names if norm_kw and (norm_kw in _normalize(n) or _normalize(n) in norm_kw)] if loose: return loose[:limit] return difflib.get_close_matches(keyword, names, n=limit, cutoff=0.3) def