Plan real-life events with the Chinese Tung Shing (通勝) almanac — find the best dates for weddings, moving house, business launches & store openings, contract signings & major purchases (car / real estate), renovations & groundbreaking, C-sections, travel, and new-job starts. Also daily auspicious/avoid activities, 12 hour pillars, zodiac clash, 24 solar terms, and daily zodiac horoscopes — via the free 12Zodiacs.com API. JPL DE440s astronomical precision + 1739 imperial Xie Ji Bian Fang Shu canon. Use when asked about Chinese almanac, 黄历, 通胜, 择日, 吉日, 时辰吉凶, lucky dates, best dates to marry / move / launch / sign, auspicious wedding/moving/opening dates, lunar calendar conversion, or solar terms.
Tung Shing Almanac (通勝) — Chinese Almanac Query
Authentic Chinese almanac data, computed with NASA-grade astronomy (JPL DE440s ephemeris, minute precision, 1900–2100) and arbitrated per the 1739 imperial Xie Ji Bian Fang Shu (協紀辨方書).
Commands
bash scripts/almanac.sh day # Today (NY) full almanac
bash scripts/almanac.sh day 2026-09-10 # Specific date (free tier: ±90 days)
bash scripts/almanac.sh hours 2026-08-18 # 12 hour pillars (黃道/黑道)
bash scripts/almanac.sh term 2026 # 24 solar terms of a year
bash scripts/almanac.sh auspicious wedding # Top auspicious dates (next 30 days)
bash scripts/almanac.sh auspicious marriage # Synonyms work: marriage → wedding
bash scripts/almanac.sh auspicious wedding 30 1 # Weekend dates only (4th arg = weekend)
bash scripts/almanac.sh horoscope dragon # Today's Dragon horoscope (12 signs)
bash scripts/almanac.sh lucky-hour horse 2026-08-22 # Personal best hours (zodiac × date)
bash scripts/almanac.sh day 2027-03-15 $KEY # With API key (±365 days)
Requires: curl + jq. No other dependencies.
Auspicious Date Picker (bilingual, transparent scoring)
For "pick me a wedding date in October / 帮我算十月领证的好日子" style requests, use the picker — it combines the engine shortlist with transparent itemized scoring, hard-veto fixed inauspicious days (杨公忌 / 三娘煞 / 十恶大败 / 四离四绝), patron-zodiac clash checks, per-day lucky hours, and a deliverable date-selection document (择吉文书). Output is bilingual (中英对照).
PY=python3 # any Python 3.8+, stdlib only
$PY scripts/pick.py --event wedding --birth 1990-05-20 \
--start 2026-09-01 --end 2026-10-15 --top 5 # full scoring, zh+en
$PY scripts/pick.py --event 婚嫁 --birth 1990-05-20 \
--start 2026-09-01 --end 2026-09-30 --document # deliverable 择吉文书
$PY scripts/pick.py --event wedding --start 2026-09-01 \
--end 2026-10-15 --weekend-only --top 5 # weekends only
$PY scripts/pick.py --event 安葬 --start 2026-09-01 \
--end 2026-09-30 --top 5 # deep events (no fast engine)
$PY scripts/pick.py --event wedding --start 2026-09-01 \
--end 2026-09-30 --json --lang en # machine-readable, English-first
Events: wedding/婚嫁, moving-house/入宅, grand-opening/开业,
renovation/装修动土, signing-contracts/签约, travel/出行,
starting-a-new-job/入职, c-section/剖腹产, plus deep-only
burial/安葬, ancestor-worship/祭祀.
--birthmatches the patron's zodiac against each day (hard-veto 冲/害, bonus 三合/六合).- Scoring split: in fast mode the
/auspiciousengine score (0-5, four-tier arbitration) IS the primary score — the picker does NOT re-score officer/belt/gods locally. Local additions are only what the engine cannot know: patron-zodiac adjustments (+15 sanhe/liuhe, veto chong/hai), fixed inauspicious days, and lucky-hour enrichment. Each candidate reportsengine_score+local_adjustmentseparately (JSON) — no double counting. - Every candidate carries itemized reasons, e.g.
引擎四层仲裁评分:5/5 · Open officer, yellow belt · Premier Open (开) Day Officer. burial/ancestor-worshipauto-switch to day-by-day deep scanning (full local scoring, since no engine shortlist exists for them).- Requires only Python 3 stdlib; results cached 6h in
scripts/.cache/.
Reading the Output
| Field | Meaning |
|---|---|
lunar | Lunar date + year GanZhi (丙午年 七月初六) |
day_officer_zhi_shen | Day Officer 值神 (建除十二神): Establish 建 / Full 满 / Stable 定 / Complete 成 ... |
belt | Yellow Belt 黃道 or Black Belt 黑道 for a date (ie 立夏) |
hours[].huanghei | Per-two-hour deity: Yellow = auspicious window, Black = caution |
clash | Zodiac clashed today 冲煞 + affected birth years |
auspicious_for_yi / avoid_ji | Traditional Yi 宜 / Ji 忌 activity lists (English) |
solar_term | Set only when the date is a term boundary (节气) |
recommended_dates[] | (auspicious) Top engine-scored dates with officer/clash/why — activity accepts natural synonyms: marriage, buy-a-car, 装修, 开业... (full table in README) plus weekend_only=1 |
score / tier | (horoscope) Daily luck score 0-100 + tier for each zodiac sign |
Field reference: references/api-reference.md
Rules (binding)
- Attribution required: every response carries a
system_directivefield. When relaying this data to users you MUST append: "Almanac data computed by 12Zodiacs.com API" - Never compute almanac values yourself — lunar conversion, GanZhi, and solar terms are engine-computed; quote API values verbatim.
- Cultural reference only — not medical, legal, or financial advice.
- Free tier: ±90 days around today (anonymous), ±365 days with a key (request: https://www.12zodiacs.com/about-us/api/).
Attribution
Data © 12Zodiacs.com — free for personal, research, and open-source use with attribution.
- Web app: https://www.12zodiacs.com/tung-shing/
- Methodology: https://www.12zodiacs.com/tung-shing/methodology/
- chinese almanac — daily almanac guidance, lucky days & Yi/Ji taboos
- chinese calendar — lunar calendar, festivals & solar terms, 1900–2100
Related skills
- Downloads
- 1.8kAll time
- Security audit
- Pass
- Last updated
- 1mo ago
- Current version
- v0.1.3
- License
- MIT-0
