How to install seoul-bike
npx skills add https://github.com/nomadamas/k-skill --skill seoul-bikeFull instructions (SKILL.md)
Source of truth, from nomadamas/k-skill.
name: seoul-bike description: 서울 따릉이 실시간 대여소의 대여 가능 자전거와 빈 거치대를 좌표 주변 또는 대여소 이름으로 조회한다. license: MIT metadata: category: transit locale: ko-KR phase: v1
Seoul Bike (따릉이)
What this skill does
서울 열린데이터 광장의 따릉이 실시간 대여정보를 k-skill-proxy 경유로 조회해 대여 가능 자전거 수와 빈 거치대 수를 요약한다.
When to use
- "지금 여기서 따릉이 빌릴 수 있어?"
- "광화문 근처 빈 거치대 있어?"
- "강남역 따릉이 대여소에 자전거 몇 대 남았어?"
Prerequisites
- Python 3 표준 라이브러리만 사용한다.
- optional:
KSKILL_PROXY_BASE_URL(self-host·별도 프록시를 쓸 때만 설정. 비우면 기본 hostedhttps://k-skill-proxy.nomadamas.org를 사용한다.)
Required environment variables
없음. 사용자가 개인 서울 열린데이터 광장 OpenAPI key를 직접 발급할 필요는 없다. /v1/seoul-bike/* routes는 기본 hosted proxy에서 호출하고, upstream key는 proxy 서버 쪽에만 보관한다.
Single entrypoint
python3 "$SKILL_DIR/scripts/seoul_bike.py" <subcommand> [args]
첫 사용 시 Bash(python3 *seoul_bike.py:*) 패턴 한 번만 승인하면 이후 호출은 모두 자동 허용된다.
Subcommands
| 명령 | 설명 |
|---|---|
nearby --lat LAT --lon LON [--radius-m 500] [--limit 10] [--json] | 좌표 주변 실시간 대여소 조회 |
search <키워드> [--limit 10] [--json] | 대여소 이름에 키워드가 포함된 실시간 상태 검색 |
realtime [--start-index 1 --end-index 1000] | 실시간 대여정보 원문 JSON 페이지 조회 |
Workflow
1. 현재 위치 주변 대여소 조회
python3 "$SKILL_DIR/scripts/seoul_bike.py" nearby --lat 37.5717 --lon 126.9763 --radius-m 500
요약 항목:
- 대여소명
- 대여 가능 자전거 수 (
parkingBikeTotCnt) - 빈 거치대 수 (
rackTotCnt - parkingBikeTotCnt) - 거리(m)
- 조회 시각(
proxy.requested_at)
2. 대여소 이름 검색
python3 "$SKILL_DIR/scripts/seoul_bike.py" search "광화문" --limit 5
3. Proxy endpoints
GET /v1/seoul-bike/realtime?startIndex=1&endIndex=1000→ 서울bikeList실시간 대여정보GET /v1/seoul-bike/stations?startIndex=1&endIndex=1000→ 서울tbCycleStationInfo대여소 마스터 정보GET /v1/seoul-bike/nearby?lat=37.5717&lon=126.9763&radius_m=500&limit=10→ proxy-side 주변 대여소 필터링
Done when
- 대여 가능 자전거 수와 빈 거치대 수가 정리되어 있다.
- live data 기준 조회 시각이 명시되어 있다.
- upstream key가 클라이언트에 노출되지 않았다.
Failure modes
- proxy upstream key 미설정 (
SEOUL_OPEN_API_KEY없음) - 서울 열린데이터 광장 quota 초과
- 실시간 API가 빈 행 또는 일시 오류를 반환
- 좌표가 없거나 반경 안에 대여소가 없음
Notes
- 실시간 데이터는 계속 변하므로 답변에 조회 시각을 함께 적는다.
- 예약/대여 자동화는 하지 않는다. 조회 전용 스킬이다.
- proxy 운영/환경변수 설정은
docs/features/k-skill-proxy.md를 참고한다.
Related skills
More from nomadamas/k-skill and the wider catalog.

seoul-density
서울 주요 121개 핫스팟 장소의 실시간 혼잡도와 인구 현황을 조회한다. 지금 강남역이 얼마나 붐비는지, 홍대 인파가 얼마나 되는지 물어볼 때 사용한다.

seoul-subway-arrival
Real-time Seoul subway arrival times via official Open Data API

sh-notice-search
서울주택도시개발공사(SH) 공개 공고/공지 게시판에서 청약·주택 공고 목록, 상세 본문, 첨부 미리보기 메타데이터를 직접 조회한다.

srt-booking
Search, reserve, inspect, and cancel SRT train tickets in Korea with credential-safe automation.

subway-lost-property
Guide users through official Seoul Metro lost property lookup via LOST112 and Seoul Metro Corporation channels.

ticket-availability
YES24 / 인터파크 공연의 공개 일정 + 등급별 잔여석을 단일 HTTP 호출로 조회 (조회 전용, 예매·결제 없음).