Context Budget

Pick the optimal set of skills/docs to load for a task under a token budget — an exact 0/1 knapsack (maximize relevance while summed token cost stays under budget), not an LLM "decide what's relevant" call. Deterministic, stdlib, 0 cloud tokens. Cuts the always-on context cost (loading the whole skill catalog every turn). Use when you want to load only the most relevant context within a budget, or to decide which skills/docs an agent should read for a task.

zedarvates Updated

File contents

zedarvates/botte-secrete/tree/main/skills/context_budget commit 4f4e87361f

Frequently asked questions

npx skillmds@latest add zedarvates/context-budget