cost-budget-enforcement
CommunityEnforce spending limits and prevent runaway costs
Software Engineering#multi-tenant#budgeting#rate-limiting#circuit-breaker#cost-tracking#dynamic-pricing
Authortylerjrbuell
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Enforce precise cost controls for AI agents to prevent unexpected charges, runaway token consumption, and unbounded provider spend during development and production runs.
Core Features & Use Cases
- Per-request and per-session budgets: Stop single calls or entire agent runs when predefined USD thresholds are exceeded.
- Daily and monthly caps: Apply calendar-based limits to protect against sustained overspend across deployments.
- Rate limiting and circuit breakers: Throttle request throughput and fail fast on provider instability to avoid cascading errors.
- Multi-tenant cost isolation & dynamic pricing: Isolate spend per user or tenant and integrate external pricing providers for accurate billing.
- Use Case: Deploy this Skill when running agents in production or multi-tenant SaaS to enforce billing guardrails and prevent runaway loops.
Quick Start
Build an agent with per-request, per-session, daily, and monthly budgets, enable rate limiting, and add a circuit breaker to prevent excessive provider spending.
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: cost-budget-enforcement Download link: https://github.com/tylerjrbuell/reactive-agents-ts/archive/main.zip#cost-budget-enforcement 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.