nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:097794/dsh-subagent-model-notes
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Per-model notes for subagent delegation in DeepSeek Harness (DSH): a settings page beside the official Subagent page, and the same notes injected into the delegating agent's system prompt so it can pick the child model you planned.
Settings → Plugins → Built-in plugin settings → Subagent model notes
DSH lets you authorize an exact list of provider/model routes for child agents (subagent-model-selection-settings), and exposes list_subagent_models so the agent can discover them. But the authorized routes are only { provider, model } pairs: there is no per-model description anywhere, and the model catalog carries no description for pi-ai providers. The delegating agent sees names and route ids — it has no idea when one model is the right choice.
This plugin adds that missing layer:
Requires a DSH build with the plugin system (dsh.bundle + client modules), e.g. DSH 0.2.1-rc.2 desktop.
install_bundle with the absolute path of this folder.The bundle adds one row (subagent-model-notes) with a volatile notes config and the browser page that edits it.
Rows are marked:
| Mark | Meaning |
|---|---|
| Authorized | The route is in the current Subagent allowlist; its note will reach the agent. |
| Not authorized for subagents | The note is stored, but has no effect until you authorize the route. |
| Not in the current catalog | The model is temporarily unavailable; its note is retained. |
Host half (lib/index.js + lib/prompt.js)
system-prompt/assemble waterfall listener; runs for every agent.subagentModelSelectionPolicy written by @deepseek-ai/dsh-tool-subagent. No policy means subagent model selection is off for that Session, and the plugin does nothing.list_subagent_models, then inserts a subagent-model-notes section after its guideline section. The section uses interpolate: false, so note text is literal (a {{...}} in a note cannot break the prompt).lib/prompt.js and is tested without a harness.Browser half (lib/client.js)
plugins.item page (order: 11, right after the official Subagent page).notes config through ctx.configForms, the same revision-fenced settings transport the official settings pages use.ctx.remote.session.modelCatalog() and reads the official allowlist through the subagent-model-selection-settings namespace, so the page always shows what the agent can actually choose.system-prompt/assemble, plugins.item, volatile Config fields, subagentModelSelectionPolicy), but they are not a public compatibility promise. An upgrade may change them; treat this as a community plugin.complete persona (for example minimal) collapse the assembly to that persona after the waterfall, so the notes section is dropped there — a harness constraint shared with other system-prompt/assemble plugins.node --test test/prompt.test.mjs
lib/prompt.js has no DSH imports, so the routing/filtering/formatting rules and the section placement are testable with plain Node.
MIT — see LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: system-prompt。