# Yi Jing Oracle

> Authentic Yi Jing oracle using the 50-stalk yarrow method and canonical corpus for grounded divination.

Yi Jing Oracle is a paid AI agent skill on Agensi by Aletheus. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $19 (one-time purchase)
- Creator: [Aletheus](https://www.agensi.io/creators/cecil-edward-harwell)
- Version: 1.0
- Last updated: 2026-10-15
- Security: scan passed (2026-04-13); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/yi-jing-oracle
- Tags: divination, philosophy, python, yi-jing

## About this skill

### Overview

The Yi Jing Oracle is a high-fidelity Python implementation of the traditional 50-stalk yarrow method (蓍草法). Unlike simple random number generators or three-coin coin tosses, this skill emulates the authentic stochastic process and line-probability asymmetries (老陰, 少陽, 少陰, 老陽) defined in the 繫辭上傳 (Xici Zhuan).

### What it does

This skill provides a suite of tools for authentic Chinese divination and scholarship. It performs the 18-step stochastic division process to cast hexagrams, looks up King Wen sequence data, and retrieves grounded source texts from the canonical corpus.

- **yijing_cast:** Executes the full yarrow procedure using hardware entropy to generate primary and relating hexagrams.

- **yijing_lookup:** Provides instant access to any of the 64 hexagrams by their traditional index.

- **Ground Truth:** Returns the specific interpretive apparatus (卦辭, 彖, 大象, and 爻辭) relevant only to the current cast.

- **Trigram Tables:** Accesses the 八卦 (Bagua) meanings, virtues, and familial roles.

### Why use this skill?

For developers and users seeking an oracle that respects traditional epistemic claims, this skill bridges the gap between ancient ritual and modern computation. It treats divination as a structural snapshot of a situation and is ideal for strategic reflection, philosophical inquiry, or any context where qualitative decision-making requires a non-linear perspective grounded in a coherent historically faithful symbolic system.

## Requires

- Python

## Known limitations

This system is a sparce priming representation of the original chinese yi jing classic and the traditional commentary that arose around it. For model interpretability, a broad sparce priming survey, primitive and operational set, and an ontology actually drive the agents reasoning over it's own training data. the original works are included for citation, but the cast only fetches what is needed for interpretation.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Yi Jing Oracle skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does the yarrow stalk method differ from a typical random coin toss generator?

Unlike standard digital oracles that use 50/50 coin-flip logic, this skill uses a Python-based yarrow stalk simulation (18 changes) which maintains the authentic, asymmetrical probabilities for 'old' and 'young' lines.

### What specific data and tools are included in this skill purchase?

The skill includes the full 18-step casting mechanism, a lookup library for the 64 hexagrams, and the complete canonical source texts including the Gua Ci, Tuan, Da Xiang, and Yao Ci.

### How does this skill help an AI agent provide more accurate divination readings?

By providing structured, grounded source texts and precise hexagram data via API, this skill allows an AI agent to offer interpretations rooted in the actual Ming/Zhou dynasty corpus rather than hallucinating vague fortunes.

### Which AI agents or platforms can I use this skill with?

This skill provides structured JSON outputs of hexagram data and text, making it compatible with any LLM or AI agent platform that supports Python tool integration or external API calls.

### Does the oracle support 'moving lines' and the generation of relating hexagrams?

Yes, the skill provides both the Primary Hexagram (the current situation) and the Relating Hexagram (the potential transformation), along with the specific changing lines (Moving Lines) identified during the cast.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
