Agent skill

Context Degradation

by aiskillstore in aiskillstore/marketplace

Language models exhibit predictable degradation patterns as context length increases.

No licenceAuto-check passed

Install Context Degradation

skills CLI
$ npx skills add aiskillstore/marketplace --skill context-degradation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aiskillstore/marketplace context-degradation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aiskillstore/marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/sickn33/context-degradation .claude/skills/context-degradation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
context-degradation
GitHub stars
430
Used in
5 other repos
Token cost
~3.9k tokens
SKILL.md length
1,898 words
Files
2
Skills in repo
1,044
Repo updated
First seen
Licence
None found

At a glance

Language models exhibit predictable degradation patterns as context length increases.

  • Works in 8 steps: Monitor context length and performance… → Place critical information at beginning… → Implement compaction triggers before… → …
  • SKILL.md covers When to Use, Core Concepts, Detailed Topics and Practical Guidance, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Context Degradation is an agent skill from aiskillstore/marketplace. Language models exhibit predictable degradation patterns as context length increases. Understanding these patterns is essential for diagnosing failures and designing resilient systems.

Its SKILL.md is about 3.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `skill-report.json`).

The repository describes itself as: Security-audited skills for Claude, Codex & Claude Code. One-click install, quality verified.

Example prompts

  • “/context-degradation”

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Monitor context length and performance correlation during development
  2. Place critical information at beginning or end of context
  3. Implement compaction triggers before degradation becomes severe
  4. Validate retrieved documents for accuracy before adding to context
  5. Use versioning to prevent outdated information from causing clash
  6. Segment tasks to prevent context confusion across different objectives
  7. Design for graceful degradation rather than assuming perfect conditions
  8. Test with progressively larger contexts to find degradation thresholds

What it can do on your machine

Read from SKILL.md and the folder at commit 755bc35. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml and markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Context Degradation loads about 3.9k tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 1,898 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~51
When it runs · the whole SKILL.md, loaded when a task matches
~3.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 1,898 words (~3,932 tokens).

“Language models exhibit predictable degradation patterns as context length increases. Understanding these patterns is essential for diagnosing failures and designing resilient systems. Context degradation is not a binary state but a continuum of performance degradation that manifests in several distinct…”

— opening of SKILL.md by aiskillstore
name
context-degradation
risk
unknown
source
community

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in skills/sickn33/context-degradation of aiskillstore/marketplace.

  • SKILL.md
  • skill-report.json

Open the folder on GitHubat commit 755bc35

Used in 5 other repositories

We found 16 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 5 other GitHub owners. This page covers the copy in aiskillstore/marketplace, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Context Degradation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Context Degradation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Context Degradation this skillaiskillstore/marketplace4305 repos~3.9kAutomated safety check: PassNone
Autopilot Predictruvnet/ruflo74k—~337Automated safety check: PassMIT
Prediction Market Oracle Researchaffaan-m/ECC276k1 repos~577Automated safety check: PassMIT
Prediction Market Risk Reviewaffaan-m/ECC276k1 repos~471Automated safety check: PassMIT
Footballbin Predictionsdavila7/claude-code-templates32k—~634Automated safety check: PassMIT
Blind Prediction LogXBuilderLAB/cheat-on-content7.2k—~4kAutomated safety check: NotesMIT

