context-degradation

Detect and diagnose context degradation patterns in agent systems.

Updated Jan 5, 2026
One-click install
npx skills add https://github.com/hussain9491/hackathone2_phase2_Q4 --skill context-degradation-hussain9491
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-degradation
Source: https://github.com/hussain9491/hackathone2_phase2_Q4/tree/main/.claude/skills/context-degradation
Command: npx skills add https://github.com/hussain9491/hackathone2_phase2_Q4 --skill context-degradation-hussain9491

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Recognize and diagnose patterns of context degradation in agent systems. This skill helps teams understand how context length, content organization, and information retention impact agent reliability, and provides structured approaches to mitigate degradation in long-running conversations.

Core Features & Use Cases

  • Detection of common degradation patterns such as lost-in-middle, context poisoning, and distraction.
  • Quantitative health scoring, risk assessments, and actionable recommendations to restore performance.
  • Applicable to debugging, monitoring, and production deployments with multi-turn agent sessions and high-context workloads.

Quick Start

Analyze the current agent context to identify degradation patterns and generate actionable remediation steps.

Frequently Asked Questions about context-degradation

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

FAQPage Schema
What is context degradation in AI agent systems?

Context degradation is the decline in AI agent reliability during long-running conversations caused by issues like lost-in-middle, context poisoning, and distraction. This skill diagnoses these patterns and provides quantitative health scoring to restore performance.

How do I detect lost-in-middle and context poisoning in long-running agent sessions?

You can detect lost-in-middle and context poisoning by analyzing multi-turn agent sessions with this skill's modular scripts. It identifies degradation patterns, generates risk assessments, and provides actionable recommendations to mitigate context loss.

Can I monitor AI context health for production deployments using numpy?

Yes, you can monitor AI context health in production using this skill, which relies on numpy for quantitative scoring. It evaluates high-context workloads and multi-turn sessions to pinpoint degradation and suggest remediation steps.

What's the best way to diagnose AI agent performance degradation during debugging?

The best way to diagnose agent performance degradation during debugging is using structured detection scripts that score context health. This skill isolates confusion and distraction patterns in multi-turn sessions to provide actionable remediation guidance.

When should I apply context degradation detection to my AI systems?

You should apply context degradation detection when context grows, performance degrades, or failures occur in long-running conversations, debugging sessions, or production deployments. It is essential for maintaining reliability in high-context workloads.