cantian-bazi

Generate Bazi charts and Chinese calendar data from user-provided dates.

1|2|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/bluegitter/QClaw --skill cantian-bazi-bluegitter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cantian-bazi
Source: https://github.com/bluegitter/QClaw/tree/main/resources/openclaw/config/skills/cantian-bazi
Command: npx skills add https://github.com/bluegitter/QClaw --skill cantian-bazi-bluegitter

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires cantian-tymext, and includes scripts (resource) components.

What problem does it solve?

Users often need to convert solar or lunar birth dates into Four Pillars (Bazi) charts and retrieve Chinese calendar details such as lunar dates, heavenly stems, earthly branches, and daily almanac information, which traditionally requires manual calculations or external tools.

Core Features & Use Cases

  • Bazi from Solar: Generate a markdown Bazi chart from a Gregorian datetime with optional gender and sect parameters.
  • Bazi from Lunar: Produce a Bazi chart from a lunar datetime, also supporting gender and sect options.
  • Chinese Calendar Lookup: Retrieve lunar date, stem‑branch cycle, and almanac (yi‑ji) information for any given Gregorian date.
  • Use Cases: Astrological analysis, fortune‑telling, almanac queries, or personal date conversion without leaving the chat interface.

Quick Start

Use the skill to generate a Bazi chart by saying, “Generate Bazi for solar date 1990-05-15T14:30:00, male, sect 2.”

Frequently Asked Questions about cantian-bazi

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

FAQPage Schema
How do I generate a Bazi chart from a solar date?

To generate a Bazi chart from a solar date, provide a Gregorian datetime along with optional gender and sect parameters. The tool outputs a markdown Four Pillars chart without requiring manual calculations.

Can I convert lunar birth dates into Chinese calendar Bazi charts?

Yes, you can produce a Bazi chart from a lunar datetime. The skill accepts lunar birth data with gender and sect options to output the corresponding Four Pillars chart.

What Chinese calendar information can I retrieve for a specific Gregorian date?

You can retrieve lunar dates, the stem-branch cycle, and daily almanac (yi-ji) information for any given Gregorian date. This provides comprehensive Chinese calendar details for astrology or almanac queries.

Do I need Node runtime to calculate Four Pillars charts?

Yes, generating Four Pillars charts requires a Node runtime with access to the cantian-tymext library. An optional tsx fallback is available for script execution if needed.

Does this tool support different sect parameters for fortune-telling analysis?

Yes, the tool supports optional sect parameters when generating Bazi charts from either solar or lunar dates. This allows customization for different astrological analysis and fortune-telling contexts.

What is the best way to query Chinese almanac details without external tools?

The best way is to input your Gregorian date directly into the chat interface. The skill calculates and returns lunar dates, stem-branch cycles, and yi-ji almanac information without needing external conversion tools.