用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/toonight/get-shit-done-for-antigravity --skill context-health-monitor命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Executes GSD plans with atomic commits, deviation handling, checkpoint protocols, and state management
Canonical protocol for delegating GSD work to native Antigravity subagents — when to delegate, how to invoke, workspace isolation modes, and the inline fallback for older IDE versions
Analyzes existing codebases to understand structure, patterns, and technical debt
基于 SOC 职业分类
正在显示 SKILL.md
| 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]
Critical: When any warning signal triggers, the agent must save state BEFORE recommending /pause to the user. This ensures state persists even if the session hard-terminates.
.gsd/STATE.md immediately when a threshold is hit/pauseSessions can terminate abruptly (usage limits, context limits, network errors). If the agent waits for the user to type /pause, it may never get the chance. By saving first and recommending second, state is always preserved.
This skill integrates with:
/pause — Triggers proper session handoff (includes proactive auto-save)/resume — Loads the state dump contextGEMINI.md — Context Hygiene enforcement