ccal

star 4.5k

Chinese lunar calendar with solar terms, traditional holidays, and almanac. Zero barrier — use with x-cmd or any calendar library. Use for "calendar", "lunar", "Chinese calendar", "节气", "黄历", "农历".

x-cmd By x-cmd schedule Updated 6/12/2026

name: ccal description: | Chinese lunar calendar with solar terms, traditional holidays, and almanac. Zero barrier — use with x-cmd or any calendar library. Use for "calendar", "lunar", "Chinese calendar", "节气", "黄历", "农历".

metadata: version: "0.1.0" category: calendar tags: [calendar, lunar, chinese, solar-terms, holidays, almanac] repository: https://github.com/x-cmd/skill0 type: skill0

ccal — skill0

Chinese calendar: lunar dates, solar terms (节气), traditional holidays, and daily almanac (黄历宜忌).

Quick Start

# With x-cmd
x ccal                      # Interactive calendar view
x ccal info                 # Today's detailed info
x ccal info --yml 2026-05-31  # Specific date in YAML
x ccal fzm                  # Monthly solar terms and holidays

# Without x-cmd — use any Chinese calendar library
# Python: zhdate, lunardate, borax
# JS: lunar-javascript

What's Available

Feature Description
Lunar dates 公历↔农历转换
Solar terms 24 节气查询
Holidays 传统节日、公历假日
Almanac 黄历宜忌、干支纪年
Zodiac 生肖、星座

Output Formats

Supports structured output for AI agents:

  • --yml YAML format
  • --tsv Tab-separated
  • --csv CSV format
  • --json JSON format

This skill0 grows

Starting with the essentials. Will add:

  • Calendar calculation algorithms
  • Holiday detection rules
  • Almanac data sources
Install via CLI
npx skills add https://github.com/x-cmd/x-cmd --skill ccal
Repository Details
star Stars 4,473
call_split Forks 152
navigation Branch main
article Path SKILL.md
More from Creator