← Back to Skills Marketplace
twbeatles

korea-air-quality

by twbeatles · GitHub ↗ · v2026.4.16 · MIT-0
cross-platform ✓ Security Clean
141
Downloads
0
Stars
0
Active Installs
8
Versions
Install in OpenClaw
/install korea-air-quality
Description
대한민국 대기질(미세먼지, 초미세먼지, 오존, 통합대기) 조회·브리핑·알림을 위한 OpenClaw 스킬. 사용자가 서울/성동구/분당 같은 한국 지역의 공기질을 묻거나, 오늘/지금 대기질 요약, 현재 위치 기반 조회, 기본 지역 저장, 나쁨 이상 알림, 매일 아침 대기질 브리핑, 여...
README (SKILL.md)

\r \r

korea-air-quality\r

\r 대한민국 지역의 대기질을 OpenClaw에서 자연어로 조회하고, 브리핑/감시 흐름으로 연결한다.\r \r

Quick start\r

\r 우선 references/api-and-product-plan.md 를 읽고 데이터 소스/범위를 확인한다.\r 그 다음 아래 흐름으로 처리한다.\r \r

  1. 사용자가 원하는 것이 무엇인지 분류한다.\r
    • 지금/오늘 대기질 조회\r
    • 현재 위치 기반 조회\r
    • 기본 지역 저장/변경\r
    • 나쁨 이상 알림\r
    • 아침 브리핑\r
    • 여러 지역 비교\r
  2. 지역 결정을 시도한다.\r
    • 1순위: 사용자가 방금 공유한 위치 좌표\r
    • 2순위: 저장된 기본 지역\r
    • 3순위: 메시지에 포함된 지역명\r
  3. 지역이 확정되면 측정소/행정구역 후보를 해석한다.\r
  4. 실시간 대기질과 예보를 조합해 짧고 실용적으로 요약한다.\r
  5. 반복 요청이면 alert/cron 흐름으로 바꾼다.\r \r

Core capabilities\r

\r

1. 현재 대기질 조회\r

\r 다음 같은 요청을 처리한다.\r \r

  • 지금 우리 동네 미세먼지 어때?\r
  • 오늘 서울 공기질 알려줘\r
  • 성동구 초미세먼지 어때?\r
  • 분당 공기 어때?\r \r 반드시 포함한다.\r \r
  • 기준 지역 또는 측정소\r
  • 측정 시각\r
  • PM10 / PM2.5 / O3 가능 범위\r
  • 등급(좋음/보통/나쁨/매우나쁨)\r
  • 한 줄 행동 가이드\r \r

2. 현재 위치 기반 조회\r

\r 사용자가 위치를 직접 보내거나 좌표가 있으면 가장 우선한다.\r 좌표가 있으면 가장 가까운 측정소를 찾는 방식으로 해석한다.\r 좌표가 없으면 저장된 기본 지역을 사용하고, 그것도 없으면 지역명을 다시 물어본다.\r \r

3. 기본 지역 저장\r

\r 다음 요청을 처리한다.\r \r

  • 내 기본 지역을 성동구로 저장해줘\r
  • 앞으로는 분당 기준으로 알려줘\r
  • 기본 지역 삭제해줘\r
  • 내 현재 위치를 기본 위치로 저장해줘\r \r 저장 위치는 data/user-preferences.json 같은 로컬 파일을 우선 고려한다.\r 사용자별 식별자가 필요하면 채널 사용자 id를 키로 쓴다.\r 현재 버전은 지역명 저장과 좌표 저장(save-location) 모두 지원한다.\r \r

4. 알림 / 감시\r

\r 다음 요청을 처리한다.\r \r

  • 초미세먼지 나쁨 이상이면 알려줘\r
  • 서울 오존 나쁘면 알려줘\r
  • 출근 시간에 공기 안 좋으면 알려줘\r \r 현재 버전은 alert-add, alert-list, alert-check 명령으로 로컬 규칙 저장/점검이 가능하다.\r alert-check 는 기본적으로 중복 hit를 다시 알리지 않도록 상태를 저장한다.\r 반복 감시는 watch 성격의 로컬 규칙 + OpenClaw cron 조합으로 설계한다.\r \r

