Endocrinology Clinical Decision-Making Expert Panel: DSH Plugin

Introduction

The core philosophy of DeepSeek Harness (DSH) is “everything is a plugin.” When developers build agents for healthcare scenarios, they need to encapsulate specialized workflows, rule-based validation, and UI interactions into reusable modules rather than rewriting logic in every single conversation. The DSH plugin mechanism is designed precisely for this purpose—it allows developers to bundle skills, panels, and configurations into an installable package that can be loaded dynamically at runtime.

Clinical decision-making in endocrinology has unique constraints: differential diagnosis must simultaneously weigh “probability” and “consequences of missed diagnosis,” mandatory counter-evidence is required, and emergency situations demand immediate interruption of the workflow. If these rules are scattered across prompts, they become difficult to maintain and validate consistently. The endo-decision-workbench plugin introduced below was built specifically to address this class of problems.

Plugin Overview

The plugin is named endo-decision-workbench, maintained by flying-ovaltine. It is a decision workbench for endocrinologists, delivered as a DSH plugin: a left sidebar panel handles data entry, sorting, and validation, while a skill called endocrinology-decision-team handles medical judgment. The plugin does not provide a final diagnosis or prescription—it only offers analysis and pathways.

Core Features

Panel Features

After installation, an “Endocrinology Decision” panel appears in the left sidebar, containing the following modules:

  1. Case Entry: Supports chief complaint with timeline, key positives and key negatives (ruled-out directions), medications in use, and existing lab results (value + unit + assay method).
  2. Six Workflows: Outpatient Quick Decision, Complex Differential, Treatment Plan Formulation, Progress Update, Case Retrospective, and Cross-Disciplinary Co-Management. When switching workflows, only the roles actually involved are highlighted (activated on demand from a pool of eight roles).
  3. Differential Checklist: Six-column structure (Diagnosis / Supporting Evidence / Counter-Evidence / Probability / Consequences of Missed Diagnosis / Exclusion Method). Sorted by default on a dual-axis of “Probability × Consequences of Missed Diagnosis”; single-axis sorting is also available. Rows with an empty “Counter-Evidence” field are flagged in red and counted as “invalid outputs”—this is a hard validation, not a suggestion.
  4. Workup Pathway: One node per line, with branching written as “If A is positive → …”; unperformed tests are marked as “Not Assessed” and must not be treated as negative.
  5. Treatment Plan: Supports target values / drugs / dosage ranges / monitoring timepoints, with a six-tier evidence tag (Guideline Strong Recommendation, Guideline Weak Recommendation, RCT, Single-Arm Phase II, Mechanistic Inference, Deduction).
  6. Emergency Red Line: When any of the following is triggered—diabetic acute complications, severe hypoglycemia, thyroid storm, myxedema coma, adrenal crisis, pituitary apoplexy, severe hyponatremia, hypercalcemic crisis, TED optic neuropathy, or thyroid nodule compression—the panel collapses all other content and retains only a single red banner displaying three items: “What to do now / Where to send the patient / What NOT to do.”

A fixed footer at the bottom of the panel reads: “Final decision and sign-off remain the responsibility of the supervising physician.”

Skill Capabilities

The skill is named endocrinology-decision-team, employing the “Wenqu” judgment framework: nine iron rules, six-tier evidence grading, three-tier output, and a four-step evidence-checking protocol. The panel handles entry, sorting, and validation; medical judgment is delivered through skill-constrained responses.

One-Click Brief

A “Copy Case Brief” button in the top-right corner of the panel copies the structured fact packet + rule requirements to the clipboard. Paste it into the conversation and send. The conversation then generates a report following the skill’s rules; when archiving is needed, paste the conclusion back into the panel.

Installation & Activation

Install via command line:

dsh plugin --profile web add "https://github.com/flying-ovaltine/endo-decision-workbench/releases/latest/download/dsh-endo-decision-team.tgz"

Or in the DSH interface, navigate to “Plugins → Plugin Marketplace” and search for “Endocrinology” to find and install.

Typical Usage

  1. Open “Endocrinology Decision” in the left sidebar and fill in the case by field.
  2. Select a workflow, then fill in the differential checklist with Diagnosis, Supporting Evidence, Counter-Evidence, Probability, Consequences of Missed Diagnosis, and Exclusion Method. Every row must have a non-empty “Counter-Evidence” field.
  3. Click “Copy Case Brief” in the top-right corner, paste it into the conversation, and send.
  4. The conversation generates a report per the endocrinology-decision-team rules; paste the conclusion back into the panel when archiving is required.

Applicable Scenarios & Cautions

This plugin is suitable for developers who need to build endocrinology decision workflows within DSH. Before use, review the source code and license to ensure compliance with project requirements. The plugin runs under the current DSH process permissions; all medical judgments are produced by the skill, and the final decision always rests with the supervising physician.

Conclusion

endo-decision-workbench encapsulates dual-axis differential sorting, counter-evidence validation, six-tier evidence tagging, and emergency red-line interruption into a reusable plugin, enabling developers to quickly build a professional decision interface aligned with endocrinology workflows within DSH. Plugin directory: https://www.skillhub.cn/plugins/flying-ovaltine/endo-decision-workbench; GitHub: https://github.com/flying-ovaltine/endo-decision-workbench

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

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

Xiaoye