nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:991206772-debug/dsh-notes
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
@local/dsh-notes)A DSH bundle that adds a left-sidebar page of notes pinned per project. Notes you switch on are rendered into the agent's system prompt on every step, so project conventions and personal preferences stay in context without being repeated.
sidebar.panellist, id dsh-notes, order 21 — right after the
host's Context row) and the page it selects (main, key dsh-notes).<dsh home>/notes/<profile>.json, written
atomically (temp file + rename) so a crash cannot truncate them.dsh-notes/
├── package.json dsh.bundle.patch + dsh.client (platform web, immediately)
├── cordis.patch.yml one insert row: @local/dsh-notes
├── index.js Host half
├── client.js Client half (plain-JS React, no build step)
├── locale/{en,zh}.json Plugin Manager title/description
└── icon.svg original artwork (redistribution-safe)
Host half (index.js) injects agents, systemPrompt, webServer,
workspaceRegistry and owns:
| Concern | Extension point |
|---|---|
| Store | JSON file under <dsh home>/notes/, atomic write |
| Panel data | webServer.register({ kind: 'exact' }) on /dsh-notes/api/state (GET) and /dsh-notes/api/notes (POST) |
| Standing context | one systemPrompt.section({ name: 'dsh-notes.project-notes', order: 780 }) registered on each agent's own context, rendering that agent's project only |
The section is attached for agents created later (agent/created) and for
agents already live when the plugin activates, so the current session starts
honouring notes immediately. Attachments are removed on plugin unload.
Client half (client.js) registers the sidebar glyph and the page through
ctx.slots.inject(slot, () => ctx.slots.register(...)), so both disappear with
the host's declaration. Host calls go through document.baseURI-relative URLs.
Styling uses --dsw-alias-* tokens only, so the page follows light/dark.
The install links this directory, so edits apply without reinstalling:
reload the page (Ctrl+R) after changing client.js; Host changes (index.js)
need a Harness restart.
仓库:https://github.com/991206772-debug/dsh-notes
桌面版可在插件管理中使用仓库地址安装;命令行版在自己的 Profile 中安装:
dsh plugin --profile web add github:991206772-debug/dsh-notes
公开源码不包含用户配置、笔记、真实会话、凭据或 node_modules。验证使用隔离目录,不主动重载正在运行的 DSH。
自有源码采用 MIT,署名 991206772-debug。
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: agent、prompt。