Introduction¶
DeepSeek Harness (DSH) supports capability extension through plugins. Model inference plugins typically handle math, logic, or knowledge retrieval. If you want to bring traditional destiny analysis into the DSH toolchain, you need a component that can generate charts, interpret them, and interact with the model.
dsh-bazi is a Four Pillars of Destiny (Bazi) plugin for DSH with a built-in bazi skill. It accepts birth information or known Four Pillars, and generates the destiny chart, overall readings across twelve life dimensions, year-by-year analysis, and a life trajectory chart.
Plugin Info¶
- Plugin Name: dsh-bazi
- Maintainer: wishprophet
- Repository: https://github.com/wishprophet/dshbazi
- Directory Page: https://www.skillhub.cn/plugins/wishprophet/dshbazi
- Category: Model Inference
- Version: 0.1.7
- License: MIT
Core Capabilities¶
The plugin provides three tools and one built-in skill:
bazi_reading: Accepts birth information or Four Pillars, returns a chart summary, twelve-dimension overview, one-line annual overview, and up to five years of scenario previews, and returns areportId.bazi_years: Based on an existingreportId, performs detailed analysis of a specified year range (up to ten years per batch), returning specific scenarios, supporting evidence, and a monthly luck summary.bazi_report: Renders the cached original report as HTML/Markdown text, for scenarios requiring the full report.baziskill: Built-in skill, directly usable in conversations.
The chart uses a Zhouyi University-style table layout with linked Major Luck, Annual Luck, and monthly/daily columns. Annual readings cover twelve dimensions; monthly luck lists only key months rather than scoring each month individually. The life trajectory chart uses a continuous annual line, consistent with the annual scores in the report.
Chart Source & Local Computation¶
The plugin provides three chart sources:
auto: Attempts Zhouyi University chart generation first (no login required, charts not saved), falls back to local computation on failure, and records the source and reason in the raw JSON.local: Uses a locked version oflunar-javascriptfor local computation; birth information is not sent to any third-party website.website: Explicitly requires the website source; a local failure cannot be misrepresented as a successful website result.
Report Content¶
The report begins with the natal chart table and a one-line reading following the bone-weight comment, then presents a Major Luck / Annual Luck / monthly-daily reference table. This is followed by the overall assessment, twelve-dimension readings, and the life trajectory. The body text does not require readers to understand “pattern candidates,” rule numbers, calculation methodologies, or algorithm versions; a brief note is added only when missing data or material conflicts affect the result.
The life trajectory chart uses a continuous annual line, consistent with the annual scores in the report. The raw JSON still retains the full chart, source, evidence, internal notes, OHLC, and monthly data; if you specifically ask for the basis of a reading, these materials can be further expanded.
Installation¶
The plugin targets DSH >=0.2.2-rc.1 <0.3.0-0 and requires Node.js 22+.
Web Profile Installation¶
dsh plugin --profile web add "github:wishprophet/dshbazi#v0.1.7"
Desktop Installation¶
dsh plugin --profile desktop add "github:wishprophet/dshbazi#v0.1.7"
After installation, send the following in a DSH session:
Use the bazi skill. Name: Example Jia, Male, birthplace: Chongqing, solar calendar June 15, 1990, 09:30. Use local algorithm for chart generation first, then discuss the overall situation and the twelve life dimensions. Do a detailed reading for 2026–2030. In 2026, I’m working in corporate project management, married, and considering an internal promotion. Please explain the main events of each year in plain, understandable language, and end with the life trajectory chart.
Local Usage¶
In the project directory, run:
npm ci
npm test
npm run demo
The demo uses a fictional case with local computation; output is located in reports/example/:
chart.json: Normalized destiny chartreport.json: Full structured report with sourcereport.md: Overall assessment, twelve dimensions, and year-by-year life readingsreport.html: Readable chart report with continuous annual line graph
Use your own input file:
node src/cli.js --input examples/solar.json --provider auto --out reports/my-reading
Or pass parameters directly:
node src/cli.js --date 1990-06-15 --time 09:30 --calendar solar --gender male --name "示例甲" --location "重庆" --provider local --out reports/my-reading
If you already know the Four Pillars, you can input them directly:
node src/cli.js --pillars "甲子 丙寅 戊辰 庚申" --gender male --birth-year 1984 --provider local --out reports/pillars
Input Reference¶
The basic input is a JSON object. The example does not correspond to a real person:
{
"name": "示例甲",
"gender": "male",
"location": "重庆",
"calendar": "solar",
"date": "1990-06-15",
"time": "09:30",
"startYear": 2026,
"endYear": 2035,
"context": {
"occupation": "企业项目管理",
"relationship": "已婚",
"plans": "考虑内部竞聘,暂无搬迁计划"
}
}
name: Name or title;location: Birthplace. Location text alone does not guarantee True Solar Time conversion.calendar:solar(Gregorian),lunar(Chinese lunar calendar), orpillars(known Four Pillars).time:HH:mm, currently processed as China Standard Time; overseas births, daylight saving time, True Solar Time, or day-boundary conventions require prior verification.gender:maleorfemale, used for traditional forward/reverse luck cycle parameters.- For
pillarsmode, pass{ "year": "甲子", "month": "丙寅", "day": "戊辰", "hour": "庚申" }. The system does not attempt to guess a unique birth date from the Four Pillars. contextshould only contain actual circumstances; leave it empty if not provided. The model must not present background facts as prophetic hits.- Context applies only to the
contextYear; if omitted, the current Beijing time year is used by default. For reviewing past events, specify the relevant year. Do not carry the current occupation or relationship status into adjacent years or across a person’s entire life. startYearandendYearcontrol the annual report range. It is recommended to analyze the near-term ten years first to avoid feeding a large number of years into the model context at once.
Notes¶
- The plugin declares compatibility with DSH
>=0.2.2-rc.1 <0.3.0-0. Verify your actual version with--versionbefore installing. - The plugin runs with the current DSH process privileges. Review the source code and license before installing.
- The plugin does not log into third-party website accounts or operate saved chart records; this does not mean third-party servers have no request logs.
- Report content is based on traditional destiny logic and should not be treated as scientific prediction.
- Full file output uses the project CLI; a native DSH Client dashboard is not currently included.
Ecosystem Context¶
DSH’s philosophy is “everything is a plugin.” The community directory is an independent site with no official affiliation to DeepSeek or High-Flyer.