← 返回 Skills 市场
jvy

holiday

作者 jvy · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
181
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install holiday
功能描述
Research public holidays, bank holidays, observed days, school breaks, and make-up workdays for any country or region. Use when the user asks whether a speci...
使用说明 (SKILL.md)

Holiday Skill

Use this skill for holiday lookup tasks across jurisdictions.

The core job is not memorization. The core job is to resolve the exact jurisdiction, holiday type, and year, then answer from authoritative sources.

Scope

  • Cover public holidays, bank holidays, observed substitute days, regional holidays, school closures, and make-up workdays.
  • Distinguish national holidays from state, province, city, school, employer, or religious-only observances.
  • Prefer exact dates over relative wording.
  • When the user asks about "today", "tomorrow", or "next Monday", restate the answer with an absolute date.

Required Clarifications

Before answering, resolve these when they are ambiguous:

  • Country or region
  • Subnational jurisdiction if relevant
  • Year
  • Holiday type:
    • official public holiday
    • bank holiday
    • school holiday or break
    • company closure
    • cultural or religious observance

If the user says "Is it a holiday on Monday?" without a jurisdiction, ask or infer only when the context is explicit.

Source Hierarchy

Use authoritative sources first. Preferred order:

  1. Government or parliament websites
  2. Official labor, civil service, education, or central bank notices
  3. Official gazettes or national holiday calendars
  4. Embassy or consular pages for cross-border summaries
  5. Reputable secondary summaries only when primary sources are unavailable

Read references/source-guidelines.md when you need a quick checklist for source selection and answer framing. Read references/query-patterns.md when you need concrete search patterns, answer templates, or disambiguation prompts.

Answer Rules

  • State the jurisdiction and year explicitly.
  • State whether the day is:
    • an official holiday
    • an observed substitute holiday
    • a regional-only holiday
    • a normal workday
    • a company-specific or school-specific closure not backed by law
  • If observance differs from the named holiday date, mention both.
  • If a holiday falls on a weekend and the country uses a substitute day, mention the substitute date.
  • If rules changed recently or vary by region, say so clearly.
  • Do not guess future schedules that have not yet been officially published.

Common Tasks

Check a Specific Date

Use when the user asks:

  • "Is 2026-11-26 a public holiday in the US?"
  • "Is next Friday a bank holiday in England?"
  • "Will offices be closed in Tokyo on 2026-02-11?"

Answer with:

  • the exact date
  • the jurisdiction
  • the holiday status
  • the holiday name if applicable
  • whether closure is nationwide or regional

Find the Date of a Holiday

Use when the user asks:

  • "When is Diwali in India in 2026?"
  • "When is Thanksgiving in the US this year?"
  • "When is Easter Monday in Germany in 2027?"

If the holiday is movable, verify the exact date for the requested year.

Check Observed or Substitute Days

Use when the user asks:

  • "When is Christmas observed in 2027 in the UK?"
  • "If a holiday falls on Sunday, which day is off in New Zealand?"
  • "Is Monday a substitute holiday in Japan?"

Explain both the named holiday date and the observed day when they differ.

Check School or Office Closure Assumptions

Use when the user asks:

  • "Are banks closed on this holiday?"
  • "Will schools be off that week?"
  • "Is the stock market closed?"

Do not assume all institutions follow the same calendar. If needed, separate:

  • public holiday status
  • bank closure status
  • school closure status
  • market trading status

Command

Use the bundled script when you want a deterministic checklist before researching:

node {baseDir}/scripts/holiday-checklist.js --country Japan --year 2026 --mode date-status --date 2026-02-11
node {baseDir}/scripts/holiday-checklist.js --country UK --region England --year 2027 --mode observed-day --holiday Christmas
node {baseDir}/scripts/holiday-checklist.js --country India --year 2026 --mode holiday-date --holiday Diwali --institution banks --json

The script does not answer the holiday question by itself. It structures:

  • scope to resolve
  • recommended source types
  • suggested search patterns
  • answer fields to fill in
  • likely failure modes to watch for

Handoff Rules

  • For lunar-date conversion or Chinese lunar festival date lookup, use rili.
  • For China-specific official holiday arrangements and make-up workdays from bundled local data, use jiejiari.
  • For calendar events or reminders, use a calendar or reminders skill instead of this one.

Notes

  • Holiday rules are time-sensitive and jurisdiction-specific.
  • Browsing is usually required unless the user already provided the exact official notice.
  • Prefer concise answers, but include exact dates and scope when rules are easy to misread.
  • When the question is broad, narrow it first, then verify. This skill is strongest when it turns vague holiday questions into a precise jurisdiction + year lookup.
安全使用建议
This skill appears coherent and low-risk: it only asks the agent to research authoritative public sources and includes a harmless local Node checklist script. Before installing, consider whether you want the agent to be allowed to browse the web (the skill expects browsing to verify official notices). No credentials or system-wide changes are requested. Note that the skill may call small helper tools (rili/jiejiari) for specific date conversions—these are referenced only as handoffs, not as secrets requirements. If you are comfortable with the agent doing web lookups autonomously, this skill is appropriate.
功能分析
Type: OpenClaw Skill Name: holiday Version: 1.0.0 The 'holiday' skill bundle is a well-structured tool designed to assist an AI agent in researching public and regional holidays. The included Node.js script (holiday-checklist.js) is a simple utility that generates search patterns and checklists based on user input without performing any network requests, file system modifications, or sensitive data access. All instructions in SKILL.md and the reference documents are strictly aligned with the stated purpose of holiday research and do not contain any signs of prompt injection or malicious intent.
能力评估
Purpose & Capability
Name and description match the included SKILL.md and the small checklist script; nothing in the files requests unrelated resources, credentials, or system access beyond web research and local checklist generation.
Instruction Scope
Runtime instructions are narrowly scoped to resolving jurisdiction/year/holiday type and to prefer authoritative government sources; they do not direct the agent to read arbitrary local files, access unspecified environment variables, or transmit data to unexpected endpoints. The SKILL.md explicitly recommends browsing authoritative sources and using bundled scripts for checklisting.
Install Mechanism
No install spec is included (instruction-only with a small local Node script). There are no downloads, package installs, or extract steps that would write arbitrary code to disk at install time.
Credentials
The skill declares no required environment variables, credentials, or config paths. The instructions reference other helper tools/skills (rili, jiejiari) but do not require secrets or unrelated credentials.
Persistence & Privilege
always:false (default) is used. agents/openai.yaml sets allow_implicit_invocation: true which allows the agent to invoke the skill autonomously — this is the platform default and acceptable here, but be aware the agent may call the skill without an explicit user command.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install holiday
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /holiday 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Holiday Skill v1.0.0 – Initial Release - Enables lookup of public holidays, bank holidays, regional observances, school breaks, and make-up workdays across any country or region. - Clearly distinguishes between official holidays, substitute/observed days, and company- or school-specific closures. - Guides users to provide or clarify country, region, year, and holiday type for precise answers. - Specifies use of authoritative government and official sources, with fallback to trusted summaries only if needed. - Provides sample command-line script usage for deterministic holiday scope resolution. - Details answer formatting and handoff rules for related date, lunar, or China-specific queries.
元数据
Slug holiday
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

holiday 是什么?

Research public holidays, bank holidays, observed days, school breaks, and make-up workdays for any country or region. Use when the user asks whether a speci... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 181 次。

如何安装 holiday?

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

holiday 是免费的吗?

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

holiday 支持哪些平台?

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

谁开发了 holiday?

由 jvy(@jvy)开发并维护,当前版本 v1.0.0。

💬 留言讨论