About
This skill diagnoses and fixes context-related issues in LLM systems, such as attention degradation, lost-in-middle problems, and context poisoning. It provides patterns and solutions for debugging agent failures and optimizing performance in long-context scenarios. Use it when agent output degrades unexpectedly or when designing systems that must handle large contexts reliably.
Quick Install
Claude Code
Recommendednpx skills add boisenoise/skills-collections -a claude-code/plugin add https://github.com/boisenoise/skills-collectionsgit clone https://github.com/boisenoise/skills-collections.git ~/.claude/skills/context-degradationCopy and paste this command in Claude Code to install this skill
GitHub Repository
Frequently asked questions
What is the context-degradation skill?
context-degradation is a Claude Skill by boisenoise. Skills package instructions and resources that Claude loads on demand, so Claude can perform context-degradation-related tasks without extra prompting.
How do I install context-degradation?
Use the install commands on this page: add context-degradation to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.
What category does context-degradation belong to?
context-degradation is in the Meta category, tagged ai.
Is context-degradation free to use?
Yes. context-degradation is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.
Related Skills
This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.
This skill enables developers to build applications with the Polymarket prediction markets platform, including API integration for trading and market data. It also provides real-time data streaming via WebSocket to monitor live trades and market activity. Use it for implementing trading strategies or creating tools that process live market updates.
This skill helps developers create OpenCode plugins that hook into 25+ event types like commands, files, and LSP operations. It provides the plugin structure, event API specifications, and implementation patterns for JavaScript/TypeScript modules. Use it when you need to intercept, monitor, or extend the OpenCode AI assistant's lifecycle with custom event-driven logic.
SGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.
