token-budget-gate
CommunityPrevent surprise token overruns on multi-step AI tasks.
Software Engineering#agent orchestration#token budgeting#cost estimation#token overrun prevention#multi-step task gating#context window management
Authorchrono-meta
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Multi-step and multi-agent AI tasks often silently consume far more tokens than expected, leading to unexpected cost overruns, session limit breaches, and wasted effort with no upfront warning.
Core Features & Use Cases
- Pre-execution cost estimation: Calculates expected token usage for planned tasks using file scope, agent count, step depth, and iteration factors.
- Tiered gate verdicts: Outputs Green/Yellow/Orange/Red verdicts with clear actions, from proceeding without comment to mandatory scope reduction before approval.
- Post-task calibration: Tracks actual vs estimated token usage to improve the accuracy of future cost estimates for the same task type.
- Use Case: A team running parallel agent dispatches across a large codebase can use this skill to flag high-cost runs upfront and automatically suggest narrowing file scope to stay within budget.
Quick Start
Ask the AI to run the token-budget-gate skill to estimate the token cost of your planned multi-agent code review task before starting work.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: token-budget-gate Download link: https://github.com/chrono-meta/forge-harness/archive/main.zip#token-budget-gate Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 537,000+ vetted skills library on demand.