用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ben-manes/caffeine --skill audit-memory-retention命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | audit-memory-retention |
| description | Analyze reference retention paths that prevent GC of removed entries |
| context | fork |
| agent | auditor |
| disable-model-invocation | true |
Analyze the cache for memory retention defects — cases where logically removed entries remain reachable through internal data structures.
This is NOT about liveness. Assume the entry IS removed from the CHM. The question is whether internal references still pin the key, value, or node in memory.
Assume at least one retention path exists where removed entries remain reachable longer than necessary. If your analysis yields zero findings, re-examine the write buffer and removal listener queue — explain specifically why retention is bounded.
Trace what happens to references after removal in each data structure:
For each retention path:
Do not report intentional strong references or retention bounded by a single maintenance cycle (unless maintenance can be delayed indefinitely).