5. 아침 브리핑\r

\r 다음 요청을 처리한다.\r \r

  • 매일 아침 7시에 오늘 공기질 알려줘\r
  • 날씨랑 같이 대기질 브리핑해줘\r \r 현재 버전은 morning-brief 명령으로 날씨 + 대기질 결합 브리핑을 생성할 수 있다.\r 브리핑은 모바일에서 읽기 좋게 짧게 쓰고, 아래 순서를 권장한다.\r \r
  • 지역\r
  • 현재/예상 등급\r
  • 핵심 수치\r
  • 외출/환기/마스크 한 줄 팁\r \r

Location resolution policy\r

\r 항상 아래 우선순위를 사용한다.\r \r

  1. 사용자가 방금 보낸 위치 좌표\r
  2. 저장된 기본 지역\r
  3. 메시지에 적힌 지역명\r
  4. 아무 정보가 없으면 지역을 짧게 재질문\r \r 우리 동네, 내 위치, 지금 있는 곳 같은 표현은 좌표 또는 기본 지역 해석을 먼저 시도한다.\r \r

Output style\r

\r 출력은 한국어로, 짧고 실용적으로 쓴다.\r \r 권장 형식:\r \r

  • 성동구 인근 측정소 기준\r
  • 초미세먼지: 38㎍/㎥ · 나쁨\r
  • 미세먼지: 54㎍/㎥ · 보통\r
  • 한줄 요약: 오늘은 초미세먼지가 다소 높은 편이라 장시간 야외활동은 줄이는 게 좋겠어.\r
  • 행동 팁: 창문 환기는 짧게, 외출 시 마스크 권장\r \r 여러 지역 비교일 때는 지역별 1~2줄 요약으로 정리한다.\r \r

Resources\r

\r

references/api-and-product-plan.md\r

\r 데이터 소스 후보, 권장 MVP 범위, 위치 반영 전략, 알림 설계를 정리한 문서다. 이 스킬을 확장하거나 실제 API를 연결할 때 먼저 읽는다.\r \r

scripts/air_quality.py\r

\r 실행 가능한 CLI다. 현재 버전은 Open-Meteo 기반으로 한국 지역 대기질 조회가 가능하며, 지역명 해석, 기본 지역/기본 좌표 저장, 여러 지역 비교, 알림 점검, 중복 알림 방지, 아침 브리핑, OpenClaw cron 초안 생성을 지원한다. --provider airkorea 레이어와 setup-provider 설정 흐름도 준비돼 있어 국내 API 연결 시 이 파일을 중심으로 확장한다.\r

