Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
nomadamas avatar

Public Restroom Nearby

  • 2.8k installs
  • 7k repo stars
  • Updated August 2, 2026
  • nomadamas/k-skill

public-restroom-nearby is a Korean locale agent skill that finds nearby public restrooms from official CSV data plus optional Kakao API enrichment after confirming user location.

About

Public Restroom Nearby helps agents locate nearby public and open restrooms (공중화장실 / 개방화장실) in Korea based on a user-provided location. The skill never guesses location automatically; it must ask the user for their current position first using a recommended Korean prompt for neighborhood, station, landmark, or lat/lng. Data comes primarily from the official 공중화장실정보 standard dataset CSV hosted on localdata.go.kr, optionally merged with Kakao keyword and category searches when KAKAO_REST_API_KEY is configured. Location strings resolve through Kakao Map anchor search to coordinates, narrowing to regional CSV files when a province can be inferred. The workflow downloads CSV data, optionally queries Kakao for 공중화장실, 개방화장실, and OL7 gas stations, recalculates all distances with haversine instead of Kakao distance fields, deduplicates within 50 meters favoring CSV results, and returns three to five concise entries with name, type, distance, address, hours, and map links. A Node.js helper searchNearbyPublicRestroomsByLocationQuery demonstrates the API. Failure modes include missing Kakao keys limiting POI coverage, ambiguous anchors shifting results, and CSV schema changes requiring normal.

  • Requires asking the user for current location before any search - never auto-guesses position.
  • Uses official 공중화장실정보 nationwide CSV with optional Kakao REST API merge.
  • Resolves location strings via Kakao Map anchor search and narrows to regional CSV when possible.
  • Recalculates haversine distances and deduplicates within 50m favoring CSV records.
  • Returns 3-5 nearby restrooms with name, type, distance, address, hours, and map links.

Public Restroom Nearby by the numbers

  • 2,756 all-time installs (skills.sh)
  • +243 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #159 of 2,715 Automation & Workflows skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

public-restroom-nearby capabilities & compatibility

Capabilities
mandatory location confirmation workflow · official csv download and regional narrowing · optional kakao rest merge · haversine distance recalculation · 50m deduplication favoring csv
Use cases
orchestration · research
npx skills add https://github.com/nomadamas/k-skill --skill public-restroom-nearby

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs2.8k
repo stars7k
Security audit2 / 3 scanners passed
Last updatedAugust 2, 2026
Repositorynomadamas/k-skill

Where are the nearest public restrooms around my current location in Korea?

Find nearby public restrooms in Korea using official nationwide CSV data plus optional Kakao Local REST API enrichment.

Who is it for?

Korean users or agents answering 근처 화장실 queries with official open-data backed results.

Skip if: Skip outside Korea or when real-time occupancy and lock status are required.

When should I use this skill?

User asks for nearby public restrooms, 근처 화장실, or open restroom search near a landmark.

What you get

Three to five ranked nearby restrooms with addresses, distances, hours, and Kakao map links.

  • Ranked nearby restroom list
  • Kakao map links for top results

By the numbers

  • Returns 3-5 nearby results by default
  • 50m deduplication threshold
  • Three Kakao query types when API key present

Files

SKILL.mdMarkdownGitHub ↗

Public Restroom Nearby

What this skill does

유저가 알려준 현재 위치를 기준으로 근처 공중화장실 / 개방화장실 을 찾는다.

  • 위치는 자동으로 추정하지 않는다.
  • 반드시 먼저 현재 위치를 질문한다.
  • 화장실 데이터는 공식 공중화장실정보 표준데이터를 기본으로 사용한다.
  • KAKAO_REST_API_KEY 또는 kakaoRestApiKey 옵션이 있으면 Kakao Local REST API로 공중화장실, 개방화장실, OL7 주유소를 추가 조회해 병합한다.
  • 위치 문자열은 Kakao Map anchor 검색으로 좌표를 잡고, 가능한 경우 해당 시도 데이터만 좁혀서 조회한다.
  • 좌표를 직접 받으면 바로 nearby 계산으로 들어간다.

