budget-guard
CommunityPre‑flight token budget check to prevent overruns
AuthorDojoGenesis
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It prevents costly overruns by evaluating remaining token budgets across query, session, and monthly tiers before an expensive AI operation proceeds.
Core Features & Use Cases
- Multi‑tier Budget Evaluation: Queries query, session, and monthly token limits in a single call.
- Category‑Based Cost Multipliers: Adjusts estimated token usage based on operation type (web, compute, file, memory).
- Decision Matrix: Returns APPROVE, WARN, or BLOCK decisions with detailed utilization metrics.
- Use Cases: Pre‑flight checks for web searches, heavy compute tasks, file processing pipelines, or any multi‑step AI workflow that could exceed token budgets.
Quick Start
Ask the budget guard to verify if a 2,000‑token web search fits within the current budget.
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: budget-guard Download link: https://github.com/DojoGenesis/gateway/archive/main.zip#budget-guard 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 471,000+ vetted skills library on demand.