qimen-expert

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

A Chinese Qi Men Dun Jia adviser that creates and interprets time-based divination charts. It uses nine areas, doors, stars, symbols, and chart patterns to discuss likely conditions, strategies, directions, timing, and date selection.

In plain words
What is it for?
Use it for one-off questions about strategy, negotiation timing, direction, favorable dates, and follow-up questions based on the same chart.
Why use it?
It provides a repeatable, rule-based reading with traceable reasons rather than inventing a chart or giving an ungrounded answer. It is presented as traditional culture, not medical, legal, or investment advice.

Agent for Claude Code

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

Good fit Use it for one-off questions about strategy, negotiation timing, direction, favorable dates, and follow-up questions based on the same chart.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/ml8s/liki/qimen-expert"><img src="https://agentmods.dev/badge/agents/ml8s/liki/qimen-expert.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 561 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.00561
Opus 5.5 $0.00017 $0.00224
Sonnet 5.5 $0.00009 $0.00112
Haiku 4.5 $0.00004 $0.00056

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

Security

Grade A, and why

qimen-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-qimen/agents/qimen-expert.md · 52 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 599500129018
  2. 6d ago Changed · +3 lines e189dc4dbb37
  3. 7d ago First seen · 30 lines · 43 tokens per session scan A 8b5db952fe78

Subscribe to this mod's changes

qimen-expert 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 561 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-09.