Sign in
Explore
Skills · SkillData & AIAgents & MCPReviewed

context-degradation

Diagnoses and reduces context failures: lost-in-the-middle, poisoning, clash, confusion and performance loss from accumulated context.

Kind
Skill
Works with
Any agent
Source
Agent Skills for Context Engineering @ 9ff0c99108b3
Path
skills/context-degradation/SKILL.md
Jobs
Context management, Debugging
Topics
Agents & MCP

Credit

Made by
muratcankoylan
Original
github.com/muratcankoylan/Agent-Skills-for-Context-Engineerin…
License
MIT

Listed by Skill Manifest; not made by us.

InstallInstall it from a plugin marketplace.
/plugin install context-engineering@context-engineering-marketplace
Install factsScanned 3 Nov 2026
Adds
  • .claude/skills/context-degradation/ (the skill folder)
  • 1 file(s) the skill refers to
  • 2 other files in the folder: references/patterns.md, scripts/degradation_detector.py
Runs scripts
Yes
  • scripts/degradation_detector.py
  • script file in the folder (scripts/degradation_detector.py)
Uses the network
None found
Needs secrets
None found
Calls other skills
  • /charges
  • /payments
Value without its scripts
High
  • The main file never tells the agent to run a bundled script, so the text works without them.
  • scripts/degradation_detector.py: Context Degradation Detection — Public API
Source revision
9ff0c99108b3
Licence
MIT
Last activity
27 Nov 2026
Source changed after the scan
Yes
  • Last push 27 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

# Context Degradation Patterns

Diagnose and fix context failures before they cascade. Context degradation is not binary — it is a continuum that manifests through five distinct, predictable patterns: lost-in-middle, poisoning, distraction, confusion, and clash. Each pattern has specific detection signals and mitigation strategies. Treat degradation as an engineering problem with measurable thresholds, not an unpredictable failure mode.

## When to Activate

Activate this skill when:
- Agent performance degrades unexpectedly during long conversations
- Debugging cases where agents produce incorrect or irrelevant outputs
- Designing systems that must handle large contexts reliably
- Evaluating context engineering choices for production systems
- Investigating "lost in middle" phenomena in agent outputs
- Analyzing context-related failures in agent behavior

Do not activate this skill for adjacent work owned by other skills:
- Explaining foundational context mechanics without an active failure: `context-fundamentals`.
- Applying token-efficiency tactics after the failure pattern is known: `context-optimization`.
…