dsh-ziwei-doushu: A Zi Wei Dou Shu Charting Sidebar for DeepSeek Harness
huyuanxin/dsh-ziwei-doushu
A DeepSeek Harness plugin for Zi Wei Dou Shu: manage birth profiles, cast charts with iztro, browse horoscope history, and let the agent analyze and save readings.
dsh-ziwei-doushu is a Zi Wei Dou Shu workbench plugin for DeepSeek Harness that gathers people profiles, local chart casting, and fortune queries into one sidebar panel. It removes the hassle of splitting birth-data conversion, manual charting, and fortune lookups across separate tools, so entering a birth date yields a full chart plus six-layer horoscope data. Its capabilities cover solar and lunar entry with leap months and a side-by-side calendar preview, true solar time correction, a 4×4 grid of twelve palaces, layered cards from decade down to hourly limits with a year timeline, and an AI analysis entry that places chart-reading tasks into a session draft.
How to Install
dsh plugin --profile <your-profile> add dsh-ziweidoushuReplace --profile with the profile name you actually run (see ls ~/.dsh/profiles/): usually web in the browser UI, desktop or desktop-NNN in the desktop app.
- Category
- Tools & Capabilities
- Platform
- DSH Plugin
- Author
- huyuanxin
- Distribution
- Plugin
dsh-ziwei-doushu Key Features
dsh-ziwei-doushu Repo Summary
What Does It Do?
Zi Wei Dou Shu Workbench is a DSH plugin for DeepSeek Harness that combines people-profile management, local iztro chart casting, and horoscope queries in one sidebar workbench. It solves the problem of scattering birth-data entry, calendar conversion, and fortune lookups across separate tools, letting you enter a birth date inside DSH and get a full chart plus six-layer horoscope data. Maintained by huyuanxin under the MIT license, it is an ESM bundle that exports apply(ctx) and ships both Host services and Agent tools alongside a browser sidebar panel.
Core Features
- People profiles: adding a person requires name, gender, birth date, and birth hour; records persist to disk and support editing, deletion, and confirmation, with solar or lunar (including leap month) birth dates and a live solar/lunar comparison preview.
- One chart per person: the chart is uniquely determined by birth data, generated and saved on first view, and recalculated automatically after birth-data edits; a 4×4 grid of 12 palaces shows major stars with brightness and four transformations, minor stars, decade and yearly limits, and the four pillars and five-element bureau.
- Six-layer horoscope: decade, yearly, monthly, daily, and hourly layers are rendered as stacked cards with a horizontal year timeline, and missing data shows placeholders instead of blank rows.
- True solar time: optionally enable true solar time and pick a birth region from 337 cities with coordinates; longitude correction and the equation of time adjust both date and hour, and the profile keeps both entered and corrected values.
- One-click AI analysis: analysis buttons on the history list and horoscope detail page place a task description into a new session draft without sending it; no JSON is put in the conversation, and Agent tools fetch and return a formatted plain-language summary.
- Built-in skill pack: lecture material becomes a DSH skill whose SKILL.md holds only the methodology skeleton, with reference documents read on demand when the model needs to interpret a chart.
How to Use This Plugin?
After enabling it in the DSH web profile, a Zi Wei Dou Shu entry appears in the left sidebar, with a people list on the left and a tabbed detail area on the right. Start by adding a person's birth data in the people panel (enable true solar time and pick a region when precise casting matters), then open the chart tab to view the chart or copy its JSON. For fortune queries, use the today, tomorrow, next N years, or custom start-date buttons to create horoscope records, then open a record to see the six-layer cards and year timeline. Click the analysis button to create a session draft, and the model's result is written back to that record with a version number. Profiles, charts, and horoscope records stay in the plugin data directory, which can be overridden by an environment variable, and no external services are contacted.
How to Troubleshoot This Plugin?
If the plugin fails to load, first check the profile in use and the DSH version, then use the config dump command to verify the merged configuration includes the plugin. DeepSeek Harness is in developer preview and its interfaces may change between versions; fix according to the official instructions.
This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: huyuanxin/dsh-ziwei-doushu. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.
DSH Plugin FAQ
