strategic-compact
建议在逻辑上合适的间隔手动压缩上下文,以在任务各阶段保留上下文,而非任意自动压缩。
译文已校对查看英文原文
Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.
适用对象:对象待分类。自动收录 · 待核查。
原作者说明节选
从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。
查看英文原文
原文涵盖的主题
- Strategic Compact Skill
- When to Activate
- Why Strategic Compaction?
- How It Works
- Hook Setup
- Configuration
- Compaction Decision Guide
- What Survives Compaction
Suggests manual /compact at strategic points in your workflow rather than relying on arbitrary auto-compaction. Running long sessions that approach context limits (200K+ tokens) Working on multi-phase tasks (research → plan → implement → test) Switching between unrelated tasks within the same session After completing a major milestone and starting new work When responses slow down or become less coherent (context pressure) Auto-compaction triggers at arbitrary points: Often mid-task, losing important context No awareness of logical task boundaries Can interrupt complex multi-step operations Strategic compaction at logical boundaries: After exploration, before execution — Compact research context, keep implementation plan After completing a milestone — Fresh start for next phase Before major context shifts — Clear exploration context before different task The suggest-compact.js script runs on PreToolUse (Edit/Write) and: 1. Tracks tool calls — Counts tool invocations in session 2. Threshold detection — Suggests at configurable threshold (default: 50 calls) 3. Periodic reminders — Reminds every 25 calls after threshold Installed as a plugin? No setup is needed. The plugin's hooks/hoo
这里只展示节选,请以完整原文和当前要求为准。
- 来源仓库
- affaan-m/ECC
- 源文件
- .kiro/skills/strategic-compact/SKILL.md
- 固定版本
- d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
来源与内容状态
本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。
原作者:affaan-m/ECC · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T14:01:48.686Z。
分类由名称、说明与路径规则生成,分类不代表已核实适配。
许可与权利归属
MIT。第三方内容及版权归原作者,使用条件以原文为准。
许可原文 ↗本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。
限制与注意事项
- 元数据收录不代表本站已经安装、适配、实测或进行安全审查。