From oh-my-agent
Optimizes context efficiency and cache stability for long or complex conversations. Identifies redundancies, cache risks, and generates compression rules and action checklists.
How this skill is triggered — by the user, by Claude, or both
Slash command
/oh-my-agent:context-optimizeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
当上下文快速增长或缓存一致性下降时,使用此技能。
当上下文快速增长或缓存一致性下降时,使用此技能。
## 上下文健康状况
- ...
## 缓存风险
- ...
## 优化操作
1. ...
2. ...
3. ...
## 会话规则
- ...
npx claudepluginhub sswym/oh-my-agent --plugin oh-my-agentRecommends context compression strategies (clear/catchup, continuation agent, archive/summarize, delegate) when Claude Code context feels bloated or quota burns fast.
Preserves prompt-prefix stability to maximize KV cache hits, reducing cost and latency in long LLM sessions. Use when structuring system prompts, memory files, or tool definitions.
Guides context window management and token optimization in Claude sessions using /compact, /clear, and handoff patterns to maintain performance beyond 80-100k tokens.