ccal

Convert Gregorian dates to Chinese lunar calendar dates with solar terms.

4.6k|161|Updated Oct 1, 2022
One-click install
npx skills add https://github.com/x-cmd/x-cmd --skill ccal
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ccal
Source: https://github.com/x-cmd/x-cmd/tree/main/mod/ccal
Command: npx skills add https://github.com/x-cmd/x-cmd --skill ccal

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires awk, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill allows users to interact with the Chinese lunar calendar, providing quick access to important dates, conversions, and related information.

Core Features & Use Cases

  • Calendar Conversion: Convert between Gregorian and lunar dates.
  • Solar Terms: Access information on the solar terms (节气).
  • Traditional Chinese Holidays: Look up traditional Chinese holidays.
  • Almanac: View guidance for days with auspicious and inauspicious characteristics.
  • Heavenly Stems and Earthly Branches: Understand the day's Heavenly Stem and Earthly Branch.
  • Six-Day Cycle: Find the day's duty star (值星).
  • Use Case: Need to check if today is a good day for a fishing trip? The ccal Skill can help determine if it's an auspicious day or not.

Quick Start

Get information for today's date by running x ccal info.

Frequently Asked Questions about ccal

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a Gregorian date to the Chinese lunar calendar?

You can convert Gregorian dates to the Chinese lunar calendar by running the `x ccal info` command. It processes the conversion directly in your shell, providing the corresponding lunar date, Heavenly Stems, and Earthly Branches.

What is the best way to check today's Chinese almanac for auspicious activities?

The best way to check today's Chinese almanac is using the `x ccal info` command. It displays the daily guidance, indicating whether the current day is auspicious or inauspicious for specific activities like fishing trips.

Can I find information on solar terms and traditional Chinese holidays in the terminal?

Yes, you can find solar terms and traditional Chinese holidays in the terminal. The ccal Skill provides direct shell access to solar term information and traditional holiday lookups using `awk` for data processing.

Does the Chinese lunar calendar Skill require any specific dependencies to run?

Yes, the Chinese lunar calendar Skill requires `awk` and possibly other shell utilities to run. These dependencies handle the data processing and display required for Gregorian-to-lunar date conversions and almanac guidance.

How does the Chinese calendar Skill determine the Heavenly Stems and Earthly Branches for a specific day?

The Chinese calendar Skill determines the Heavenly Stems and Earthly Branches by processing the requested Gregorian date through its internal scripts. It outputs the specific day's Stem, Branch, and six-day cycle duty star directly.