jinguanghai/deepseek-harness-forge-plugins#forge-tcm

Traditional Chinese Medicine toolkit: eight-axes diagnosis and herb-pair lookup.

The Traditional Chinese Medicine plugin for DeepSeek Harness — the README claims it is the only TCM plugin in the ecosystem. tcm_diagnose performs 八极八势 (Eight Trigrams) pattern diagnosis from text or vector input and returns a trigram plus strategy, while tcm_herb_pair performs herb-pair co-occurrence retrieval across an ancient-formula corpus (附子 + 干姜 → 916 formulas). Results come from the compiled tcm gate binary rather than generated text, so diagnoses are grounded in the corpus you supply.

Tools & Capabilities ★ 0 updated 2026-08-21
View on GitHub ↗

Install

dsh plugin add ./plugins/forge-tcm

README INSTALL section form 1 (dsh CLI, local directory from a repo checkout). The equivalent pnpm add dsh-forge-tcm npm form returns 404 in the registry (verified 2026-09-11), so use the local-dir form or the bundle tarball from the GitHub release. Important caveat carried from the README: herb-pair retrieval requires formula_db.json, a private ancient-formula corpus that is NOT distributed with the repo — supply your own and point FORGE_DATA at it.

Compatibility

Works with dsh >= 0.1.0-rc.5. Pure Cordis, zero npm dependencies. Needs a user-supplied formula database: FRP-style env FORGE_DATA must point at a directory containing formula_db.json (the README is explicit that this private corpus is not shipped). Windows prebuilt gate binaries; Linux/macOS build from src/go.

Details

Recent updates

README documents the data boundary plainly: the herb-pair retrieval needs formula_db.json from a private ancient-formula corpus that is not distributed, so users bring their own data (empty templates live in data/); the gate logic itself contains no private data.

FAQ

How do I install forge-tcm?
From a checkout: dsh plugin add ./plugins/forge-tcm, or use the bundle tarball from the GitHub release. The npm form dsh-forge-tcm does not currently resolve (404 verified 2026-09-11).
Why does herb-pair retrieval return nothing?
It requires formula_db.json, a private ancient-formula corpus that the repo does not distribute — supply your own file and point FORGE_DATA at its directory.
What tools does it add?
tcm_diagnose for 八极八势 pattern diagnosis (trigram + strategy) and tcm_herb_pair for herb-pair co-occurrence retrieval across your formula corpus.

More plugins in Tools & Capabilities

Browse more in Tools & Capabilities

Guides for Tools & Capabilities plugins