AI Agent Hub
Back to skills
Professional Plum Blossom Divination icon

Professional Plum Blossom Divination

Knowledge Management Updated 2026.08.30

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

Please install @org-gfrg4dba/meihua-yishu using the guide at https://skillhub.cn/install/skillhub.md.

About this skill

Problem to Solve

In Agent workflows, users may want a concrete Plum Blossom divination answer for a specific question, not just raw hexagram fields. This skill addresses how to submit a divination request in conversation, choose a time, number, or char casting method, retrieve tiered results such as basic, detailed, or premium, and handle WeChat Pay plus result retry when payment is required. It also turns returned hexagram fields into conclusion-style explanations that are easier to display directly.

How It Works

The flow is mostly an API integration pattern:

  • Payment pre-check: verify that the Agent has the weixinpay plugin installed; otherwise prompt the user and stop.
  • Request: send a POST with parameters such as query, tier, method, and either numbers or text.
  • Payment handling: on HTTP 402, read WeixinPay-Required and X-Out-Trade-No, then call weixinpay_pay to complete payment.
  • Retry rule: after successful payment, resend the same JSON body and pass the order number in the Header.
  • Error branches: SUCCESS displays the result; NOT_PAID retries later; REFUNDED or refund failure tells the user and stops.

Scope and Caveats

It suits entertainment-oriented Q&A, divination-style advice demos, and payment plugin integration examples. It should not be used for medical, investment, legal, or high-stakes decision-making. Ensure WeChat Pay capability is available before use, and present the premium ai_reading field in full rather than reducing it to a generic conclusion.

Use Cases

  • Use a chatbot to run time-based casting, payment deduction, and result display for a user.
  • Wire a 402 payment flow, order retry, and refund notice into a divination mini-app.
  • Convert user numbers or character counts into casting requests and tiered readings.
  • Demo premium-tier ai_reading output and timing explanation in a conversation.

Best For

  • Agent engineers adding paid divination flows to conversational products
  • Integration engineers maintaining WeixinPay plugins and 402 retry logic
  • Independent developers building Plum Blossom content templates and display rules
  • Product engineers creating entertainment-oriented divination Q&A demos