context-degradation agent skill by muratcankoylan
Diagnoses and mitigates context degradation, including lost-in-middle failures, context poisoning, context clash, context confusion, and performance problems caused by accumulated or conflicting context.
At a glance
| Publisher | muratcankoylan |
|---|---|
| Repository | muratcankoylan/Agent-Skills-for-Context-Engineering (19 listed skills) |
| Category | AI Agents and LLM Engineering |
| License | MIT |
| Last commit | October 11, 2026 (repository) |
| SKILL.md | 231 lines, 2,491 words |
| Bundled files | 3 files, including references, scripts |
| Quality score | 86/100 · B Passes all seven graded checks |
| Security scan | Not scanned |
| README badge | Get the badges for this listing |
Before you install
Read from the skill's files at the directory's October 19, 2026 snapshot: what ships with it, what its code reads, and the terms it is published under.
- Bundled scripts: 1 script file (1 Python). Your agent may run them, so read them first.
- License: MIT, an open-source or open-content license.
Install context-degradation
The skills CLI works with Claude Code, Codex, Cursor and other agents; the other routes copy the folder by hand.
npx skills add https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/tree/main/skills/context-degradation
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering.git "$tmp/repo"
mkdir -p .claude/skills
cp -R "$tmp/repo/"skills/context-degradation .claude/skills/
rm -rf "$tmp"
python3 ~/.codex/skills/.system/skill-installer/scripts/install-skill-from-github.py \
--repo muratcankoylan/Agent-Skills-for-Context-Engineering \
--path skills/context-degradation
muratcankoylan/Agent-Skills-for-Context-Engineering is third-party code. Read SKILL.md and any bundled scripts before you install it.
How the author describes it
This skill should be used for diagnosing and mitigating context degradation: lost-in-middle failures, context poisoning, context clash, context confusion, attention-pattern issues, and agent performance degradation caused by accumulated or conflicting context.
From the description field of SKILL.md. Agents read this line to decide when to load the skill.
Sections in SKILL.md
- When to Activate
- Core Concepts
- Detailed Topics
- Lost-in-Middle: Detection and Placement Strategy
- Context Poisoning: Prevention and Recovery
- Context Distraction: Curation Over Accumulation
- Context Confusion: Task Isolation
- Context Clash: Conflict Resolution Protocols
- Empirical Benchmarks and Thresholds
- Counterintuitive Findings
- When Larger Contexts Hurt
- Practical Guidance
- The Four-Bucket Mitigation Framework
- Architectural Patterns for Resilience
- Examples
- Guidelines
Files in the skill folder
SKILL.mdreferences/patterns.mdscripts/degradation_detector.py
Suede Skill Check: 86/100 · B
Report snapshot · · graded-v2
The rubric totals 100 points; published scores are capped at 99. Security scan: not scanned.
Source revision: 9ff0c99108b3. Report version 4a75a93c6fd7. Badge URLs follow the latest listing; save the report to keep this version.
Download report · Request a fresh review
What to review next
- Boundary clause: 0 of 4 points. 4 when the description says when not to use the skill (“Not for …”, “Do not use …”, “Use … instead”).
- Example request: 0 of 3 points. 3 when the description quotes an example request (3–60 characters in quotation marks).
- Tool permissions declared: 0 of 2 points. 2 when the frontmatter declares allowed-tools.
Add declarations and bundled files when they describe the skill’s actual needs. Update the source, then request a fresh review with the changed commit or PR.
context-degradation passes the required frontmatter check and all seven graded checks, which cover the SKILL.md format, a declared license and a commit in the last year. Those checks earn 56 of the score’s points; the rest come from description quality, instruction depth, bundled files, maintenance and curated-list citations. How the score works.
See the checks and points
| Check | Result |
|---|---|
| Frontmatter parses and declares a name and a description | Pass |
| Name uses lowercase letters, digits and hyphens, 64 characters or fewer | Pass |
| Name matches the skill's folder name | Pass |
| Description is between 50 and 1,024 characters | Pass |
| Description says when an agent should use the skill | Pass |
| SKILL.md body is 500 lines or fewer | Pass |
| A license is declared in the frontmatter or the repository | Pass |
| Repository has a commit in the last 12 months | Pass |
| Score component | Points |
|---|---|
| Structural checks | 56 of 56 |
| Description length | 5 of 5 |
| Boundary clause | 0 of 4 |
| Example request | 0 of 3 |
| Instruction depth | 7 of 7 |
| Reference files | 3 of 3 |
| Bundled scripts | 2 of 2 |
| Recent maintenance | 9 of 9 |
| Curated-list citations | 4 of 7 |
| Tool permissions declared | 0 of 2 |
| Compatibility declared | 0 of 2 |
Two badges for context-degradation
Choose the numeric badge, the letter badge, or both. Each links to this skill’s Suede listing; either valid linked badge can qualify for the feature offer.
[](https://skills.suedeai.ai/directory/muratcankoylan/agent-skills-for-context-engineering/context-degradation/)
[](https://skills.suedeai.ai/directory/muratcankoylan/agent-skills-for-context-engineering/context-degradation/)<a href="https://skills.suedeai.ai/directory/muratcankoylan/agent-skills-for-context-engineering/context-degradation/"><img src="https://skills.suedeai.ai/directory/muratcankoylan/agent-skills-for-context-engineering/context-degradation/score.svg" alt="Suede Skill Check: 86/100" width="160" height="175"></a>
<a href="https://skills.suedeai.ai/directory/muratcankoylan/agent-skills-for-context-engineering/context-degradation/"><img src="https://skills.suedeai.ai/directory/muratcankoylan/agent-skills-for-context-engineering/context-degradation/badge.svg" alt="Suede Skill Check: Grade B" width="160" height="175"></a>Suede Certified on the shield refers to this published structural quality check. Security scan: not scanned. Read the methodology.
Limited-time feature offer: display either the numeric or letter badge in your repository or skill README (both also qualify), then request badge verification. Eligible skills scoring 80–99 can receive a featured placement after Suede verifies at least one valid badge linked to the skill’s listing. Suede has not announced an end date.
Where this skill is cited
muratcankoylan/Agent-Skills-for-Context-Engineering appears in 3 curated lists: VoltAgent/awesome-agent-skills, heilcheng/awesome-agent-skills, skillmatic-ai/awesome-agent-skills.
More AI agent skills
More from muratcankoylan/Agent-Skills-for-Context-Engineering
All 19 skills in muratcankoylan/Agent-Skills-for-Context-Engineering