Context Health Monitor

Monitor context complexity and trigger state dumps to .gsd/STATE.md and .gsd/DECISIONS.md.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/getdatasurge/fresh-staged --skill context-health-monitor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Context Health Monitor
Source: https://github.com/getdatasurge/fresh-staged/tree/main/.agent/skills/context-health-monitor
Command: npx skills add https://github.com/getdatasurge/fresh-staged --skill context-health-monitor

SYSTEM DOCUMENTATION & REQUIREMENTS

## What problem does it solve? Monitors context complexity and triggers deterministic state dumps to prevent quality degradation.

## Core Features & Use Cases

  • Detects repeated debugging, circular reasoning, and uncertainty, triggering logs and recommendations.
  • Writes state dumps to .gsd/STATE.md and decisions to .gsd/DECISIONS.md to support session handoffs.
  • Integrates with /pause and /resume workflows for seamless session management.

Quick Start

Prompt the agent to enable context health monitoring and trigger a context state dump when risk indicators are detected.

Frequently Asked Questions about Context Health Monitor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent context rot during extended AI debugging sessions?

Context health monitoring prevents context rot during extended AI debugging sessions by detecting repeated debugging and circular reasoning, then triggering deterministic state dumps to preserve quality.

How does context health monitoring handle session handoffs?

Context health monitoring handles session handoffs by writing detailed state dumps to .gsd/STATE.md and decisions to .gsd/DECISIONS.md, ensuring seamless integration with /pause and /resume workflows.

What triggers a context state dump for AI safety and uncertainty?

A context state dump is triggered when risk indicators like repeated debugging, circular reasoning, and high uncertainty are detected, guiding the agent to adopt a fresh perspective.

Do I need specific dependencies to monitor context complexity and manage logs?

No specific dependencies are required to monitor context complexity and manage logs; the system operates independently to write state dumps and decisions to local markdown files.

When should I trigger a context state dump to avoid quality degradation?

You should trigger a context state dump when extended sessions exhibit repeated debugging, circular reasoning, or uncertainty, prompting a fresh perspective and detailed log management.