Context Budget

SkillFiles & storage

Keep the agent's context lean so accuracy doesn't collapse. Use on long sessions, big files, or when the agent starts hallucinating.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Context Budget skill

What this skill tells your AI

The instructions your AI receives, as published by archive228/loopkit in skills/context-budget/SKILL.md and read by ahel’s review.

More context is not better. Past a threshold, accuracy falls off a cliff (context rot).

  • Don't dump whole files — read the relevant function/section, not the 2000-line module.
  • Summarize, don't accumulate — replace a 200K-token transcript with a 4K recap of the load-bearing facts.
  • Drop dead context — once a sub-task is done, its detail leaves the window. Keep the decision, drop the trace.
  • State on disk, not in context — progress goes to a file the next turn re-reads, not into an ever-growing prompt. A bloated standing context (CLAUDE.md) taxes every single turn. Trim weekly. If the agent is confidently wrong, suspect the context before the model.

Signals

GitHub stars
754
Forks
126
Last commit
Jul 2026
Advanced
Catalog kind
skill
Gateway key
context-budget-archive228
Source
github.com/archive228/loopkit