nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:vicfei/agentdiary-dsh-plugin
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Your agents keep a diary — in your own git repo.
A DeepSeek Harness plugin that subscribes to the durable session/event stream and appends one diary entry per settled turn into a local git repository you own:
sessions/2026-11/2026-11-12-<node>.md # append-only, one file per node per day
fs + git).Sibling of the agentdiary CLI (personal agent diary across machines) and dsh-super-agent (admission control & trust ladder for any CLI agent).
One entry per settled turn — when the harness emits turn/end with reason completed, error, max-tokens, or aborted. Since 0.2.0 the entry is rich (pure extraction, no model calls): the tool mix (tools: bash×3 · edit×1), the event mix, and the agent's own closing words, tail-quoted (said: "…all 12 tests pass now."), plus the duration and how it ended.
Reasons you will not see as entries: blocked (retried as a new turn), interrupted/forked (bookkeeping closers) — their events stay on the books and surface with the next settled turn, never dropped.
Why not one entry per session? v0.1.0 keyed on
session/disposedand never wrote a single entry: in the harness (packages/core/session), disposal fires only when a session is detached from the store — typically app shutdown — not when a task completes or is archived. v0.1.1 keys on turn settlement; disposal remains as a best-effort sweep ("session torn down mid-turn") so interrupted work still gets a line.
From the plugin market (Settings → Plugin Market), or:
dsh plugin --profile web add dsh-agentdiary-plugin
Deployment notes (learned the hard way on live nodes):
dsh plugin add installs into default and never loads. Use --profile web (or install from the market inside the web UI, which targets the right profile).dsh web --port <n> instead of hunting ghosts.| Option | Meaning | Default |
|---|---|---|
repo |
absolute path to your diary git repo (created if missing) | — (plugin disabled when empty) |
node |
this machine's short name in the diary | dsh-host |
commitEveryEntry |
commit+push after every entry vs on session end | true |
session/event Cordis signaturectx.on('session/event', (session, event)) — event is the SECOND arg; inject: []; Config must be a schemastery Schema.object; profile layer requires a dsh.bundle.patch manifest. Both entries activate clean in a headless boot.turn N completed entry with the event mix, commitEveryEntry commits land on the chain, zero warnings. Three-round convergence to get here: 0.1.0 keyed on session/disposed (store-detach only — see above); 0.1.1 shipped a stale lib/ (publish now runs prepack); 0.1.2 read turn/reason flat but the harness wraps them in event.data (SessionEvent = { type, seq, time, data }); 0.1.3 unwraps with a flat fallback and warns on unknown reason.kind.dsh-plugin topic; npm 0.1.3 live; 0.2.0 adds rich entries (tools + quoted closing text).MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: sessions。