Skip to content

Measure skill instruction adherence inside 200k–1M token long-context workloads

Stuffing whole codebases or legal transcripts into context can drown out SKILL.md rules. Check which skills hold constraints at 250k+ tokens.

Copy the prompt and paste it into the AI assistant you already use.

Preventing instruction amnesia in massive context windows

  1. 01

    Check constraint recall across context depths

    Verify whether formatting schemas and negative rules placed in system prompts survive after 250k tokens of retrieved text.

  2. 02

    Compare full-context dump vs iterative search skills

    On many codebase tasks, progressive ripgrep/file-read skills beat 500k-token context dumps on both accuracy and cost.

  3. 03

    Look for end-of-context checklist reinforcement

    Long-context-hardened skills restate critical output invariants right before generation rather than only at byte zero.

  4. 04

    Monitor multi-turn context accumulation

    Even small documents hit 200k tokens after 25 unpruned tool outputs; prefer skills that summarize intermediate steps.

How it works in practice

Context scaling benchmark

Test contract-redline-skill at 30k, 150k, and 400k context tokens (Gemini 2.5 Pro) on 12 mandatory clause-check rules.

Rule adherence curve

Standard top-loaded skill: 96% @ 30k -> 84% @ 150k -> 68% @ 400k. Context-anchored v2 skill (chunked checklist recap): 97% @ 30k -> 94% @ 150k -> 91% @ 400k.

Advertising a 1M-token window doesn't guarantee rule compliance; instruction anchoring keeps skills reliable past 150k tokens.

Questions and answers

Why do skills drop rules at 300k tokens when needle-in-a-haystack scores are 99%?

Finding one single fact is much easier than simultaneously enforcing 15 formatting, citation, and exclusion constraints across hundreds of pages.

Is progressive file search better than long-context dumping?

Our benchmarks compare both head-to-head: agentic search wins on modular codebases, while long-context excels on holistic cross-document synthesis.

Which models are included in the >200k context leaderboard?

Current long-context runs cover Gemini 2.5 Pro/Flash, Claude extended-context tiers, and GPT-4.1 1M context checkpoints.