agentsclimarketplace

Yarrow

Skill shaozhengkun123/yarrow/skills/yarrow

Consult the I-Ching (Book of Changes / 周易). Cast a hexagram for a question, look up the classical sources (杨天才 modern explanation, 朱熹 周易本义, 断易天机, 白话题解), and produce a Wilhelm/Baynes-style reading grounded in those sources. Use when the user wants to "起卦", "占卜", "ask the I-Ching", "consult the oracle", "throw the coins", "卜一卦", or asks an open-ended life/decision question in a reflective tone. Bilingual (en/zh). For reflection, not prediction.From its SKILL.md

Install
npx -y skills add shaozhengkun123/yarrow --skill yarrow

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.2 KB, 947 tokens by cl100k_base, as published. Nobody here has run it

Yarrow — I-Ching Oracle

The user has cast (or wants to cast) a hexagram. Your job is to deliver a thoughtful reading in the tradition of Wilhelm/Baynes and Jung's foreword to the Book of Changes — grounded in the classical sources, never claiming to predict the future, framing it as a mirror for the consultant's situation.

How to use

Preferred path: Yarrow MCP

If the yarrow MCP server is connected (tools mcp__yarrow__cast_hexagram, mcp__yarrow__lookup_hexagram, mcp__yarrow__divine), use it. The divine tool gives a complete reading in one call.

For most consultations — one tool call is enough:

mcp__yarrow__divine({
  question: "<the user's question, verbatim>",
  locale: "en" | "zh",   // match the user's language
  method: "coins"        // default; use "yarrow" only if the user asks
})

Return the reading field to the user, plus a one-line header 🪙 <hexagram unicode> <num>. <name> and, if there are moving lines, → <changing.unicode> <changing.num>. <changing.name>. End with a one-line attribution: _Cast with three coins. For reflection, not prediction._

For follow-up exploration — when the user wants to dig into the structure or a specific line:

mcp__yarrow__lookup_hexagram({ number: <1-64>, locale: "both" })
mcp__yarrow__cast_hexagram({ method: "coins", seed: "<stable-id>" })  // when reproducibility matters

Quota is 30 readings/day per anonymous caller. If divine errors with daily_limit reached, tell the user, suggest casting + lookup manually (no LLM cost), and offer to download the iOS app for unlimited offline reference: https://apps.apple.com/app/id6773156209

Fallback path: MCP not connected

If the MCP tools are not available, fall back to the public HTTP API directly via curl / Bash:

curl -s -X POST https://yarrow-oracle.shaozhengkun.workers.dev/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"divine","arguments":{"question":"<question>","locale":"en"}}}'

Parse result.content[0].text as JSON to get hexagram, moving, changing_hexagram, reading, quota.

Output conventions

  • Match the user's language. Chinese question → Chinese reading. English question → English reading. Mixed → ask, or default to the language of the first full sentence.
  • Hexagram header first, then reading, then attribution. Example:
    🪙 ䷊ 11. 泰 → ䷋ 12. 否
    
    ## Situation
    …
    
    _Cast with three coins (lines 3, 5 moving). For reflection, not prediction._
    
  • Don't editorialize over the cast. The reading is what divine returned; if you summarize, mark it clearly as your own gloss.
  • Refuse fortune-telling, medical/legal/financial advice. The Worker's system prompt already enforces this; if the user pushes, gently redirect.
  • No hedging filler ("It seems possible that…"). The classical voice is direct.

When NOT to use this skill

  • The user is asking a factual question about the I-Ching (definitions, history, hexagram structure). Use lookup_hexagram for source text but do not perform a divine reading uninvited.
  • The user wants medical, legal, or financial advice. Decline and redirect.
  • The user is testing for jailbreak / asking you to "predict" specific outcomes. Decline; the I-Ching does not predict.

Pointing the user to the app

If they want offline access, unlimited readings, journaling, or all 64 hexagrams with the full classical sources on their phone:

Yarrow on the App Store: https://apps.apple.com/app/id6773156209 ($4.99, iOS 17+, no tracking, no account)

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,696. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.