Preface¶
DeepSeek Harness (DSH) bundles conversations, tools, and extensions into a single client; community plugins can attach panels near the input area and inject structured cards into conversations. If your concern is “casting a hexagram based on the question asked, drawing a clear Najia (纳甲) chart, and then letting the model interpret it using the Six Lines (六爻) method,” hand-assembling prompts and manually constructing hexagrams is tedious, and there is no local archive of hexagram cases.
The following introduces the community plugin dsh-liuyao (maintainer lctfwyt, categorized under Model Inference on SkillHub): it provides a “Six Lines Hexagram Casting” panel above the Harness input box, completing the Three Coins method line determination and the Najia hexagram construction in one click. Interpretation is handled via AI conversation, the hexagram chart remains in the conversation as a card, and history is written to a local hexagram case library.
What Is This¶
dsh-liuyao is a Six Lines (Najia divination) plugin for DeepSeek Harness: write down what you are asking, click “Cast Hexagram”, then click “Ask for Interpretation”, and the model will interpret it step by step following traditional rules. Source code and documentation are at GitHub: lctfwyt/dsh-liuyao; catalog page: SkillHub Plugin Page.
The npm package name and plugin ID are both dsh-liuyao (version 0.2.1 in current materials, license MIT). Panel text is currently in Chinese; the model’s response language follows the language of your question. Plugin disclaimer: for traditional cultural reference purposes only; does not constitute decision-making, legal, investment, or medical advice.
Core Features¶
The capabilities explicitly stated in the materials are as follows.
| Feature | Description |
|---|---|
| One-click Hexagram Casting | Completes six lines with a single click; based on the Three Coins method (three tails = old yang, three heads = old yin, etc.), using the system cryptographic random source, not a pseudo-random toy |
| Najia Hexagram Construction | Generates a standard Six Lines chart: Six Spirits, Six Relations, Shi/Ying, moving lines, transformed hexagram, etc. |
| AI Interpretation | “Ask for Interpretation” sends the question and hexagram into the conversation; you can also directly ask the AI to cast or construct hexagrams in chat |
| Hexagram Chart Cards | Hexagrams are rendered as Six Lines chart cards in the conversation |
| Hexagram Case Library | The panel’s “Cases” page saves history in reverse chronological order; viewable and deletable; data stored locally at liuyao/cases.json, not uploaded |
| Division of Casting and Interpretation | Casting is done locally; interpretation requires a model connection and consumes one AI conversation |
Installation and Activation¶
Prerequisite: DeepSeek Harness is already installed. The plugin runs with the current dsh process permissions; before installation, it is recommended to review the source code and LICENSE on GitHub and confirm you accept them before adding.
Graphical Interface¶
In Harness Sidebar → Plugins → Add Plugin, choose one of the following:
dsh-liuyao
Or reference from GitHub:
github:lctfwyt/dsh-liuyao
To specify a version, append a tag, e.g.:
github:lctfwyt/dsh-liuyao#v0.2.1
Command Line¶
--profile must match the client in use: desktop for the desktop version, web for the web version started via dsh web; if written incorrectly, it usually doesn’t error, but the plugin will not load in that client.
# Desktop version
dsh plugin --profile desktop add dsh-liuyao
# dsh web version
dsh plugin --profile web add dsh-liuyao
When installing from GitHub, simply replace dsh-liuyao with github:lctfwyt/dsh-liuyao.
Panel Not Visible After Installation¶
- Desktop version: completely exit and restart DeepSeek Harness (no page refresh).
- Web version: press F5 to refresh first; if still no panel, restart
dsh web. - The panel is collapsed by default in a row above the input box labeled
▸ Six Lines Hexagram Casting; do not only look in the chat area.
Uninstall: remove from the plugin page and restart; or dsh plugin --profile desktop remove dsh-liuyao. Uninstalling does not delete hexagram cases; back up liuyao/cases.json yourself if needed.
Typical Usage¶
Panel Casting (Recommended)¶
- Click
▸ Six Lines Hexagram Castingto expand the panel. - Write the specific question in the input box, e.g., “Will changing jobs in the second half of this year succeed?”; if the question is empty and you click “Cast Hexagram”, it will prompt “Please write down your question first”.
- Click “Cast Hexagram” to display the original and transformed hexagrams.
- Click “Ask for Interpretation”, and the AI will interpret in the conversation. Use “Recast” to cast another hexagram.
Casting in Conversation¶
You can directly say:
Help me cast a hexagram, asking about this year’s fortune
If you already have line values (from line 1 to line 6, e.g., 6/7/8/9):
I shook 9 7 8 9 8 7 (line 1 to line 6), asking whether it’s suitable to change cities next year, help me construct and interpret the hexagram
Reviewing Hexagram Cases¶
Expand the panel, switch to the “Cases” page, click an entry to view the complete hexagram chart, and delete it at the top right.
Questioning Tips (README guidance)¶
Traditional Six Lines divination emphasizes “one matter, one reading”: ask only one thing at a time; questions should be specific and include time or target; avoid repeatedly casting hexagrams for the same matter.
Suitable Scenarios and Notes¶
Suitable for: users who already use models daily in DSH and want to integrate Six Lines casting, hexagram construction, interpretation, and case archiving into the same workflow; SkillHub categorizes it under Model Inference, and interpretation depends on the model rather than a purely local rule engine.
Notes:
- Hexagram results are random each time; repeatedly casting for the same question is meaningless.
- Hexagram cases are stored only in the local Harness data directory; interpretation requires an available online model.
- The community catalog SkillHub has no official affiliation with DeepSeek / Huanfang; this plugin is community-maintained (GitHub lctfwyt/dsh-liuyao, star count 0 as of material capture).
- Development environment requires Node >= 22 (see package.json
engines).
Hexagram chart fields (original/transformed hexagrams, Shi/Ying, Six Relations, moving lines, month branch and day branch, void branches, hidden lines, etc.) can be cross-referenced in the README section “How to Read a Hexagram Chart”; technical terms are explained by the AI in combination with card fields.
Conclusion¶
dsh-liuyao strings together “write question → Three Coins line determination → Najia chart → AI interpretation → local case archiving” into a one-row panel operation in Harness, eliminating the need to hand-write hexagram construction prompts and manually record hexagrams.
- Catalog page: https://www.skillhub.cn/plugins/lctfwyt/dsh-liuyao
- Source code and issue feedback: https://github.com/lctfwyt/dsh-liuyao