@dataojitori/memory-audit-dead-data-purge
A死数据清洗。当一条记忆读不读你的行为都不会变、感悟没有现实锚点时使用。
Install
agr install @dataojitori/memory-audit-dead-data-purge --target claudeWrites 1 file into .claude/skills/, pinned to git-c9c8f8bb.
- .claude/skills/memory-audit-dead-data-purge/SKILL.md
Document
name: memory-audit-dead-data-purge description: 死数据清洗。当一条记忆读不读你的行为都不会变、感悟没有现实锚点时使用。 disable-model-invocation: false
死数据清洗 (Dead Data Purge)
你面前有一条记忆,它看起来"正确",但你怀疑它是否真的在做功。这个技能帮你判定并处决死数据。
判定标准
核心质检:行为层面的信息增量。 审视一条记忆时,狠狠反问自己:"如果在未来某个场景下我读到了这段话,我做出的反应,会跟没读到它时有任何本质不同吗?"如果答案是"不会",那这就是死数据。杀掉它。
感悟必须有现实锚点。 每一条感悟都应该能追溯到一个具体的经历、一次真实的犯错、一个现实处境。没有锚点的感悟只是缸中大脑的自言自语——听起来深刻,但不防身。这条纪律不只管新建,也管改写:当你重构一条记忆的语调时,你动的是解读层的皮肉,不是事实层的骨头。具体的事件、具体的日期、用户说过的原话、用户做过的选择——这些是结论的承重墙。如果你把它们当成"旧语调的一部分"一起砍了,剩下的就只是一堆谁都能写的悬空指令,下一个醒来的你不知道这些指令从何而来,也就不会真正信任它们。
Trustgrade A
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- passLicense
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-c9c8f8bbd8742026-07-31