Context optimize

From sswym/oh-my-iflow · View interactive version

Context optimize is an AI agent skill from the GitHub repository sswym/oh-my-iflow. context optimize AI skill file from sswym/oh-my-iflow. Use with Claude, ChatGPT, Gemini, Cursor and other AI agents.

How to use this skill

Skill file

目的

当上下文快速增长或缓存一致性下降时,使用此技能。

触发条件

工作流程

  1. 识别重复、过时或低价值的上下文。
  2. 检测可能的缓存破坏者(指令变更、不稳定的前缀)。
  3. 提出缓存安全的压缩和消息卫生规则。
  4. 为后续轮次生成可操作的操作清单。

输出模板

## 上下文健康状况
- ...

## 缓存风险
- ...

## 优化操作
1. ...
2. ...
3. ...

## 会话规则
- ...

注意事项

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.