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-workday rules. Use when users ask questions like "今天是不是工作日", "这天要不要上班", "是不是节假日/调休补班", or when a workflow needs a reliable workday boolean.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "check-workday-cn" with this command: npx skills add sube-py/check-workday-cn

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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Digicert

DigiCert integration. Manage Certificates, Orders, Users, Organizations. Use when the user wants to interact with DigiCert data.

Registry SourceRecently Updated
General

Dialpad

Dialpad integration. Manage Users, Groups, Departments, Offices. Use when the user wants to interact with Dialpad data.

Registry SourceRecently Updated
General

Darwinbox

Darwinbox integration. Manage Organizations, Goals, Roles, Projects, Pipelines, Leads and more. Use when the user wants to interact with Darwinbox data.

Registry SourceRecently Updated
General

Creatio

Creatio integration. Manage Leads, Organizations, Users. Use when the user wants to interact with Creatio data.

Registry SourceRecently Updated