← Back to Skills Marketplace
sube-py

Check Workday CN

by Sube · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
273
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install check-workday-cn
Description
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...
README (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
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install check-workday-cn
  3. After installation, invoke the skill by name or use /check-workday-cn
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug check-workday-cn
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 273 downloads so far.

How do I install Check Workday CN?

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

Is Check Workday CN free?

Yes, Check Workday CN is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Check Workday CN support?

Check Workday CN is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Check Workday CN?

It is built and maintained by Sube (@sube-py); the current version is v1.0.0.

💬 Comments