contextbudget

v0.1.0
io.github.CloudCorpRecords/contextbudget Checked 1 day ago Published 1 month ago

Token budget auditor for agent context: per-file estimates, top offenders, exclusion advice.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

budget_path

Estimate the token cost of a directory tree for an agent context window. Returns per-file and per-directory estimates using a deterministic character-based estimator (stated as an estimate, never an exact tokenizer count), the largest files, totals against a default 200k budget, and which subtrees to exclude. Verdict WITHIN-BUDGET or OVER-BUDGET.

ParameterTypeDescription
path *stringTarget path to check