Similar skills

  • Autopilot Predict

    ruvnet/ruflo

    Use learned patterns and current state to predict the optimal next action

    74k GitHub stars~337 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Research prediction markets as data sources or oracle signals for products, agents, dashboards, and corporate decision intelligence.

    276k GitHub starsUsed in 1 repo~577 tokens
    Knowledge ManagementAuto-check passed
  • Review prediction-market, basket, oracle, and trading-agent workflows for compliance, safety, data-quality, privacy, and execution risk.

    276k GitHub starsUsed in 1 repo~471 tokens
    Data & AnalyticsAuto-check passed
  • Footballbin Predictions

    davila7/claude-code-templates

    Get AI-powered match predictions for Premier League and Champions League including scores, next goal, and corners.

    32k GitHub stars~634 tokensUpdated today
    Auto-check passed
  • Blind Prediction Log

    XBuilderLAB/cheat-on-content

    Writes an immutable blind prediction log for a finished content draft: a seven-dimension score, bucket, probability distribution and counterfactuals, scored blind by a sub-agent.

    7.2k GitHub stars~4k tokensUpdated 4 days ago
    Writing & ContentAuto-check: notes
  • Graceful Degradation

    parcadei/Continuous-Claude-v3

    Graceful Degradation with Helpful Messages. An agent skill from parcadei/Continuous-Claude-v3.

    3.9k GitHub starsUsed in 1 repo~554 tokens
    DevelopmentAuto-check passed

More from aiskillstore/marketplace

All 1,044 skills in this repo
  • Code Stats

    aiskillstore/marketplace

    Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs).

    430 GitHub starsUsed in 1 repo~697 tokens
    Auto-check: notes
  • Data Processing

    aiskillstore/marketplace

    Process JSON with jq and YAML/TOML with yq. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 1 repo~720 tokens
    Auto-check: notes
  • Doc Scanner

    aiskillstore/marketplace

    Scans for project documentation files (AGENTS.md, CLAUDE.md, GEMINI.md, COPILOT.md, CURSOR.md, WARP.md, and 15+ other formats) and synthesizes guidance.

    430 GitHub starsUsed in 1 repo~644 tokens
    Auto-check: notes
  • File Search

    aiskillstore/marketplace

    Modern file and content search using fd, ripgrep (rg), and fzf.

    430 GitHub starsUsed in 1 repo~598 tokens
    Auto-check: notes
  • Find Replace

    aiskillstore/marketplace

    Modern find-and-replace using sd (simpler than sed) and batch replacement patterns.

    430 GitHub starsUsed in 1 repo~527 tokens
    Auto-check: notes
  • Project Planner

    aiskillstore/marketplace

    Detects stale project plans and suggests session commands. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 1 repo~504 tokens
    Auto-check passed

Questions about Context Degradation

What does Context Degradation do?

Language models exhibit predictable degradation patterns as context length increases. Context Degradation is an agent skill from aiskillstore/marketplace. Language models exhibit predictable degradation patterns as context length increases.

How do I install Context Degradation in Claude Code?

Run `npx skills add aiskillstore/marketplace --skill context-degradation -a claude-code`. Or copy the skill folder (skills/sickn33/context-degradation in aiskillstore/marketplace) into .claude/skills/context-degradation in your project. Claude Code loads it when a task matches its description.

How do I install Context Degradation in Codex?

Run `npx skills add aiskillstore/marketplace --skill context-degradation -a codex`. Or copy the skill folder (skills/sickn33/context-degradation in aiskillstore/marketplace) into .agents/skills/context-degradation in your project. Codex loads it when a task matches its description.

Can I use Context Degradation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aiskillstore/marketplace --skill context-degradation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/context-degradation, .gemini/skills/context-degradation, .github/skills/context-degradation and .opencode/skills/context-degradation in your project.

What does Context Degradation need to run?

SKILL.md names no scripts, command-line tools or credentials: Context Degradation is instructions for the agent only.

Does Context Degradation access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Context Degradation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Context Degradation use?

No licence was found for Context Degradation or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Context Degradation use?

About 3.9k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Context Degradation?

Skills that share tags, products or a category with Context Degradation: Autopilot Predict (ruvnet/ruflo, 74k stars), Prediction Market Oracle Research (affaan-m/ECC, 276k stars), Prediction Market Risk Review (affaan-m/ECC, 276k stars) and Footballbin Predictions (davila7/claude-code-templates, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Context Degradation?

aiskillstore (a GitHub organization) maintains it in aiskillstore/marketplace, which has 430 GitHub stars. The repository holds 1,044 skills in this directory. The repository was last updated on October 9, 2026.

Source: aiskillstore/marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.