Cosmogram: A Traditional Culture Interpretation Plugin Powered by DeepSeek Harness

Introduction

The plugin ecosystem of DeepSeek Harness (DSH) allows developers to quickly augment agents with domain-specific reasoning capabilities. In the area of model inference, there has long been a persistent need: enabling large language models to understand and interpret divination and fortune-telling charts provided by users, rather than generating them from scratch. Cosmogram is a set of reading and interpretation tools designed precisely for this purpose.

What It Is

Cosmogram is a traditional culture interpretation plugin for DeepSeek Harness, bundled with a set of universal prompts that can be pasted into any large model. Maintained by JanSu0104, it covers nine systems: Zi Wei Dou Shu (Purple Star Astrology), Ba Zi (Four Pillars of Destiny), Liu Yao (Six Lines), Qi Men Dun Jia, Feng Shui, Tarot, Natal Chart (Western Astrology), Name Analysis, and Auspicious Date Selection.

It is positioned as a “reading assistant,” not a “chart calculator.” It only interprets chart materials that users have already obtained through local tools, screenshots, or third-party websites, and outputs its analysis within a fixed seven-section structure. It will not generate missing star palaces, Heavenly Stem–Earthly Branch combinations, line positions, or cards, nor will it fabricate any information.

Four Core Capabilities

The plugin comprises four core components:

  1. cosmogram skill: Loaded when an interpretation request is initiated. It carries the interpretation contract, seven structured output sections, the reading order for all nine systems, a glossary mapping technical terms to plain language, tone rules, and safety boundaries.

  2. cosmogram_cast tool: When a user provides only birth information, it requests structured charts through a “loopback chart gateway” (default http://127.0.0.1:8000, POST /calculate). It does not calculate charts on its own; before sending a request, it rejects non-local gateway URLs. It returns only the chart, the source library, and any warnings, and does not log or echo birth fields. If the gateway is unavailable, it halts and prompts the user to start the gateway, rather than falling back to third-party websites or APIs.

  3. cosmogram_intake tool: A deterministic pre-check. It takes the chart material pasted by the user and returns:
    - Status (ready or need_data) and per-system coverage (0–100);
    - Minimum elements present and missing items;
    - Structural issues that keyword checks cannot detect (e.g., a time pillar contradicting the reported clock time, a Four Pillars chart lacking the Annual Four Transformations, a changed hexagram missing its moving lines, etc.);
    - Precise follow-up questions (never guessing the chart);
    - Facts derived from the pasted content (Ba Zi Ten Gods, Hidden Stems, Five Elements weights, Clashes and Combinations, Void positions, chart houses and element distribution);
    - A skeleton for the seven output sections;
    - Topic-triggered boundary reminders (health, legal, investment, psychological, marital).

  4. cosmogram_audit tool: A post-draft check. It compares the output against the input material, flagging missing sections, absolute language, professional topics lacking boundary disclaimers, and references to star palaces, stem-branch combinations, cards, or degrees not present in the input. High-severity items must be resolved before delivery.

None of these tools contain any divination logic internally. They are checklists, lookup tables, and templates, and therefore cannot fabricate charts.

Supported Systems and Minimum Data

System Minimum Material Required
Zi Wei Dou Shu Twelve palaces (at least the Life Palace and five named palaces) + three or more primary stars + Annual Four Transformations; gender and Major Cycles enhance completeness
Ba Zi (Four Pillars) Complete Four Pillars with Heavenly Stems and Earthly Branches; gender, Major Cycles, and Annual Flow are optional enhancements
Liu Yao Original/Changed Hexagram, moving lines, Month/Day Branch or exact casting time; the question is passed separately
Qi Men Dun Jia Yin/Yang Dun and Bureau number, Eight Gates / Nine Stars / Eight Spirits / Three Wonders and Six Instruments; Chief and Commander are optional enhancements
Feng Shui Sitting/Facing direction + floor plan layout + door and functional room locations; Luo Pan degrees are optional enhancements
Tarot Spread name and position meanings + card names + upright/reversed orientation
Natal Chart Planetary placements by sign + houses (Ascendant); aspects are optional enhancements
Name Analysis Chinese characters + stroke-count rules (Simplified/Traditional) + Three Talents & Five Grids or Five Elements and character meaning
Auspicious Date Selection Intended activity + date window; parties’ information is an optional enhancement

cosmogram_intake enforces the minimum requirements and lists “needs completion” items separately, so optional details will not block the first interpretation pass.

If only a birth time is provided, the assistant will state that it does not calculate charts, list the minimum material requirements, and request supplementary information.

Installation and Activation

The plugin is a dependency-free, Host-only plugin, containing index.js, patches, language files, icons, and Markdown resources.

From the Web GUI:
1. Go to Plugins → Add plugin;
2. Select this plugin’s directory.

From an agent session:

plugin_manager({
  action: "install_bundle",
  target: "Absolute path to the local plugin directory"
})

After installation, enable the cosmogram entry (if it is disabled by default).

From the npm registry (after release):

plugin_manager({
  action: "install_bundle",
  target: "dsh-cosmogram"
})

Or paste the package name directly into Add plugin in the Web GUI.

Local directory installation creates a link; changes require a plugin reload to take effect. This operation modifies the current configuration file and affects all sessions under that configuration; to revert, remove the plugin.

Typical Usage

System: Zi Wei Dou Shu
Data source: Local chart tool
Chart: Life Palace in Wu, Zi Wei and Tian Xiang co-located; Wealth Palace with Wu Qu transforming to Lu; Career Palace with Qi Sha……
Topic: Career
Note: I've been considering a job change recently—would it be suitable?

The assistant will first call cosmogram_intake, fill in any missing data, then output the analysis in seven sections:

  1. The system in use and data source
  2. Key information summary
  3. Core interpretation
  4. Primary rationale
  5. Uncertainties or information requiring supplementation
  6. Actionable recommendations
  7. Follow-up questions the user may explore

If no chart material is provided at all, it returns a fixed request template asking the user to supply a natal chart, hexagram, card spread, or astrology chart; or to provide birth time, gender, birth location, topic, and preferred system.

Language support includes both Chinese and English; skill and tool descriptions are bilingual.

Use Cases and Caveats

This is suitable for developers and users who need a large model to “understand and interpret” traditional metaphysical charts. It is well-suited for building an agent workflow of “input chart → structured interpretation” on top of a locally deployed gateway (such as a chart calculation tool).

Before use, review the source code and license. The plugin runs with the current DSH process permissions. When sensitive topics (health, legal, investment, psychological, marital) are involved, the output will include professional boundary reminders, but it should not replace professional consultation.

Closing

Cosmogram structures the traditional culture interpretation workflow, providing DSH with a reusable set of reading and auditing capabilities, while its standalone prompt package can also be used in other large model environments. For more information or to contribute, visit:
- Plugin directory page: https://www.skillhub.cn/plugins/JanSu0104/dsh-cosmogram
- GitHub repository: https://github.com/JanSu0104/dsh-cosmogram

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye