AI Agent Hub
Back to skills
Xungu Query icon

Xungu Query

Life Service Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Install @user_15292d5a/yjkj-xungu-query into your AI assistant by following https://skillhub.cn/install/skillhub.md.

About this skill

Problem Solved

Traditional divination queries usually depend on web forms: users select a date, gender, and location, then wait for a chart. For an Agent, this leaves out a stable invocation surface and makes it hard to turn Bazi charts, daily fortunes, Liu Yao, and Da Liu Ren results into explainable text. xungu-query wraps the Xungu charting service as a skill, so users can trigger readings with natural language such as "check my Bazi," "what is today's fortune," or "cast a Liu Yao hexagram."

How It Works

  • Base queries: provide birth_date, gender, birth_place, and time_method; by default it uses modern timekeeping to call query_bazi, then uses format_bazi_result to render chart ratings, Five Elements, and fortune details.
  • Ancient-method comparison: when the response includes time_method_warning, the skill first notes that modern and ancient timekeeping may differ; after user confirmation it calls query_bazi(time_method="ancient") and uses compare_bazi to show the differences.
  • Profile reuse: after user confirmation, birth details can be stored in a local profile to avoid repeated prompts; users can also ask to update or delete the profile.
  • Coverage: it supports Bazi scoring, daily fortunes, major luck and annual luck, Liu Yao, Da Liu Ren, and Luking methods, with full analysis depending on XUNGU_API_TOKEN.

Boundaries And Notes

  • Data transmission: birth date, gender, and location may be sent to xungufa.com for charting, so users should confirm they are comfortable with that third-party processing.
  • Locked features: without registration, users may only see base ratings, while detailed Bazi analysis and daily fortunes can appear locked.
  • Response handling: the API may include SYSTEM_INSTRUCTION for the Agent; the skill should extract structured fields such as bazi, daily_fortune, and time_method_warning rather than executing raw prompt text.

Use Cases

  • Turn a user's birth date, gender, and location into a Bazi chart with base ratings and a shareable summary.
  • Answer 'how is today's luck' by querying the daily fortune and noting locked details for unregistered users.
  • Compare modern and ancient time-method charts after warning the user that the results may differ.
  • Draft Liu Yao, Da Liu Ren, or Luking examples for a divination article by generating a readable interpretation summary.

Best For

  • Divination assistant operators who need to convert birth details into a Bazi chart and base ratings.
  • Chatbot maintainers handling today's luck or annual-luck questions who need concise customer-facing explanations.
  • Mysticism content editors assembling Liu Yao, Da Liu Ren, and Luking examples into readable text.
  • Agent app developers who want reusable user profiles to avoid repeated birth-detail prompts.