Usage Guidance
This skill appears coherent and implements the features it documents. Before installing, consider: 1) It will perform outbound network calls to Open-Meteo and (if configured) AirKorea (apis.data.go.kr). Ensure outbound network policy permits this. 2) Local files under data/ store user preferences, alert rules, and alert state; treat these as sensitive and review file permissions if running in a multi-tenant environment. 3) If you plan to use AirKorea real data, supply AIRKOREA_API_KEY via environment or data/config.json — avoid committing keys to source control. 4) Because the skill runs a Python CLI, run it in an isolated environment (virtualenv, container) if you need stronger containment, and inspect scripts/air_quality.py yourself if you have additional security concerns. 5) If you will enable autonomous agent invocation, accept that the agent can call this skill automatically; consider limiting where API keys or personal identifiers are stored if that behavior is undesirable.
Capability Analysis
Type: OpenClaw Skill Name: korea-air-quality Version: 2026.4.16 The korea-air-quality skill is a legitimate tool designed to provide South Korean air quality data, alerts, and briefings. It utilizes the Open-Meteo and official AirKorea APIs (apis.data.go.kr) to fetch environmental data and manages user preferences and alert rules via local JSON files in a data directory. The Python script (air_quality.py) is well-structured, lacks obfuscation, and performs standard API interactions and file I/O consistent with its stated purpose, with no evidence of data exfiltration, malicious prompt injection, or unauthorized command execution.
Capability Tags
requires-sensitive-credentials
Capability Assessment
Purpose & Capability
Name/description match the included artifacts: SKILL.md, README, and scripts/air_quality.py implement region resolution, provider layer (openmeteo + optional airkorea), local user prefs, alerts, and morning briefings. Requested capabilities (location resolution, save-default, alert rules) are implemented and justified by the description.
Instruction Scope
SKILL.md explicitly directs the agent to use the included CLI/script and local data files under data/ for preferences, alert rules, and caches. Those file reads/writes and network calls to open-meteo and apis.data.go.kr are coherent with the described flows. Nothing in the instructions asks the agent to access unrelated system secrets or remote endpoints beyond the providers described.
Install Mechanism
There is no install spec — the skill is instruction-only with a local Python script. No downloads from untrusted URLs or package installs are present in the manifest, lowering install risk.
Credentials
No required environment variables are declared; the code optionally reads AIRKOREA_API_KEY (or config.json) which is appropriate for using the AirKorea provider. The number and nature of env/config accesses are proportionate to the stated purpose.
Persistence & Privilege
always is false and the skill stores only its own local state under data/ (user-preferences.json, alert-rules.json, alert-state.json, station-cache.json, config.json). It does not request elevated system privileges or modify other skills. Autonomous invocation is enabled by default (platform default) but is not combined with other red flags.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install korea-air-quality
  3. After installation, invoke the skill by name or use /korea-air-quality
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2026.4.16
Ignore local config/debug output files to keep public bundles clean
v0.7.0
AirKorea 실측값 기반 조회 성공 반영. 아침 브리핑 및 자동화 예시를 AirKorea 기준으로 정리
v0.6.0
AirKorea provider에 시도 단위 실시간 측정 JSON/XML 파싱 fallback 추가. 키 설정 시 국내 API 실측값 연결 기반 강화
v0.5.0
저장된 위치 좌표 우선 반영, provider 설정/조회 흐름 강화, 국내 API 연결 준비 보강, OpenClaw 자동화 확장 문서 추가
v0.4.0
저장된 위치 좌표 지원, provider 설정 저장, OpenClaw 자동화 로드맵/문서 보강, 국내 API 연결 준비 강화
v0.3.0
답십리동/동대문구 등 지역 해석 강화, OpenClaw cron 초안 생성, 중복 알림 방지 상태 저장, 국내 API 확장 provider 레이어 추가
v0.2.0
알림/watch 규칙과 날씨 결합 아침 브리핑 추가. alert-add/list/check, morning-brief, 문서 보강 포함
v0.1.0
초기 공개 버전: 대한민국 대기질 OpenClaw 스킬, 지역명 해석, 기본 지역 저장, 현재 대기질 조회, 여러 지역 비교 지원
Metadata
Slug korea-air-quality
Version 2026.4.16
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 8
Frequently Asked Questions

What is korea-air-quality?

대한민국 대기질(미세먼지, 초미세먼지, 오존, 통합대기) 조회·브리핑·알림을 위한 OpenClaw 스킬. 사용자가 서울/성동구/분당 같은 한국 지역의 공기질을 묻거나, 오늘/지금 대기질 요약, 현재 위치 기반 조회, 기본 지역 저장, 나쁨 이상 알림, 매일 아침 대기질 브리핑, 여... It is an AI Agent Skill for Claude Code / OpenClaw, with 141 downloads so far.

How do I install korea-air-quality?

Run "/install korea-air-quality" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is korea-air-quality free?

Yes, korea-air-quality is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does korea-air-quality support?

korea-air-quality is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created korea-air-quality?

It is built and maintained by twbeatles (@twbeatles); the current version is v2026.4.16.

💬 Comments