This pulls Korea's official public restroom dataset and optionally augments it with Kakao Local API results to find nearby bathrooms. It always asks for your location first instead of guessing, then uses Kakao Map anchor resolution to pin coordinates and query the nationwide CSV by region when possible. All distances are recalculated with haversine to stay accurate, and duplicates within 50 meters get merged. Responses are short, usually three to five options with name, distance, address, and map links. It won't tell you real-time occupancy since the standard data doesn't track that, but it's solid for "where's the nearest public restroom from Gwanghwamun" type queries in Korean contexts.
npx -y skills add nomadamas/k-skill --skill public-restroom-nearby --agent claude-codeInstalls into .claude/skills of the current project.
유저가 알려준 현재 위치를 기준으로 근처 공중화장실 / 개방화장실 을 찾는다.
공중화장실정보 표준데이터를 기본으로 사용한다.KAKAO_REST_API_KEY 또는 kakaoRestApiKey 옵션이 있으면 Kakao Local REST API로 공중화장실, 개방화장실, OL7 주유소를 추가 조회해 병합한다.위치 정보 없이 바로 검색하지 말고 반드시 먼저 물어본다.
현재 위치를 알려주세요. 동네/역명/랜드마크/위도·경도 중 편한 형식으로 보내주시면 근처 공중화장실을 찾아볼게요.가까운 역명이나 동 이름으로 한 번만 더 알려주세요.https://www.data.go.kr/data/15012892/standard.dohttps://file.localdata.go.kr/file/download/public_restroom_info/infohttps://file.localdata.go.kr/file/download/public_restroom_info/info?orgCode=<시도코드>https://file.localdata.go.kr/file/public_restroom_info/infohttps://m.map.kakao.com/actions/searchView?q=<query>https://place-api.map.kakao.com/places/panel3/<confirmId>공중화장실정보 CSV를 내려받고, Kakao REST API 키가 있으면 keyword.json?query=공중화장실, keyword.json?query=개방화장실, category.json?category_group_code=OL7 결과를 추가한다.distance 필드는 버리고 모든 결과를 위·경도 haversine 거리로 직접 재계산한다.map.kakao.com/link/map/...)를 같이 준다.결과는 보통 아래 필드를 포함해 짧게 정리한다.
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;
});
juliusbrussee/caveman
mattpocock/skills
shadcn/improve
obra/superpowers
forrestchang/andrej-karpathy-skills
vercel-labs/skills