/install chinese-holidays
Chinese Holidays
Query Chinese statutory holidays and working day status.
Quick Start
python scripts/holidays.py today
python scripts/holidays.py check 2025-01-01
python scripts/holidays.py list 2025
Commands
today — Check today's status
Check if today is a working day, holiday, or weekend.
python scripts/holidays.py today
Output:
2025-01-01 (Wednesday)
Status: HOLIDAY - New Year's Day (元旦)
check \x3Cdate> — Check specific date
Check if a specific date is a working day or holiday.
python scripts/holidays.py check 2025-02-10
Output:
2025-02-10 (Monday)
Status: HOLIDAY - Spring Festival (春节)
list \x3Cyear> — List all holidays in a year
List all statutory holidays for a given year.
python scripts/holidays.py list 2025
Output:
=== 2025 Chinese Statutory Holidays ===
1. New Year's Day (元旦)
2025-01-01
2. Spring Festival (春节)
2025-01-28 to 2025-02-04 (8 days)
3. Qingming Festival (清明节)
2025-04-04 to 2025-04-06 (3 days)
4. Labor Day (劳动节)
2025-05-01 to 2025-05-05 (5 days)
5. Dragon Boat Festival (端午节)
2025-05-31 to 2025-06-02 (3 days)
6. Mid-Autumn Festival (中秋节)
2025-10-06 (1 day, combined with National Day)
7. National Day (国庆节)
2025-10-01 to 2025-10-07 (7 days)
next — Find next holiday
Find the next upcoming holiday.
python scripts/holidays.py next
Output:
Next holiday: Spring Festival (春节)
Date: 2025-01-28 to 2025-02-04
Days until: 15 days
Return Codes
| Code | Meaning |
|---|---|
| 0 | Working day |
| 1 | Weekend |
| 2 | Statutory holiday |
| 3 | Adjusted working day (调休) |
Data Source
Holiday data is based on official announcements from the State Council of China (国务院办公厅). The script includes:
- Statutory holiday dates
- Adjusted working days (调休)
- Holiday names in Chinese and English
Notes
- Adjusted working days (调休) are weekends that become working days due to holiday adjustments
- Some holidays may change based on official announcements - data is updated annually
- Supports dates from 2024 onwards
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install chinese-holidays - 安装完成后,直接呼叫该 Skill 的名称或使用
/chinese-holidays触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Chinese Holidays 是什么?
Query Chinese statutory holidays, check if a date is a working day/holiday, and get holiday schedules. Use when the user asks about Chinese holidays, working... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 178 次。
如何安装 Chinese Holidays?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install chinese-holidays」即可一键安装,无需额外配置。
Chinese Holidays 是免费的吗?
是的,Chinese Holidays 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Chinese Holidays 支持哪些平台?
Chinese Holidays 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Chinese Holidays?
由 anlinxi(@anlinxi)开发并维护,当前版本 v1.0.0。