PluginBench
Skill
Pass
Audit score 90

han-river-water-level

nomadamas/k-skill

Query current water level and discharge of Han River observation stations by name or code.

What is han-river-water-level?

Queries the Han River Flood Control Office for real-time water level (m) and discharge (m³/s) data at specified observation stations. Use this when you need current hydrological conditions for Han River bridges, weirs, or monitoring points.

  • Query water level and discharge by station name (e.g., 한강대교) or station code (e.g., 1018683)
  • Return compact summaries: station name/code, observation time, current water level, current discharge, and applicable alert thresholds
  • Handle ambiguous station names by returning candidate stations for refinement
  • Use k-skill-proxy endpoint with no additional API key setup required
  • Support custom proxy base URL via KSKILL_PROXY_BASE_URL environment variable

How to install han-river-water-level

npx skills add https://github.com/nomadamas/k-skill --skill han-river-water-level
Prerequisites
  • Optional: jq for response formatting
Claude Code
Cursor
Windsurf
Cline

How to use han-river-water-level

  1. 1.Call the endpoint with either stationName or stationCode parameter
  2. 2.If the station name is ambiguous, the proxy returns candidate_stations; select one and retry
  3. 3.Parse the response for station name/code, observation time, water level (m), discharge (m³/s), and alert thresholds
  4. 4.If needed, set KSKILL_PROXY_BASE_URL environment variable to override the default proxy server

Use cases

Good for
  • Check current water level at Han River bridges before crossing (e.g., '한강대교 지금 수위 어때?')
  • Monitor discharge rates at weirs and locks (e.g., '잠수교 유량 알려줘')
  • Query specific observation stations by code for real-time hydrological data (e.g., '1018683 관측소 현재 값 보여줘')
  • Track water conditions for flood risk assessment or navigation planning
Who it's for
  • Hydrological monitoring systems
  • River navigation and crossing planning
  • Flood risk assessment operators
  • Environmental monitoring applications

han-river-water-level FAQ

Do I need a separate HRFCO ServiceKey?

No. The skill uses k-skill-proxy which handles upstream authentication. You do not need to provide your own API key.

What happens if my station name is too broad?

The proxy returns an ambiguous_station error with candidate_stations. Choose one and retry with the specific station name or code.

What data is included in the response?

Station name/code, observation time, current water level (m), current discharge (m³/s), and applicable reference thresholds (관심/주의/경보/심각).

Can I use a different proxy server?

Yes. Set the KSKILL_PROXY_BASE_URL environment variable to your custom proxy base URL.

Why might the latest data be empty?

Real-time data updates may be delayed, so the most recent 10-minute interval may not yet be available.

Full instructions (SKILL.md)

Source of truth, from nomadamas/k-skill.


name: han-river-water-level description: 한강홍수통제소 기반 현재 수위/유량을 관측소명 또는 관측소코드로 조회한다. 기본 경로는 k-skill-proxy의 han-river water-level endpoint다. license: MIT metadata: category: utility locale: ko-KR phase: v1

Han River Water Level

What this skill does

기본적으로 https://k-skill-proxy.nomadamas.org/v1/han-river/water-level 로 요청해서 현재 수위와 유량을 요약한다.

When to use

  • "한강대교 지금 수위 어때?"
  • "잠수교 유량 알려줘"
  • "1018683 관측소 현재 값 보여줘"

Inputs

  • 기본 입력: 관측소명/교량명(stationName)
  • 대체 입력: 관측소코드(stationCode)

Prerequisites

  • optional: jq

Default path

추가 client API 레이어는 불필요하다. 그냥 프록시 서버에 HTTP 요청만 넣으면 된다.

사용자는 별도 HRFCO ServiceKey 를 준비할 필요가 없다. upstream key는 proxy 서버에서만 주입한다.

KSKILL_PROXY_BASE_URL 환경변수가 있으면 그 값을 사용하고, 없으면 기본 경로 https://k-skill-proxy.nomadamas.org 를 사용한다.

Example requests

curl -fsS --get 'https://k-skill-proxy.nomadamas.org/v1/han-river/water-level' \
  --data-urlencode 'stationName=한강대교'

관측소코드로 바로 조회해도 된다.

curl -fsS --get 'https://k-skill-proxy.nomadamas.org/v1/han-river/water-level' \
  --data-urlencode 'stationCode=1018683'

Keep the answer compact

응답에는 아래만 먼저 정리한다.

  • 관측소명 / 관측소코드
  • 관측 시각
  • 현재 수위(m)
  • 현재 유량(m^3/s)
  • 기준 수위(관심/주의/경보/심각) 중 값이 있는 항목

Ambiguous station names

입력이 너무 넓으면 proxy 는 ambiguous_station 과 함께 candidate_stations 를 돌려준다.

curl -fsS --get 'https://k-skill-proxy.nomadamas.org/v1/han-river/water-level' \
  --data-urlencode 'stationName=한강'

이때는 후보 중 하나를 골라 다시 stationName 또는 stationCode 로 조회한다.

Detailed API paths

구현 세부는 아래 문서만 참고한다.

  • docs/features/han-river-water-level.md
  • docs/features/k-skill-proxy.md

Failure modes

  • 관측소명이 너무 넓어서 여러 관측소가 동시에 잡히는 경우
  • 잘못된 관측소코드/관측소명으로 station lookup 이 실패하는 경우
  • 프록시 서버에 HRFCO_OPEN_API_KEY 가 비어 있는 경우
  • 실시간 자료 갱신 지연으로 최신 10분 자료가 비어 있는 경우

Notes

  • 기본 경로는 항상 k-skill-proxy.nomadamas.org 의 water-level endpoint 다.
  • upstream 은 waterlevel/info.json 으로 관측소 메타데이터를 찾고, waterlevel/list/10M/{WLOBSCD}.json 으로 최신값을 조회한다.
  • 결과는 원시자료 기반이므로 조회 시각을 함께 적는다.