Context budget

From Archive228/loopkit · View interactive version

Context budget is an AI agent skill from the GitHub repository Archive228/loopkit. Keep the agent's context lean so accuracy doesn't collapse. Use on long sessions, big files, or when the agent starts hallucinating.

How to use this skill

Skill file

Context Budget

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

A bloated standing context (CLAUDE.md) taxes every single turn. Trim weekly. If the agent is confidently wrong, suspect the context before the model.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.