When to use

  • "근처 화장실 찾아줘"
  • "서울역 근처 공중화장실 있어?"
  • "광화문 주변 개방화장실 몇 군데만 보여줘"
  • "지금 여기서 가까운 화장실 지도 링크 줘"

Mandatory first question

위치 정보 없이 바로 검색하지 말고 반드시 먼저 물어본다.

  • 권장 질문: 현재 위치를 알려주세요. 동네/역명/랜드마크/위도·경도 중 편한 형식으로 보내주시면 근처 공중화장실을 찾아볼게요.
  • 위치가 애매하면: 가까운 역명이나 동 이름으로 한 번만 더 알려주세요.

Official surfaces

  • 공공데이터포털 공중화장실 표준데이터 안내: https://www.data.go.kr/data/15012892/standard.do
  • 전국 CSV: https://file.localdata.go.kr/file/download/public_restroom_info/info
  • 지역별 CSV: https://file.localdata.go.kr/file/download/public_restroom_info/info?orgCode=<시도코드>
  • 파일 소개 페이지: https://file.localdata.go.kr/file/public_restroom_info/info
  • Kakao Map 모바일 검색: https://m.map.kakao.com/actions/searchView?q=<query>
  • Kakao Map 장소 패널 JSON: https://place-api.map.kakao.com/places/panel3/<confirmId>

Workflow

1. 유저에게 반드시 현재 위치를 묻는다. 2. 위치 문자열을 받으면 Kakao Map으로 anchor 후보를 고르고 좌표를 확보한다. 3. anchor 주소에서 시도(서울/경기/부산 등)를 추론할 수 있으면 해당 지역 CSV로 좁힌다. 4. 공식 공중화장실정보 CSV를 내려받고, Kakao REST API 키가 있으면 keyword.json?query=공중화장실, keyword.json?query=개방화장실, category.json?category_group_code=OL7 결과를 추가한다. 5. Kakao distance 필드는 버리고 모든 결과를 위·경도 haversine 거리로 직접 재계산한다. 6. 좌표 50m 이내 중복은 동일 시설로 보고 CSV 결과를 우선 보존한다. 7. 보통 3~5개만 짧게 정리하고, 필요하면 URL 인코딩된 지도 링크(map.kakao.com/link/map/...)를 같이 준다.

Responding

결과는 보통 아래 필드를 포함해 짧게 정리한다.

  • 화장실명
  • 구분명(공중화장실 / 개방화장실)
  • 거리
  • 주소
  • 개방시간/상세
  • 지도 링크

Node.js example

const { searchNearbyPublicRestroomsByLocationQuery } = require("public-restroom-nearby");

async function main() {
  const result = await searchNearbyPublicRestroomsByLocationQuery("광화문", {
    limit: 3
  });

  console.log(result.anchor);
  console.log(result.items);
}

main().catch((error) => {
  console.error(error);
  process.exitCode = 1;
});

Done when

  • 유저의 현재 위치를 먼저 확인했다.
  • 공식 데이터 기반으로 최소 1개 이상 nearby restroom 을 찾았거나, 못 찾은 이유와 다음 질문을 제시했다.
  • 가장 가까운 결과를 3~5개 이내로 정리했다.

Failure modes

  • Kakao REST API 키가 없으면 CSV 단일 소스로 동작하므로 누락 POI가 있을 수 있다.
  • Kakao Map anchor 가 애매하면 위치 기준점이 흔들릴 수 있다.
  • 공개 표준데이터는 실시간 점유/잠금 상태를 주지 않으므로 개방시간 중심으로만 안내해야 한다.
  • CSV 인코딩/컬럼 구조가 바뀌면 정규화 로직을 다시 확인해야 한다.

Related skills

FAQ

Must the agent ask for location first?

Yes. The skill requires confirming the user's current location before searching and never auto-estimates position.

What data sources are used?

Official 공중화장실정보 CSV from localdata.go.kr plus optional Kakao keyword and OL7 category results.

What if Kakao API key is missing?

The skill falls back to CSV-only results, which may miss some POIs present in Kakao.

Is Public Restroom Nearby safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.