hezhongtang/dsh-capability-optimizer ↗★ 1
dsh-capability-optimizer
External-expert consultation for DeepSeek Harness: headlessly invokes Claude Code through explicit advisor / reviewer / designer / custom role contracts and returns structured reference answers for the agent to weigh. · DSH 外部专家咨询:通过明确的 advisor / reviewer / designer / 自定义角色合同 headless 调用 Claude Code,返回供 agent 权衡的结构化参考答案。
インストール
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hezhongtang/dsh-capability-optimizerドキュメント
README 全文を読む ↗Usage
Ask your agent:
"consult the reviewer on this diff before we call it done"
The agent picks the role and calls consult_expert. For a precise task it can send a structured brief: trusted objective, successCriteria, and constraints, plus currentAttempt, artifacts, verification, and unknowns, which are explicitly labeled untrusted evidence. Legacy context remains an artifact shorthand. Claude's role-specific envelope returns with model, turns, duration, cost, and protocol metadata.
| Tool | Read/Write | Purpose |
|---|---|---|
consult_expert | read* | One role, one question, optional structured brief (or legacy context), optional model / effort overrides |
consult_panel | read* | Several distinct role contracts on one brief, in parallel; this is not a majority vote |
consult_roles | read | Live roster including outputKind, role-level model/effort, and global defaults |
* Read-only for your workspace; each call spends your Claude subscription quota — the tool descriptions themselves tell the model to batch material instead of machine-gunning calls.