Skills context-degradation
๐Ÿ“ฆ

context-degradation

Content revision r2 Safe โš™๏ธ External commands

Diagnose and Repair Context Degradation

Long contexts can hide critical instructions, preserve bad claims, and mix conflicting tasks. This skill diagnoses the failure pattern and recommends placement, filtering, compression, isolation, or recovery strategies.

Supports: Claude Codex Code(CC)
๐Ÿฅˆ 80 Silver

Install with my Agent

Copy this request to your Agent. It includes the canonical Skill page and manifest.

Agent request
Review the Skillstore skill "context-degradation" from https://skillstore.io/skills/muratcankoylan-context-degradation.md and its manifest at https://skillstore.io/api/skills/muratcankoylan-context-degradation/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.

Your Agent should still show its plan and request any confirmation required by the security policy.

Test it

Using "context-degradation". The agent ignores a deadline placed halfway through a long project history.

Expected outcome:

  • Likely pattern: lost-in-middle.
  • Move the deadline into the current task block and repeat it near the prompt end.
  • Retest at increasing context lengths to confirm the placement effect.

Using "context-degradation". Two retrieved guides describe different API endpoints, and the agent alternates between them.

Expected outcome:

  • Likely pattern: context clash caused by version conflict.
  • Label each source version and select the production version before prompt assembly.
  • Exclude the outdated guide and record the precedence decision.

Security Audit

Safe
v8 โ€ข 8/9/2026 Open versioned report

All 22 static findings are false positives caused by Python documentation markup, Markdown formatting, ordinary text literals, and a benign dictionary-key print. No command execution, credential handling, system reconnaissance, prompt injection, or other malicious intent was found.

3
Files scanned
1,167
Lines analyzed
0
Review items
0
False positives ignored
No confirmed security findings were detected by the latest completed static and semantic audit. This does not prove the skill has no side effects.
Audited by: codex View Audit History โ†’
Share & cite this report

Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.

Open versioned report
Security Assessment

Copy report link

https://skillstore.io/skills/muratcankoylan-context-degradation/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown badge

[![Skillstore security assessment](https://skillstore.io/badges/skills/muratcankoylan-context-degradation/security.svg)](https://skillstore.io/skills/muratcankoylan-context-degradation?utm_source=security_passport_badge)

HTML badge

<a href="https://skillstore.io/skills/muratcankoylan-context-degradation?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/muratcankoylan-context-degradation/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

Embed card

<iframe src="https://skillstore.io/embed/skills/muratcankoylan-context-degradation.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
Academic citations (APA ยท BibTeX ยท CFF)

APA citation

muratcankoylan. (2026). context-degradation security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/muratcankoylan-context-degradation/audits/8

BibTeX citation

@techreport{muratcankoylan-muratcankoylan-context-degradation-2026, author = {muratcankoylan}, title = {context-degradation security audit report (audit version 8)}, institution = {Skillstore}, year = {2026}, number = {8}, url = {https://skillstore.io/skills/muratcankoylan-context-degradation/audits/8}, note = {Author version unspecified} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "context-degradation security audit report (audit version 8)" version: "unspecified" type: report authors: - name: "muratcankoylan" date-released: "2026-08-09" url: "https://skillstore.io/skills/muratcankoylan-context-degradation/audits/8" identifiers: - type: other value: "skillstore:muratcankoylan-context-degradation:audit:8" description: "Skillstore immutable audit report identifier"

Compare variants

4 installable variants

Each author remains a separate installable skill. The recommended variant is ranked by Skillstore evidence.

Why this variant is first

Highest Skillstore Score
ChakshuGautam Recommended

chakshugautam-context-degradation

Skillstore Score 81
Evidence Confidence High
Skillstore usage 15
Updated

2026-08-21

muratcankoylan-context-degradation

Skillstore Score 80
Evidence Confidence High
Skillstore usage 21
Updated

2026-08-21

asmayaseen-context-degradation

Skillstore Score 80
Evidence Confidence High
Skillstore usage 15
Updated

2026-08-21

sickn33-context-degradation

Skillstore Score 78
Evidence Confidence High
Skillstore usage 16
Updated

2026-08-21

Skillstore Score

Why this score Evidence Confidence: High
64
Architecture
85
Maintainability
87
Content
70
Community
83
Spec Compliance

What You Can Build

Debug a Long Agent Session

Identify why instructions or facts stop influencing responses as conversation history grows.

Review Retrieved Context

Find irrelevant, outdated, contradictory, or unverified material before it enters a model prompt.

Design Reliability Tests

Define workload-specific baselines, degradation thresholds, monitoring signals, and recovery checks.

Try These Prompts

Quick Context Diagnosis
Review this conversation for context degradation. Identify the likely pattern, cite symptoms, and recommend three immediate fixes.
Lost-in-Middle Review
Analyze the supplied prompt layout for lost-in-middle risk. Mark critical content, assess placement, and propose a safer ordering.
Retrieval Quality Audit
Compare these documents for poisoning, distraction, and clash. Explain source conflicts, relevance gaps, and content that should be removed.
Production Health Plan
Design a context health plan for this agent. Define metrics, baselines, alert thresholds, compaction triggers, recovery steps, and validation tests.

Best Practices

  • Establish a low-context performance baseline before diagnosing degradation.
  • Keep source provenance and version labels beside every retrieved claim.
  • Trigger compaction or isolation before measured performance reaches its decline threshold.

Avoid

  • Do not treat one weak response as proof of context degradation.
  • Do not add corrections while leaving known poisoned claims in context.
  • Do not assume advertised context capacity guarantees workload quality.

Frequently Asked Questions

What degradation patterns does this skill cover?
It covers lost-in-middle, poisoning, distraction, confusion, and clash.
Does it measure real model attention?
No. The included detector simulates a U-shaped distribution for demonstration.
Can it detect every poisoned claim?
No. It uses heuristic markers and requires human or model-assisted verification.
When should I split work across agents?
Use isolation when tasks have separate goals, constraints, tools, or conflicting context.
How should I choose a compaction threshold?
Benchmark your workload and trigger compaction before its measured degradation point.
Does this replace model-specific evaluation?
No. Model versions and workloads require separate tests and updated thresholds.

Developer Details

License

MIT

Skillstore revision

r2

Version notice

The author did not declare a version.

Ref

02be9409c79ca1183f7844009c14d9df684d0cf9

Maintenance freshness

8/11/2026

Usage

19 downloads ยท 219 views

File structure

๐Ÿ“ references/

๐Ÿ“„ patterns.md

๐Ÿ“ scripts/

๐Ÿ“„ degradation_detector.py

๐Ÿ“„ SKILL.md