← 返回 Skills 市场
weidongkl

中国节假日查询

作者 wei dong · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
46
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install chinese-holiday
功能描述
查询中国法定节假日、周末及调休安排,判断某日是否节假日或工作日,获取节假日日期及放假安排信息。
使用说明 (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 失败时,回退到基于星期几的判断。

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

安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install chinese-holiday
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /chinese-holiday 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: 从网络 API 查询中国法定节假日,支持多源降级
元数据
Slug chinese-holiday
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

中国节假日查询 是什么?

查询中国法定节假日、周末及调休安排,判断某日是否节假日或工作日,获取节假日日期及放假安排信息。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 46 次。

如何安装 中国节假日查询?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install chinese-holiday」即可一键安装,无需额外配置。

中国节假日查询 是免费的吗?

是的,中国节假日查询 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

中国节假日查询 支持哪些平台?

中国节假日查询 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 中国节假日查询?

由 wei dong(@weidongkl)开发并维护,当前版本 v1.0.0。

💬 留言讨论