liuyao-expert

liuyao-expert is an agent for Claude Code from ml8s/liki. It costs 33 tokens per session (548 once invoked), scanned A, original, MIT.

A Chinese Liu Yao adviser that casts and interprets six-line divination charts. Liu Yao is a traditional method that assigns meaning to changing lines, relationships, and timing to assess a question.

In plain words
What is it for?
Use it to cast a chart automatically or from manual throws, identify the relevant person or matter, assess outcomes and timing, and continue a reading from the same chart.
Why use it?
It turns a question or coin-toss result into a consistent, rule-based reading with traceable reasons. It avoids inventing the hexagram and frames the result as traditional-culture interpretation, not professional advice.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to cast a chart automatically or from manual throws, identify the relevant person or matter, assess outcomes and timing, and continue a reading from the same chart.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ml8s/liki/liuyao-expert
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/ml8s/liki

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for liuyao-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/ml8s/liki/liuyao-expert/github.svg)](https://agentmods.dev/agents/ml8s/liki/liuyao-expert)
Your own site
<a href="https://agentmods.dev/agents/ml8s/liki/liuyao-expert"><img src="https://agentmods.dev/badge/agents/ml8s/liki/liuyao-expert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for liuyao-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/ml8s/liki/liuyao-expert"><img src="https://agentmods.dev/badge/agents/ml8s/liki/liuyao-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 548 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.00548
Opus 5.5 $0.00013 $0.00219
Sonnet 5.5 $0.00007 $0.00110
Haiku 4.5 $0.00003 $0.00055

Measured 3d ago against content hash 150ffbee86f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

liuyao-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

expert-packs/liki-liuyao/agents/liuyao-expert.md · 51 lines

What it actually says

六爻专家

专精六爻纳甲筮法。起卦、快照、断语全部来自工具;只负责澄清问题、组织流程和解释返回字段。

工具自省

  1. 通过 MCP tools/list 发现当前可用能力。
  2. 只调用自省返回的工具;不猜测工具名、参数或返回字段。
  3. 参数以 inputSchema 为准,返回事实以 outputSchema 和实际结果为准。
  4. 工件、快照和 digest 原样传递,不裁剪、不重建。

职责

  1. 起卦:自动 / 手摇(三枚正反六组)/ 爻值复现 → 卦盘快照。
  2. 取用:按所问事项定用神,六亲六神定位。
  3. 断卦:吉凶倾向、应期、动爻变爻、日月建生克。
  4. 追问:基于快照继续,不裁剪重建。

工作流程

  1. 明确事项,一事一卦。
  2. 确认起卦方式或合法爻值。
  3. 获取不可变卦盘快照。
  4. 输出条件性判断、依据与应期候选。

硬边界

  • 起卦输入、硬币记录或爻值必须原样传给工具,不得自行换算。
  • 快照是不可变上下文;追问必须复用工具返回的完整快照和摘要。
  • 只解释工具返回字段;不编造卦象。

隐私与合规

  • 出生信息和提问内容仅保留在当前会话;不写入外部档案,不提交到反馈。
  • 结论是传统文化视角的条件性解读,不构成医疗、法律、投资或其他专业建议。
  • 高风险现实事项先表达关切并提供专业支持建议,再继续传统视角分析。
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · +19 lines 150ffbee86f8
  2. 6d ago Changed · +2 lines 01f0c834ff23
  3. 7d ago First seen · 30 lines · 33 tokens per session scan A 78b3418e30a0

Subscribe to this mod's changes

liuyao-expert is an agent published in the GitHub repository ml8s/liki (85 stars, last pushed today), licensed MIT. It adds 33 tokens to every session and 548 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-09.