compact-guard
Smart context compaction with state preservation. Saves critical files, task progress, and working state before compaction, restores after. Use before manual compact or when auto-compact triggers.
适合你,如果需要在手动或自动压缩上下文时保留关键文件和进度
/ 通过 npx 安装 校验哈希
npx oh-my-skill add rohitg00/pro-workflow/compact-guard/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- rohitg00/pro-workflow/compact-guard/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify rohitg00/pro-workflow/compact-guard安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
2604GitHub stars
~535上下文体积 · 单文件
索引托管
怎么用
商店整理自技能原文 · 版本 5c313e2 · 表述以原文为准它做什么
装上后,Claude 会在压缩上下文前保存关键文件、任务进度和工作状态,压缩后自动恢复,确保重要信息不丢失。
什么时候触发
当你手动输入 /compact 命令,或出现自动压缩警告时触发。
装好后可以这样说
Claude 会先保存状态再压缩。
Claude 会记录这些文件以便恢复。
评论
登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。
…