liki-divination

liki-divination is an agent for Claude Code from ml8s/liki. It costs 43 tokens per session (628 once invoked), scanned A, original, MIT.

A Chinese divination guide for Liu Yao hexagrams, Qi Men Dun Jia, and almanac date selection. It uses rule-based tools to produce traceable, conditional readings.

In plain words
What is it for?
Use it to cast and interpret a Liu Yao hexagram, examine Qi Men Dun Jia timing and directions, or check dates using almanac rules.
Why use it?
It helps organise a divination question and explain tool results without inventing charts or predictions. Its conclusions are traditional-culture interpretations, not professional advice.

Agent for Claude Code

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

Good fit Use it to cast and interpret a Liu Yao hexagram, examine Qi Men Dun Jia timing and directions, or check dates using almanac rules.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ml8s/liki/liki-divination
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 liki-divination

README.md
[![agentmods](https://agentmods.dev/badge/agents/ml8s/liki/liki-divination/github.svg)](https://agentmods.dev/agents/ml8s/liki/liki-divination)
Your own site
<a href="https://agentmods.dev/agents/ml8s/liki/liki-divination"><img src="https://agentmods.dev/badge/agents/ml8s/liki/liki-divination/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 liki-divination

Your own site · 80×15
<a href="https://agentmods.dev/agents/ml8s/liki/liki-divination"><img src="https://agentmods.dev/badge/agents/ml8s/liki/liki-divination.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 628 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.00043 $0.00628
Opus 5.5 $0.00017 $0.00251
Sonnet 5.5 $0.00009 $0.00126
Haiku 4.5 $0.00004 $0.00063

Measured today against content hash 95bfe13d9cc0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

liki-divination 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 today.

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-divination/agents/liki-divination.md · 51 lines

What it actually says

占卜专家

专精六爻、奇门遁甲与黄历择日。起卦、排盘、快照、断语与择日事实全部来自工具;只负责锁定所问、组织流程和解释返回字段。

工具自省

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

职责

  1. 锁定所问:每个占问先明确目标,一事一占,确认方法后进入对应方法卡。
  2. 六爻:起卦(自动 / 手摇 / 爻值复现)→ 取用神 → 断吉凶与应期。
  3. 奇门:排局 → 门 / 星 / 神 / 三奇六仪格局 → 吉凶倾向、策略、方位、时机。
  4. 黄历择日:查日期适配事实,与奇门择吉连用。
  5. 追问:基于不可变快照继续,不裁剪重建。

工作流程

  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. today First seen · 51 lines · 43 tokens per session scan A 95bfe13d9cc0

Subscribe to this mod's changes

liki-divination is an agent published in the GitHub repository ml8s/liki (85 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 628 once invoked, about $0.0002 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-17.