一键导入
context-health-monitor
Monitors context complexity and triggers state dumps before quality degrades
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Monitors context complexity and triggers state dumps before quality degrades
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 9 stacks.
Admin plugin for Better Auth
Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise.
| name | Context Health Monitor |
| description | Monitors context complexity and triggers state dumps before quality degrades |
Prevent "Context Rot" — the quality degradation that occurs as the agent processes more information in a single session.
The agent should self-monitor for these warning signs:
| Signal | Threshold | Action |
|---|---|---|
| Repeated debugging | 3+ failed attempts | Trigger state dump |
| Going in circles | Same approach tried twice | Stop and reassess |
| Confusion indicators | "I'm not sure", backtracking | Document uncertainty |
| Session length | Extended back-and-forth | Recommend /pause |
If debugging the same issue fails 3 times:
.gsd/STATE.md:
If the same approach is being tried again:
/pause for fresh perspectiveWhen uncertain about an approach:
.gsd/DECISIONS.md:
When triggered, write to .gsd/STATE.md:
## Context Health: State Dump
**Triggered**: [date/time]
**Reason**: [3 failures / circular / uncertainty]
### What Was Attempted
1. [Approach 1] — Result: [outcome]
2. [Approach 2] — Result: [outcome]
3. [Approach 3] — Result: [outcome]
### Current Hypothesis
[Best guess at root cause]
### Recommended Next Steps
1. [Fresh perspective action]
2. [Alternative approach to try]
### Files Involved
- [file1.ext] — [what state it's in]
- [file2.ext] — [what state it's in]
This skill integrates with:
/pause — Triggers proper session handoff/resume — Loads the state dump contextGEMINI.md — Context Hygiene enforcement