‹ 首页

memory-index-sync

@fr-e-d · 收录于 昨天 · 上游提交 昨天

Detect and heal index.md drift — finds memory files on disk not registered in index.md and registers them. Run when /gaai-status reports unregistered files, after batch memory operations, or as a post-delivery gate.

适合你,如果你需要保持记忆文件索引与磁盘文件一致

/ 通过 npx 安装 校验哈希
npx oh-my-skill add fr-e-d/gaai-framework/memory-index-sync
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- fr-e-d/gaai-framework/memory-index-sync
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify fr-e-d/gaai-framework/memory-index-sync
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
155GitHub stars
~1.4K上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 2668387 · 表述以原文为准
它做什么

调用后,Claude 会扫描 memory 目录,将磁盘上存在但 index.md 中缺失的决策文件(DEC)和摘要文件自动注册到索引中,并更新文件计数和元数据。

什么时候触发

当 /gaai-status 报告有未注册文件,或执行批量记忆操作后,以及作为交付后检查时触发。

装好后可以这样说
触发扫描和注册缺失文件。
运行 memory-index-sync 技能。
直接执行同步过程。

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。