← 返回 Skills 市场
sube-py

Check Workday CN

作者 Sube · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
273
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install check-workday-cn
功能描述
Determine whether today (or a given date) is a working day in mainland China by querying holiday-cn yearly JSON from jsDelivr and applying holiday/makeup-wor...
使用说明 (SKILL.md)

Check Workday CN

Check whether today is a workday with official holiday override data from: https://cdn.jsdelivr.net/gh/NateScarlet/holiday-cn@master/{year}.json

Workflow

  1. Run python3 scripts/check_today_workday.py.
  2. Read is_workday from output.
  3. Explain reason:
    • If date exists in days[], use isOffDay directly (false => workday, true => off day).
    • If date does not exist in days[], fall back to weekday rule (Mon-Fri workday, Sat-Sun off day).

Commands

Use today in Asia/Shanghai:

python3 scripts/check_today_workday.py

Check specific date:

python3 scripts/check_today_workday.py --date 2026-02-15

Machine-readable output:

python3 scripts/check_today_workday.py --json

Output Contract

Always return:

  • Queried date (YYYY-MM-DD)
  • is_workday boolean
  • Reason (holiday override or weekday fallback)
  • Data source URL
安全使用建议
This skill appears safe and does exactly what it claims: fetch holiday JSON from jsDelivr and compute whether a date is a workday. Before installing, consider whether you trust the external data source (jsDelivr/GitHub content). For higher assurance, you can: run the included script locally to inspect behavior; pin the URL to a specific commit or mirror the yearly JSON into a trusted location; or run without network access by supplying local data. No credentials are required and the script does not access other files or services.
功能分析
Type: OpenClaw Skill Name: check-workday-cn Version: 1.0.0 The skill bundle is a legitimate utility for checking Chinese workday status. The Python script (scripts/check_today_workday.py) fetches holiday data from a well-known public repository on GitHub via the jsDelivr CDN and contains no evidence of malicious intent, data exfiltration, or unauthorized command execution.
能力评估
Purpose & Capability
Name/description match the code and instructions. The script only needs to fetch yearly holiday JSON and compute workday logic; there are no unrelated requirements (no credentials, no unrelated binaries).
Instruction Scope
SKILL.md and the script are narrowly scoped: they fetch JSON from https://cdn.jsdelivr.net/gh/NateScarlet/holiday-cn@master/{year}.json, apply holiday/makeup-workday rules, and print a small result. The instructions do not read other files, access extra env vars, or transmit data to unknown endpoints. Note: the skill requires outbound HTTP access to the jsDelivr CDN.
Install Mechanism
There is no install spec (instruction-only usage) and included code is a simple Python script. No downloads or archive extraction are performed by an installer. Risk from installation is minimal.
Credentials
The skill requests no environment variables or credentials. The only external dependency is network access to a public CDN to fetch holiday data, which is proportionate to the stated purpose.
Persistence & Privilege
always is false, the skill does not request persistent presence or modify other skills/system settings. It only prints results; it does not store secrets or alter agent configuration.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install check-workday-cn
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /check-workday-cn 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Determine if today or a given date is a working day in mainland China, using official holiday and makeup workday data. - Queries yearly holiday-cn JSON from jsDelivr for up-to-date holiday/workday rules. - Supports plain, date-specific, and JSON outputs for machine-readable workflows. - Provides clear reasoning: uses official overrides when available; otherwise, falls back to weekday logic. - Designed for both casual questions and integration into automated workflows.
元数据
Slug check-workday-cn
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Check Workday CN 是什么?

Determine whether today (or a given date) is a working day in mainland China by querying holiday-cn yearly JSON from jsDelivr and applying holiday/makeup-wor... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 273 次。

如何安装 Check Workday CN?

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

Check Workday CN 是免费的吗?

是的,Check Workday CN 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Check Workday CN 支持哪些平台?

Check Workday CN 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Check Workday CN?

由 Sube(@sube-py)开发并维护,当前版本 v1.0.0。

💬 留言讨论