get-fortune-analysis

Generates Chinese astrology annual fortune reports with JSON output and HTML result cards.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/tmtgroupbot/lptracker-deploy --skill get-fortune-analysis-tmtgroupbot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: get-fortune-analysis
Source: https://github.com/tmtgroupbot/lptracker-deploy/tree/main/skills/get-fortune-analysis
Command: npx skills add https://github.com/tmtgroupbot/lptracker-deploy --skill get-fortune-analysis-tmtgroupbot

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lunar_python.

What problem does it solve? Creating personalized annual fortune (流年运势) reports requires manual BaZi chart calculation, Ten Gods analysis, and copywriting, which is slow and inconsistent for consumer-facing astrology products. ## Core Features & Use Cases - BaZi Calculation: Uses the lunar_python library to compute the Four Pillars, day master element, body strength (身强/身弱), and annual Ten Gods from birth date and hour. - Structured Fortune Analysis: Produces a JSON report with score, keyword, star ratings, and narrative sections for career, wealth, and love. - Frontend Rendering Template: Includes a mobile HTML result card with a ritual-style fingerprint entry animation and floating binary particle effects. - Use Case: A user enters their birth year, month, day, and hour in a fortune-telling mini app; the Skill calculates their BaZi, reasons over the annual Ten Gods influence, and renders a styled 2026 fortune report card. ## Quick Start Generate an annual fortune report for someone born on 1995-06-15 at 8 AM with a focus on career.

Frequently Asked Questions about get-fortune-analysis

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

FAQPage Schema
How do I generate a BaZi fortune report from a birth date in Python?

Use the lunar_python library to convert the solar birth date into a lunar calendar object, then extract the Eight Characters (BaZi) via getEightChar. The day master element and annual Ten Gods are derived from the resulting stems and branches.

What Python library calculates Chinese lunar calendar and BaZi?

lunar_python provides Solar and Lunar classes for calendar conversion and exposes getEightChar for Four Pillars calculation. It also supports retrieving year stems, branches, and directional positions like the wealth god direction.

What input parameters does the fortune analysis require?

It requires birth_year, birth_month, birth_day, and birth_hour as integers, with an optional focus_type parameter for career, wealth, or love emphasis. The birth hour defaults to zero if not specified.

How is body strength (身强身弱) determined in the calculation?

A scoring rule adds 40 points if the month branch supports the day master element and 15 points for each matching branch in year, day, and hour pillars. A score of 40 or above is classified as strong, otherwise weak.

What are the limitations of this annual fortune calculation?

The annual pillar uses a simplified mid-year lunar lookup rather than precise Li Chun boundary logic, so fortunes near the solar term transition may be inaccurate. Yin-yang classification of branches is also simplified.