{"id":"91bda052-5cf2-4f50-9cfd-d0ae9936b80f","slug":"clawhub-ldxs001-workday-calendar","name":"workday-calendar","description":"智能周历系统。支持法定假日、补班日、轮休系统（跳过/不跳过法定假双模式）、特殊休息（公休/临修）、个人日程管理。","canonicalUrl":"https://www.xpersona.co/agent/clawhub-ldxs001-workday-calendar","sourceUrl":"https://clawhub.ai/ldxs001/workday-calendar","homepage":"https://clawhub.ai/ldxs001/skills/workday-calendar","source":"CLAWHUB","vendor":{"slug":"clawhub","label":"Clawhub","url":"https://clawhub.ai/ldxs001/skills/workday-calendar"},"protocols":["OPENCLEW"],"capabilities":[],"trustScore":null,"trustConfidence":"unknown","artifactCount":0,"benchmarkCount":0,"lastRelease":"2.2.0","freshnessAt":"2026-10-10T04:54:57.838Z","freshnessLabel":"Oct 10, 2026","securityReviewed":true,"openapiReady":false,"stats":[{"label":"Trust score","value":"Unknown"},{"label":"Compatibility","value":"OpenClaw"},{"label":"Freshness","value":"Oct 10, 2026"},{"label":"Vendor","value":"Clawhub"},{"label":"Artifacts","value":"0"},{"label":"Benchmarks","value":"0"},{"label":"Last release","value":"2.2.0"}],"factsPreview":[{"factKey":"vendor","category":"vendor","label":"Vendor","value":"Clawhub","href":"https://clawhub.ai/ldxs001/skills/workday-calendar","sourceUrl":"https://clawhub.ai/ldxs001/skills/workday-calendar","sourceType":"profile","confidence":"medium","observedAt":"2026-10-10T04:54:57.839Z","isPublic":true},{"factKey":"protocols","category":"compatibility","label":"Protocol compatibility","value":"OpenClaw","href":"https://www.xpersona.co/api/v1/agents/clawhub-ldxs001-workday-calendar/contract","sourceUrl":"https://www.xpersona.co/api/v1/agents/clawhub-ldxs001-workday-calendar/contract","sourceType":"contract","confidence":"medium","observedAt":"2026-10-10T04:54:57.839Z","isPublic":true},{"factKey":"traction","category":"adoption","label":"Adoption signal","value":"1.7K downloads","href":"https://clawhub.ai/ldxs001/workday-calendar","sourceUrl":"https://clawhub.ai/ldxs001/workday-calendar","sourceType":"profile","confidence":"medium","observedAt":"2026-10-10T04:54:57.839Z","isPublic":true},{"factKey":"latest_release","category":"release","label":"Latest release","value":"2.2.0","href":"https://clawhub.ai/ldxs001/workday-calendar","sourceUrl":"https://clawhub.ai/ldxs001/workday-calendar","sourceType":"release","confidence":"medium","observedAt":"2026-06-25T10:26:40.854Z","isPublic":true},{"factKey":"handshake_status","category":"security","label":"Handshake status","value":"UNKNOWN","href":"https://www.xpersona.co/api/v1/agents/clawhub-ldxs001-workday-calendar/trust","sourceUrl":"https://www.xpersona.co/api/v1/agents/clawhub-ldxs001-workday-calendar/trust","sourceType":"trust","confidence":"medium","observedAt":null,"isPublic":true}],"highlights":["1.7K downloads","Trust evidence available"],"agentCard":{"name":"workday-calendar","description":"智能周历系统。支持法定假日、补班日、轮休系统（跳过/不跳过法定假双模式）、特殊休息（公休/临修）、个人日程管理。","source":"CLAWHUB","sourceId":"clawhub:s1794v2r46s8y5d1r4jdd7ec5h84rw70:workday-calendar","homepage":"https://clawhub.ai/ldxs001/skills/workday-calendar","repository":"https://clawhub.ai/ldxs001/workday-calendar","documentation":"https://www.xpersona.co/agent/clawhub-ldxs001-workday-calendar","protocols":["OPENCLEW"],"examples":[{"kind":"example","language":"text","snippet":"File v2.2.0:references/examples.md\n\n# 典型场景\r\n\r\n### 场景1：查工作日"},{"kind":"example","language":"text","snippet":"File v2.2.0:references/faq.md\n\n# FAQ — workday-calendar 常见问题\r\n\r\n> 本文件以渐进式加载方式提供，详见 `references/faq.md`\r\n\r\nQ: 什么时候用工作日计算，什么时候用日程管理？\r\nA: 工作日计算用于查询某年/某月有多少个工作日、是否为假日等；日程管理用于管理个人日程事件（会议、任务等）。两者互不干扰，可以同时使用。\r\n\r\nQ: 数据文件存储在哪里？会不会丢失？\r\nA: 所有数据存储在 `skills/.standardization/workday-calendar/data/` 目录下（`holiday_intervals.json`、`compensatory_days.json`、`schedule_events.json` 等）。每次添加日程前系统自动创建 .bat 容灾备份，最多保留 9 个，可一键回滚。\r\n\r\nQ: 如何导入新的法定假日数据？\r\nA: 使用 CLI 命令 `python scripts/workday_calendar.py init <year>` 初始化年份数据，然后手动编辑 `data/holiday_intervals_<year>.json` 填入官方假日区间，或使用 AI 批量导入。\r\n\r\nQ: 周历和日程有什么区别？\r\nA: 周历（calendar）是按周展示的年度工作日/假日视图，用于查看某周有哪些工作日；日程（schedule）是具体日期上的事件安排，两者属于不同维度，可配合使用。\r\n\r\nQ: 为什么计算的工作日数和官方不一致？\r\nA: 请先执行 `python scripts/workday_calendar.py rules <year>` 查看规则确认表，核对假日区间和补班日是否正确配置。配置错误是计算结果偏差的最常见原因。\r\n\r\nQ: add_schedule_event() 返回\"冲突\"怎么办？\r\nA: 该时间段已有日程。先用 `list <date>` 查看现有日程，调整起止时间避开冲突。更新日程时也会重新检测冲突，冲突则自动还原。\r\n\r\nQ: 导入规则模板时报 JSON 解析错误？\r\nA: 检查模板 JSON 是否符合 `export_rules_template` 格式（version/year/base_type/rules 字段）。可先用 `export-rules-template` 导出正确格式作为对照。\r\n\r\nQ: HTML 导出后页面空白/乱码？\r\nA: 确保使用 UTF-8 编码保存 .html 文件。用浏览器打开时若显示乱码，在浏览器菜单中手动选择 UTF-8 编码。\r\n\r\nQ: settings.py 配置中心无法访问？\r\nA: 确认端口 8765 未被占用。如被占用，运行 `python scripts/settings.py <其他端口>` 指定端口。防火墙可能需放行。\n\nFile v2.2.0:references/guide.md\n\n# 使用指南\r\n\r\n## 工作日计算"}]}}