← Back to Skills Marketplace
weidongkl

中国节假日查询

by wei dong · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
46
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install chinese-holiday
Description
查询中国法定节假日、周末及调休安排,判断某日是否节假日或工作日,获取节假日日期及放假安排信息。
README (SKILL.md)

中国节假日查询

通过 Python 脚本从网络请求节假日数据,支持多 API 源自动切换。

快速使用

# 查询单天
python3 scripts/holiday_check.py 2026-05-01

# 查询多天
python3 scripts/holiday_check.py 2026-01-01 2026-10-01

# JSON 格式输出
python3 scripts/holiday_check.py 2026-05-01 --json

输出类型

类型 含义
工作日 需要上班(含调休补班)
节假日 休息(含周末、法定节假日、调休放假)

数据源

使用 timor.tech API 按年查询。所有 API 失败时,回退到基于星期几的判断。

⚠️ 不缓存本地数据,每次调用均从网络获取。

Usage Guidance
This appears safe for normal holiday and workday lookups. Before using it, note that it relies on timor.tech over the network and falls back to weekday-only logic if the API fails.
Capability Analysis
Type: OpenClaw Skill Name: chinese-holiday Version: 1.0.0 The skill bundle is a legitimate tool for querying Chinese holiday schedules and make-up workdays. The script `scripts/holiday_check.py` fetches data from a known public API (timor.tech) using standard Python libraries and includes a local fallback mechanism. No evidence of data exfiltration, malicious execution, or prompt injection was found.
Capability Assessment
Purpose & Capability
The artifacts coherently implement the stated purpose: checking Chinese holidays, weekends, and make-up workdays from date inputs.
Instruction Scope
The usage instructions are limited to running the bundled script with user-supplied dates and optional JSON output; no hidden or high-impact actions are requested.
Install Mechanism
There is no install script or package installation; the provided code is a small Python script included in the manifest.
Credentials
The script contacts an external holiday API over HTTPS on each use, which is disclosed and proportionate to the holiday-query purpose.
Persistence & Privilege
No credentials, local cache, persistent storage, privileged paths, background workers, or account mutations are shown.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install chinese-holiday
  3. After installation, invoke the skill by name or use /chinese-holiday
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: 从网络 API 查询中国法定节假日,支持多源降级
Metadata
Slug chinese-holiday
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 中国节假日查询?

查询中国法定节假日、周末及调休安排,判断某日是否节假日或工作日,获取节假日日期及放假安排信息。 It is an AI Agent Skill for Claude Code / OpenClaw, with 46 downloads so far.

How do I install 中国节假日查询?

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

Is 中国节假日查询 free?

Yes, 中国节假日查询 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 中国节假日查询 support?

中国节假日查询 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 中国节假日查询?

It is built and maintained by wei dong (@weidongkl); the current version is v1.0.0.

💬 Comments