ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified utilities Safety 5/5

lunar-calendar

中国农历/阴历的专业查询工具。 核心能力: - 公历转农历(干支纪年、生肖、闰月标志) - 农历转公历(支持闰月精准转换) - 黄历宜忌查询(嫁娶、动土、开市等) - 节气查询(24节气精准到秒级) 触发场景:当用户询问"农历"、"黄历"、"宜忌"、"阴历"、"八字基础"、"春节日期"、"闰月"或需要处理中国传统历法计算时强制激活。 输出物:结构化日期信息 + 宜忌表 + 节气标识。

Why use this skill?

A precise OpenClaw skill for converting Gregorian to Chinese Lunar dates, calculating 24 solar terms, and querying traditional Chinese fortune-telling data.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/hehuibiao/lunar-calendar
Or

What This Skill Does

The lunar-calendar skill provides a highly accurate, deterministic engine for querying the Chinese traditional calendar (Xia calendar). Unlike standard LLMs that rely on probabilistic memory—which is prone to errors regarding leap months and shifting dates—this skill enforces a robust computational approach. It serves as a specialized utility for converting between Gregorian (solar) and Lunar dates, determining accurate 24 solar terms, and retrieving traditional Chinese fortune-telling data such as "Yi" (suitable) and "Ji" (avoidance) activities.

Installation

To integrate this capability into your OpenClaw environment, execute the following command in your terminal: clawhub install openclaw/skills/skills/hehuibiao/lunar-calendar

Use Cases

  • Calendar Synchronization: Perfect for individuals and developers needing precise mapping between Western Gregorian dates and traditional Chinese calendar dates.
  • Traditional Activity Planning: Ideal for users planning events based on traditional Chinese auspicious/inauspicious days, such as choosing dates for weddings, business openings, or construction, based on the "Huangli" (Yellow Almanac).
  • Educational & Seasonal Tracking: Provides precise scientific data for the 24 solar terms, helping users track traditional agricultural and climate markers with second-level accuracy.
  • Cultural & Historical Research: Supports historiography by providing reliable conversions for dates ranging from 1900 to 2100.

Example Prompts

  1. "帮我查一下2026年春节对应的公历日期,顺便告诉我那天宜忌什么。"
  2. "公历2025年6月1日是农历哪一天?生肖是什么?"
  3. "今天是农历几月几号?今年有没有闰月?"

Tips & Limitations

  • Accuracy First: The skill operates in a "strict mode" and is strictly forbidden from hallucinating or guessing dates. It uses an internal Python calculation script to ensure data integrity.
  • Scope: The current implementation supports dates between 1900 and 2100. Queries outside this range will return a notification that the date is unsupported.
  • Structure: Output is always provided in a standardized XML format to ensure machine-readability for further agentic workflows.
  • Focus: This skill focuses strictly on traditional calendar data. It does not provide modern interpretations or daily horoscopes, keeping its utility clean and professional.

Metadata

Author@hehuibiao
Stars2387
Views0
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-hehuibiao-lunar-calendar": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#calendar#lunar#chinese-traditional#productivity#utility
Safety Score: 5/5

Flags: file-read, code-execution