{
  "schemaVersion": "1.0",
  "item": {
    "slug": "chinese-calendar",
    "name": "中国日历",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/TEweitao/chinese-calendar",
    "canonicalUrl": "https://clawhub.ai/TEweitao/chinese-calendar",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/chinese-calendar",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=chinese-calendar",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/chinese-calendar"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/chinese-calendar",
    "agentPageUrl": "https://openagent3.xyz/skills/chinese-calendar/agent",
    "manifestUrl": "https://openagent3.xyz/skills/chinese-calendar/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/chinese-calendar/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Chinese Calendar Skill",
        "body": "获取中国日历信息，包括节假日、调休安排、工作日判断。"
      },
      {
        "title": "When to Use",
        "body": "✅ USE this skill when:\n\n判断某天是否是工作日（考虑调休）\n查询节假日安排\n了解调休补班情况\n生成工作日历提醒\n\n❌ DON'T use this skill when:\n\n只需要普通日期计算 → use built-in date tools\n需要农历信息 → use lunar calendar tools\n需要其他国家节假日 → use international calendar APIs"
      },
      {
        "title": "API Source",
        "body": "使用 timor.tech 提供的免费 API：\n\n数据每年自动更新\n包含国务院发布的节假日安排\n包含调休、补班信息"
      },
      {
        "title": "查询某天是否是工作日",
        "body": "# 查询今天\ncurl -s \"https://timor.tech/api/holiday/info/$(date +%Y-%m-%d)\"\n\n# 查询指定日期\ncurl -s \"https://timor.tech/api/holiday/info/2026-02-28\"\n\n# 查询明天\ncurl -s \"https://timor.tech/api/holiday/info/$(date -d 'tomorrow' +%Y-%m-%d 2>/dev/null || date -v+1d +%Y-%m-%d)\""
      },
      {
        "title": "查询指定年份的所有节假日",
        "body": "# 查询2026年所有节假日\ncurl -s \"https://timor.tech/api/holiday/year/2026/\""
      },
      {
        "title": "批量查询多个日期",
        "body": "# 查询本周所有日期\for day in {0..6}; do\n  date_str=$(date -d \"$day days\" +%Y-%m-%d 2>/dev/null || date -v+${day}d +%Y-%m-%d)\n  curl -s \"https://timor.tech/api/holiday/info/$date_str\"\n  echo \"\"\ndone"
      },
      {
        "title": "工作日/节假日信息",
        "body": "{\n  \"code\": 0,\n  \"type\": {\n    \"type\": 0,      // 0: 工作日, 1: 周末, 2: 节日, 3: 调休\n    \"name\": \"工作日\",\n    \"week\": 6       // 星期几 (1-7)\n  },\n  \"holiday\": {\n    \"holiday\": false,     // 是否放假\n    \"name\": null,         // 节日名称\n    \"wage\": 1,            // 工资倍数 (1, 2, 3)\n    \"target\": null,       // 对应哪个节日\n    \"after\": false,       // 是否是节后补班\n    \"date\": \"2026-02-28\", // 日期\n    \"rest\": 1             // 休息天数\n  }\n}"
      },
      {
        "title": "Type 类型说明",
        "body": "type含义0工作日1周末2节日3调休"
      },
      {
        "title": "Holiday 类型说明",
        "body": "场景holidayafter示例正常工作日falsefalse周一到周五正常周末truefalse周六、周日节假日truefalse春节、国庆调休补班falsetrue春节后补班"
      },
      {
        "title": "判断明天是否需要上班",
        "body": "response=$(curl -s \"https://timor.tech/api/holiday/info/$(date -d 'tomorrow' +%Y-%m-%d)\")\nif echo \"$response\" | grep -q '\"holiday\":false'; then\n  echo \"明天是工作日，需要上班\"\nelse\n  echo \"明天放假，不用上班\"\nfi"
      },
      {
        "title": "获取下周所有工作日",
        "body": "for day in {1..7}; do\n  date_str=$(date -d \"$day days\" +%Y-%m-%d)\n  response=$(curl -s \"https://timor.tech/api/holiday/info/$date_str\")\n  if echo \"$response\" | grep -q '\"holiday\":false'; then\n    echo \"$date_str: 工作日\"\n  fi\ndone"
      },
      {
        "title": "查询节假日名称",
        "body": "curl -s \"https://timor.tech/api/holiday/info/2026-02-17\" | grep -o '\"name\":\"[^\"]*\"'"
      },
      {
        "title": "PowerShell Usage (Windows)",
        "body": "在 Windows PowerShell 中使用：\n\n# 查询今天\n$response = Invoke-RestMethod -Uri \"https://timor.tech/api/holiday/info/$(Get-Date -Format 'yyyy-MM-dd')\"\n$response.type.name\n$response.holiday.holiday\n\n# 查询明天\n$tomorrow = (Get-Date).AddDays(1).ToString(\"yyyy-MM-dd\")\n$response = Invoke-RestMethod -Uri \"https://timor.tech/api/holiday/info/$tomorrow\"\n$response"
      },
      {
        "title": "Integration with OpenClaw",
        "body": "在 Agent 中使用此 skill：\n\n读取本 SKILL.md 了解 API 用法\n使用 web_fetch 或 exec 调用 API\n解析 JSON 响应\n根据结果生成提醒或调整计划"
      },
      {
        "title": "Example Workflow",
        "body": "1. 获取明天的日期\n2. 调用 timor.tech API 查询\n3. 判断是否是工作日\n4. 如果是工作日 → 正常发送下班提醒\n5. 如果是假期 → 发送假期祝福，跳过下班提醒"
      },
      {
        "title": "Notes",
        "body": "API 免费使用，无需注册\n数据每年由 timor.tech 维护更新\n节假日安排以国务院发布为准\n支持年份范围：当年及前后几年"
      },
      {
        "title": "Related",
        "body": "农历查询：需配合其他农历 API\n国际节假日：使用 date.nager.at API"
      }
    ],
    "body": "Chinese Calendar Skill\n\n获取中国日历信息，包括节假日、调休安排、工作日判断。\n\nWhen to Use\n\n✅ USE this skill when:\n\n判断某天是否是工作日（考虑调休）\n查询节假日安排\n了解调休补班情况\n生成工作日历提醒\n\n❌ DON'T use this skill when:\n\n只需要普通日期计算 → use built-in date tools\n需要农历信息 → use lunar calendar tools\n需要其他国家节假日 → use international calendar APIs\nAPI Source\n\n使用 timor.tech 提供的免费 API：\n\n数据每年自动更新\n包含国务院发布的节假日安排\n包含调休、补班信息\nCommands\n查询某天是否是工作日\n# 查询今天\ncurl -s \"https://timor.tech/api/holiday/info/$(date +%Y-%m-%d)\"\n\n# 查询指定日期\ncurl -s \"https://timor.tech/api/holiday/info/2026-02-28\"\n\n# 查询明天\ncurl -s \"https://timor.tech/api/holiday/info/$(date -d 'tomorrow' +%Y-%m-%d 2>/dev/null || date -v+1d +%Y-%m-%d)\"\n\n查询指定年份的所有节假日\n# 查询2026年所有节假日\ncurl -s \"https://timor.tech/api/holiday/year/2026/\"\n\n批量查询多个日期\n# 查询本周所有日期\for day in {0..6}; do\n  date_str=$(date -d \"$day days\" +%Y-%m-%d 2>/dev/null || date -v+${day}d +%Y-%m-%d)\n  curl -s \"https://timor.tech/api/holiday/info/$date_str\"\n  echo \"\"\ndone\n\nResponse Format\n工作日/节假日信息\n{\n  \"code\": 0,\n  \"type\": {\n    \"type\": 0,      // 0: 工作日, 1: 周末, 2: 节日, 3: 调休\n    \"name\": \"工作日\",\n    \"week\": 6       // 星期几 (1-7)\n  },\n  \"holiday\": {\n    \"holiday\": false,     // 是否放假\n    \"name\": null,         // 节日名称\n    \"wage\": 1,            // 工资倍数 (1, 2, 3)\n    \"target\": null,       // 对应哪个节日\n    \"after\": false,       // 是否是节后补班\n    \"date\": \"2026-02-28\", // 日期\n    \"rest\": 1             // 休息天数\n  }\n}\n\nType 类型说明\ntype\t含义\n0\t工作日\n1\t周末\n2\t节日\n3\t调休\nHoliday 类型说明\n场景\tholiday\tafter\t示例\n正常工作日\tfalse\tfalse\t周一到周五\n正常周末\ttrue\tfalse\t周六、周日\n节假日\ttrue\tfalse\t春节、国庆\n调休补班\tfalse\ttrue\t春节后补班\nUsage Examples\n判断明天是否需要上班\nresponse=$(curl -s \"https://timor.tech/api/holiday/info/$(date -d 'tomorrow' +%Y-%m-%d)\")\nif echo \"$response\" | grep -q '\"holiday\":false'; then\n  echo \"明天是工作日，需要上班\"\nelse\n  echo \"明天放假，不用上班\"\nfi\n\n获取下周所有工作日\nfor day in {1..7}; do\n  date_str=$(date -d \"$day days\" +%Y-%m-%d)\n  response=$(curl -s \"https://timor.tech/api/holiday/info/$date_str\")\n  if echo \"$response\" | grep -q '\"holiday\":false'; then\n    echo \"$date_str: 工作日\"\n  fi\ndone\n\n查询节假日名称\ncurl -s \"https://timor.tech/api/holiday/info/2026-02-17\" | grep -o '\"name\":\"[^\"]*\"'\n\nPowerShell Usage (Windows)\n\n在 Windows PowerShell 中使用：\n\n# 查询今天\n$response = Invoke-RestMethod -Uri \"https://timor.tech/api/holiday/info/$(Get-Date -Format 'yyyy-MM-dd')\"\n$response.type.name\n$response.holiday.holiday\n\n# 查询明天\n$tomorrow = (Get-Date).AddDays(1).ToString(\"yyyy-MM-dd\")\n$response = Invoke-RestMethod -Uri \"https://timor.tech/api/holiday/info/$tomorrow\"\n$response\n\nIntegration with OpenClaw\n\n在 Agent 中使用此 skill：\n\n读取本 SKILL.md 了解 API 用法\n使用 web_fetch 或 exec 调用 API\n解析 JSON 响应\n根据结果生成提醒或调整计划\nExample Workflow\n1. 获取明天的日期\n2. 调用 timor.tech API 查询\n3. 判断是否是工作日\n4. 如果是工作日 → 正常发送下班提醒\n5. 如果是假期 → 发送假期祝福，跳过下班提醒\n\nNotes\nAPI 免费使用，无需注册\n数据每年由 timor.tech 维护更新\n节假日安排以国务院发布为准\n支持年份范围：当年及前后几年\nRelated\n农历查询：需配合其他农历 API\n国际节假日：使用 date.nager.at API"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/TEweitao/chinese-calendar",
    "publisherUrl": "https://clawhub.ai/TEweitao/chinese-calendar",
    "owner": "TEweitao",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/chinese-calendar",
    "downloadUrl": "https://openagent3.xyz/downloads/chinese-calendar",
    "agentUrl": "https://openagent3.xyz/skills/chinese-calendar/agent",
    "manifestUrl": "https://openagent3.xyz/skills/chinese-calendar/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/chinese-calendar/agent.md"
  }
}