Context Health Monitor

Monitors context quality and triggers diagnostic state dumps to .agent/state/STATE.md.

Updated Aug 7, 2025
One-click install
npx skills add https://github.com/hGriff0n/velopitt --skill context-health-monitor-hgriff0n
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Context Health Monitor
Source: https://github.com/hGriff0n/velopitt/tree/main/.agent/skills/context-health-monitor
Command: npx skills add https://github.com/hGriff0n/velopitt --skill context-health-monitor-hgriff0n

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Context-heavy AI sessions can silently degrade in quality as complex information accumulates. This skill detects early signs of context rot and triggers safe-state workflows to preserve reliability.

Core Features & Use Cases

  • Context health monitoring: tracks signals like repeated debugging, circular reasoning, and uncertainty to protect session integrity.
  • Automatic state dumps: records and stores diagnostic snapshots to .agent/state/STATE.md when thresholds are reached.
  • Guided recovery: offers actionable recommendations and safe-guarded options to pause or reset for fresh perspective.

Quick Start

Run a health check to trigger a diagnostic state dump when needed.

Frequently Asked Questions about Context Health Monitor

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

FAQPage Schema
How do I detect context rot in AI agent sessions before quality degrades?

You can detect context rot by tracking signals like repeated debugging, circular reasoning, and uncertainty in AI agent sessions. Monitoring these patterns reveals when decision quality declines and triggers diagnostic state dumps.

What is context health monitoring for session management?

Context health monitoring tracks complexity accumulation in AI sessions to protect integrity. It evaluates signals like repeated debugging and uncertainty to detect early signs of context rot and prevent silent quality degradation.

How do I save an AI session state before context degrades?

You save an AI session state by triggering automatic state dumps to `.agent/state/STATE.md`. This records diagnostic snapshots when context complexity thresholds are reached, preserving session integrity for recovery.

Can I pause and resume AI sessions to prevent context rot?

Yes, you can pause and resume AI sessions to prevent context rot. Guided recovery workflows offer actionable recommendations and safe-guarded options to pause or reset, ensuring a fresh perspective and preserving reliability.

Does context monitoring work without external dependencies?

Yes, context monitoring works without external dependencies. The skill operates independently to track context complexity signals and enforce guardrails within AI sessions without requiring additional components or libraries.

When should I trigger a state dump in an AI debugging session?

You should trigger a state dump when context complexity thresholds are reached in an AI debugging session. Repeated debugging, circular reasoning, and uncertainty logging indicate quality degradation, signaling the need to record a diagnostic snapshot.