Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计通过

kr-holiday-cliKR holiday CLI 命令行

Agent Skill

kr-holiday-cli 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,922

周安装

123

GitHub Stars

公开资料未说明

下载量

1,023
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:kr-holiday-cli(KR holiday CLI 命令行)
来源仓库:https://github.com/chloepark85/kr-holiday-cli
安装命令:
openclaw skills install kr-holiday-cli
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install kr-holiday-cli

简介

kr-holiday-cli 是处理韩国公共假期和工作日计算的 CLI 工具。

  • 支持农历与公历转换,包含대체공휴일 识别功能。kr-holiday-cli 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 通过 clawhub 安装,需确认日期计算精度和地区覆盖范围。
  • 使用前请参考仓库文档了解命令参数和节假日数据库版本。
  • 注意节假日规则可能随政策调整,建议定期更新数据源。

SKILL.md

name
kr-holiday-cli
description
Korean public holidays, business-day calculator, and lunar↔solar converter (CLI). Check if a date is a Korean public holiday (including 대체공휴일), list holidays in a year/month, compute next/previous business days, count business days in a range, add signed business-day offsets, convert between Korean lunar and solar dates (including 윤달), render a monthly calendar. Use when a user asks about Korean holidays 공휴일, 설날, 추석, 대체공휴일, 평일 계산, 영업일, 음력 양력 변환, or scheduling that must skip Korean holidays. Zero API key.
license
MIT

Korean Holiday & Business-Day CLI

Zero-config CLI for Korean public holidays, business-day math, and Korean lunar↔solar conversion. No API key. No network required at runtime.

  • Public holidays powered by the holidays package (Korean names, substitute holidays / 대체공휴일 included).
  • Lunar↔solar powered by korean-lunar-calendar (KASI astronomical tables, supports 윤달).

When to use

Trigger this skill for any of:

  • Is a given date a Korean public holiday? ("2026-05-05 공휴일이야?")
  • List Korean holidays for a year or month
  • Compute next/previous business day, skipping weekends AND Korean holidays
  • Add a signed business-day offset (e.g., invoice due in +10 business days from order date)
  • Count business days between two dates (payroll, SLA, delivery ETA)
  • Convert solar ↔ Korean lunar dates (음력 생일 lookup, 설날·추석 date lookup)
  • Render a monthly calendar view with holidays marked

Do not use for:

  • Regional / religious holidays that aren't recognized as national public holidays (예: 성탄절 제외 종교 행사)
  • Company-specific working calendars (add your own per-company overrides outside this skill)
  • Realtime election-day announcements (bundled rules reflect statutory holidays; ad-hoc presidential decree holidays may lag until the holidays package updates)

Install

pip install -r scripts/requirements.txt

Dependencies: holidays, korean-lunar-calendar.

Usage

All commands are sub-commands of scripts/kr_holiday.py. Output is JSON (UTF-8, Korean preserved). Dates accept YYYY-MM-DD, YYYYMMDD, YYYY/MM/DD, or YYYY.MM.DD.

Check a date

python scripts/kr_holiday.py is-holiday 2026-05-05
# → {"date":"2026-05-05","weekday":"Tue","is_weekend":false,"is_holiday":true,"is_business_day":false,"names":["어린이날"]}

List holidays in a year (optionally filter by month)

python scripts/kr_holiday.py list --year 2026
python scripts/kr_holiday.py list --year 2026 --month 5

Next / previous business day

python scripts/kr_holiday.py next-business-day 2026-05-02                 # skip Sat → 2026-05-04 (Mon)
python scripts/kr_holiday.py next-business-day 2026-05-02 --offset 3      # 3rd next business day
python scripts/kr_holiday.py prev-business-day 2026-05-06 --offset 2

Add a signed business-day offset

python scripts/kr_holiday.py add-business-days 2026-04-20 --days 10       # 2026-05-04
python scripts/kr_holiday.py add-business-days 2026-05-05 --days -3

Count business days in a range (inclusive)

python scripts/kr_holiday.py business-days --start 2026-05-01 --end 2026-05-31
# → {"start":"2026-05-01","end":"2026-05-31","calendar_days":31,"business_days":19}

Solar ↔ Korean lunar

python scripts/kr_holiday.py solar-to-lunar 2026-02-17
# → {"solar":"2026-02-17","lunar":"2026-01-01","is_leap_month":false,"gapja":"병오년 경인월 임술일"}

python scripts/kr_holiday.py lunar-to-solar 2026-08-15
python scripts/kr_holiday.py lunar-to-solar 2025-06-01 --leap              # pass --leap for 윤달

Monthly calendar view

python scripts/kr_holiday.py month 2026 5                   # human-readable, Sunday-first
python scripts/kr_holiday.py month 2026 5 --format json     # weeks grid in JSON

Output conventions

  • JSON by default (no pretty-print; pipe through python -m json.tool if desired).
  • is_business_day = true ⇔ Mon–Fri AND not a Korean public holiday.
  • names is a list — a single calendar day can carry multiple labels (e.g., when holidays overlap).
  • Substitute holidays (대체공휴일) appear as their own entries in list output.

Error handling

  • Unparseable date → exit 2, stderr JSON {"error":"bad_date","input":"…"}.
  • Out-of-range month, negative offset, conversion failure → exit 2 or 3, stderr JSON.
  • Missing dependency → exit 4, stderr JSON with install hint.

Notes on holiday accuracy

  • 대체공휴일 rules: reflects the revised 2021/2023 rules (substitute applies when a national holiday falls on Sat/Sun, with the documented exceptions). Results match rulings published by 공공데이터포털 한국천문연구원 특일 정보 through 2030.
  • Lunar holidays (설날, 추석, 부처님오신날) are computed from the lunar calendar bundled in the holidays package.
  • Update holidays periodically to pick up legislative changes: pip install -U holidays.

See also

  • krx-stock-cli — KRX stock market data (KOSPI/KOSDAQ)
  • toss-payments-cli — Toss Payments API
  • kakao-local-cli — Kakao Local place & geocoding API

License

MIT.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

79.07%
按下载量换算809

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills