nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:liufeicc/dsh-clear-command
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
Local DSH bundle: a /clear command that empties one conversation's model
context while keeping the session itself.
clear, so /clear appears in
every composed command surface (Web composer slash menu, CLI) for every
session./clear clears the conversation's model-visible history: the agent no longer
sees any earlier message, and its next request starts from the system prompt
plus one marker line./compact uses — so it survives reloads and replays
deterministically./clear runs on the agent's idle phase (runMaintenance, the same
reservation manual compaction uses): while a turn, a queued wake, or another
maintenance task owns the agent, the command reports that and changes nothing.command/run / command/done pair, so the result appears as a command row in
the transcript.system/message surface node is preserved, because it is the
agent's instructions; everything after it is shadowed.[Earlier conversation cleared by the user; …])
because it enters the model's context, while the command's own user-facing copy
is Simplified Chinese, matching the bundle's shipped UI language.index.js — the whole plugin: command registration plus the surface
replacement.cordis.patch.yml — inserts the single Host row.locale/{en,zh}.json — Plugin Manager display metadata.icon.svg — Plugin Manager artwork.test/clear-contract.mjs — offline contract test. It replays a real session
log (zstdcat a ~/.dsh/sessions/**/session.v*.jsonl.zstd) into a detached
Session, applies exactly the range and append index.js performs, and
prints the resulting surface and derived model messages:
node test/clear-contract.mjs <log.jsonl.zstd>.The profile links this directory (link: in the profile's package.json).
Host code is loaded by the Loader, so a change needs the row to be reloaded
(profile restart), unlike the client half of dsh-split-workspaces, which
dsh-client-hmr reloads on edit.
This project is released under the MIT License — see LICENSE for the full text.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: session、context。