nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:kiluahh/dsh-session-plugin-manager
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Per-session plugin switches in the DeepSeek Harness right sidebar. Turn a plugin's model-facing surface off for the current session only — its tools, prompt sections, and skills disappear from that session, while other sessions and the global plugin settings stay untouched.
中文说明 · MIT License · tested with DSH 0.2.2-rc.1 ·
pluginManager.listBundles(), the same source as Settings → Plugins.agent.ctx.tools.restrict({ deny }) — they are absent from the next request's tool definitions, so the model cannot see or call them;skillProviders, registers each skill as a same-name runtime skill with modelInvocable: false, userInvocable: false — the skill catalog omits them and skill refuses to load them.sessionId at $DSH_HOME/session-plugin-manager/state.json and restored when the session reopens or DSH restarts.sidebarRightTabs client service and the pluginManager host service (tested on 0.2.2-rc.1).plugin_manager({ action: 'install_bundle', target: 'dsh-session-plugin-manager' })
Published as dsh-session-plugin-manager on the public npm registry.
plugin_manager({ action: 'install_bundle', target: 'D:\\path\\to\\dsh-session-plugin-manager' })
plugin_manager({ action: 'install_bundle', target: 'https://github.com/kiluahh/dsh-session-plugin-manager' })
Confirm application: applied, restart DSH (the host half needs it), then refresh the page so the browser half is reloaded.
Rows under Globally off are disabled in Settings; enable them there first if you want per-session control.
The panel follows the DSH language setting:
zh* locale → Chinese;Resolution order is the locale service snapshot (active) → browser language → English, and the panel re-renders live when the language changes. Plugin row titles come from dsh.meta in package.json and resolve through the same language chain.
To add a translation, add a dictionary to DICTS in client.js and extend normalizeLocale.
The row config in cordis.patch.yml accepts:
| Key | Default | Meaning |
|---|---|---|
stateFile |
$DSH_HOME/session-plugin-manager/state.json |
Per-session state file |
includeOfficial |
false |
Also list optional official bundles |
toolMap |
{} |
Module → { tools, sections, contexts }, overrides source scanning |
skillProviders |
{ "@local/dsh-superpowers": ["superpowers"] } |
Bundle → skill provider names; toggling the bundle shadows that whole provider |
scan |
true |
Scan package sources to fill missing tool maps |
scanMaxFiles |
120 |
Files read per package |
scanMaxBytes |
2097152 |
Max bytes per file |
cacheTtlMs |
30000 |
Catalog cache TTL |
If a plugin shows Tools not mapped, add its module and tool names to toolMap.
node test/smoke-test.mjs
node test/client-locale.mjs
node --check index.js
node --check client.js
The test suite has no dependencies and runs on plain Node.
MIT — see LICENSE.
在 DeepSeek Harness 的右侧栏加一个「插件」页签:按当前会话开关插件贡献的模型工具、提示词段和技能,不影响全局插件设置,也不影响其它会话。
pluginManager.listBundles(),和设置页插件列表同源。agent.ctx 上调用 ctx.tools.restrict({ deny }):下一轮请求的工具定义里不再出现这些工具,模型不知道它们存在,也调不到。skillProviders 里登记了技能提供者时(默认 @local/dsh-superpowers → superpowers),关闭会把该 provider 名下的每个技能在当前会话注册成同名、modelInvocable:false 的 runtime skill:技能目录不再列出它们,skill 工具加载返回 not available for model invocation。sessionId 存到 $DSH_HOME/session-plugin-manager/state.json;重开会话、重启 DSH 后恢复。plugin_manager({ action: 'install_bundle', target: 'dsh-session-plugin-manager' }) // npm
// 或
plugin_manager({ action: 'install_bundle', target: 'D:\\path\\to\\dsh-session-plugin-manager' })
// 或
plugin_manager({ action: 'install_bundle', target: 'https://github.com/kiluahh/dsh-session-plugin-manager' })
npm 包名:dsh-session-plugin-manager。
确认 application: applied,重启 DSH(Host 半需要重启),刷新页面(Client bundle 需要重新取)。
面板跟随 DSH 语言设置:zh* → 中文;其它语言(日/法/德/俄/葡等)→ 英文。语言切换后面板立即重渲染。插件行标题来自 package.json 的 dsh.meta。
| 字段 | 默认 | 说明 |
|---|---|---|
stateFile |
$DSH_HOME/session-plugin-manager/state.json |
状态文件 |
includeOfficial |
false |
是否列官方可选 bundle |
toolMap |
{} |
模块名 → { tools, sections, contexts },覆盖目录扫描 |
skillProviders |
{ "@local/dsh-superpowers": ["superpowers"] } |
bundle 名 → 该 bundle 的 skill provider 名;关闭时整组遮蔽这些技能 |
scan |
true |
是否扫描包源码补映射 |
scanMaxFiles |
120 |
单包最多读文件数 |
scanMaxBytes |
2097152 |
单文件上限 |
cacheTtlMs |
30000 |
目录缓存 |
web_search_bing / web_fetch_markdown;新会话仍有。brainstorming / test-driven-development 等;skill 工具返回 not available for model invocation。node test/smoke-test.mjs
node test/client-locale.mjs
MIT,见 LICENSE。
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: session-management。