Divination: Casting and Interpreting Hexagrams via the Coin Divination Process in an Agent

Introduction

Common practices for performing I Ching divination in conversations involve hand-writing prompts to describe three copper coins and six changing lines, or throwing coins yourself and asking the model to “improvise.” These workflows are prone to missing steps, and randomness is difficult to standardize. The “Divination” (卜卦) Skill on SkillHub integrates the casting of Money Divination (金錢卦), the generation of Primary and Changed hexagrams, and interpretation explanations into a standard SKILL. The Agent executes according to fixed rules after the user asks a question. It is marked with requires_api_key=false and does not rely on additional API keys.

What is this

“Divination” is a community-sourced life-service Skill located at @user_69608288/yjbg. The current version is 1.0.4, maintained by the publisher user_69608288.

One-sentence positioning: A Money Divination Skill based on the 64 hexagrams of the I Ching. After a user poses a question, the Skill casts a hexagram using internet-based true random numbers; it performs six consecutive rounds of throwing according to the three-coin method, arranging the six lines from bottom to top; maps the scores to Young Yin, Young Yang, Old Yin, and Old Yang to generate the Primary Hexagram and the Changed Hexagram, and provides an interpretation based on the specific question asked. It is cross-platform and requires no specific hardware.

The trigger condition in the official description is: This skill should be used when the user wants to perform I Ching coin divination.

Core Features

The following capabilities are derived from the SkillHub page and API introductions, without exceeding the publicly available descriptions.

  1. Question-Driven: Uses the specific content of the user’s inquiry as context, ensuring the subsequent interpretation corresponds to the question.
  2. True Random Casting: Uses internet-based true random numbers as the basis for throwing, avoiding the use of irreproducible “pseudo-random” generation within the conversation.
  3. Three-Coin Method for Six Lines: Performs six rounds of throwing, arranging the line positions from bottom to top, conforming to the standard operating order of Money Divination.
  4. Four Symbol Mapping: Distinguishes between Young Yin (Shao Yin), Young Yang (Shao Yang), Old Yin (Lao Yin), and Old Yang (Lao Yang) based on the scoring rules of the three coins.
  5. Primary and Changed Hexagrams: Generates the Primary Hexagram from the six-line results; derives the Changed Hexagram after the moving lines change, for variant analysis.
  6. Interpretation Output: Provides an interpretation explanation combined with the user’s specific question after the hexagram structure is determined.

The SkillHub category is life-service; the page shows a rating of 100000 and 1365 downloads (statistics are based on SkillHub and are subject to change over time).

Installation and Activation

Method 1: Let the Agent install according to official guidelines

The installation prompt provided on the SkillHub page is as follows. You can send the original text to your current AI client:

Please install `@user_69608288/yjbg` according to https://skillhub.cn/install/skillhub.md.

The Agent will follow the SkillHub Installation Documentation to check for the skillhub CLI, select the correct skills directory, and complete the installation.

Method 2: Use the skillhub CLI

If the SkillHub CLI is already installed on your machine, you must use --dir to point to the current Agent’s skills directory during installation; otherwise, it defaults to ./skills/ which may not be recognized.

command -v skillhub && skillhub --version

If the CLI is not installed, the official recommendation for a full installation is:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

To install this Skill (replace <skills directory> with the path in your current environment):

skillhub install user_69608288/yjbg --dir <skills directory>

Commonly used skills directories (excerpted from the official installation documentation):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

The tag requires_api_key=false indicates that, according to SkillHub metadata, no separate API Key configuration is needed for this Skill. After installation or update, if the client requires a restart or skills reload, follow the respective product instructions.

Typical Usage

The official materials do not provide fixed conversation scripts, but the workflow is clearly described in the introduction and can be reproduced by following these steps:

  1. In an Agent with this Skill enabled, explain in natural language that you wish to perform I Ching Money Divination, and clearly state the subject of the inquiry (e.g., a specific question regarding career, decision-making, relationships, etc.).
  2. The Agent should load @user_69608288/yjbg, execute the three-coin method for six rounds using internet true random numbers, and record the six lines from bottom to top.
  3. Classify each line as Young Yin, Young Yang, Old Yin, or Old Yang, and generate the Primary and Changed Hexagrams.
  4. Read the interpretation provided by the Agent based on your inquiry; if you need to verify the casting process, you can request it to list the results of the six rounds and the hexagram names step-by-step.

The more specific the inquiry, the better the interpretation aligns with the “subject matter”; vague questions may still result in a casting, but the interpretation tends to be generic.

Use Cases and Precautions

Who is it for

  • Users who want to perform Money Divination in Skill-supported environments like Cursor, Claude Code, or Codex, but do not want to hand-write the complete I Ching terminology and workflow every time.
  • Scenarios requiring cross-platform functionality without relying on physical copper coins or dedicated hardware, completing casting and interpretation purely through conversation.

Limitations and Precautions

  • Divination and interpretation are for cultural interest or personal reference only and should not be treated as the sole basis for decision-making; for professional matters involving law, medicine, investment, etc., consult professionals in the corresponding fields.
  • Casting relies on “internet true random numbers,” requiring the execution environment to have access to the relevant random number source; behavior in restricted network environments depends on the Agent’s actual execution.
  • The quality of interpretation depends on the underlying model and the guidelines within the Skill; outputs may vary across different clients and models.
  • Version, download count, and rating are subject to the SkillHub Skill Page; in case of inconsistency with third-party reposted data, the official page prevails.

Conclusion

“Divination” strings together Money Divination—from casting to Primary Hexagram, Changed Hexagram, and interpretation—into a reusable Agent Skill. It clarifies the steps of inquiry, randomness, and six-line mapping in one go, and requires no API Key. Install using the official prompt or skillhub install user_69608288/yjbg --dir <skills directory>.

  • SkillHub Page: https://www.skillhub.cn/skills/user_69608288/yjbg
  • API Resource URL: https://api.skillhub.cn/user_69608288/yjbg
  • Installation Instructions: https://skillhub.cn/install/skillhub.md
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye