samotech/skills-tree/budget-management
Claude Code and agent skill by samotech/skills-tree
- community
Checking that the SKILL.md file is still in the repository.
Track and enforce declared resource budgets across an agent workflow, including token, time, tool, or monetary limits.
Install
npx vskill@latest install samotech/skills-tree/budget-managementSKILL.md
The same SKILL.md was published earlier as samotech/skills-tree/budget-management.
[Image: Dependency Status]
Budget Management
Category: orchestration Skill Level: advanced Stability: stable Added: 2025-03
Description
Track and enforce declared resource budgets across an agent workflow, including token, time, tool, or monetary limits. The orchestration step is contract-first: validate state and inputs before acting, and verify the resulting state transition instead of trusting acknowledgements.
Inputs / Outputs
| Direction | Field | Type | Contract | |
|---|---|---|---|---|
| Input | budget | object | Declared ceilings per resource (tokens, time, calls, currency) | |
| Input | ledger | list of object | Consumption records per step with their costs | |
| Output | remaining | object | Remaining budget per resource against the ceilings | |
| Output | action | enum | continue, degrade, or halt, with the binding constraint named |
Procedure
- Declare the ceilings per resource before the workflow starts; estimates are separate from ceilings.
- Record consumption per step with its cost and the step identifier.
- Compare the running ledger against the ceilings before each expensive step.
- Enforce hard ceilings where the runtime supports them; surface estimates as estimates.
- Degrade or halt when a ceiling is reached, naming the binding constraint.
- Report final consumption with the ledger so the budget decision is auditable.
Example
Related Skills
- Workflow Cost Ceiling - workflow-level spending bounds
- Cost-Aware Model Routing - route steps to affordable models
- Least Privilege Scoping - bound what paid calls may access
Failure Modes
- Estimates treated as ceilings, so consumption silently overshoots.
- No per-step ledger, making the budget decision unauditable.
- Continuing past a hard ceiling because an estimate looked safe.
- Halting without naming the binding constraint or the recovery path.
Changelog
- v2 (2026-11): Structural modernization; added the input/output contract table, a skill-specific execution procedure, a deterministic example, and corpus-verified related links (replaced the unresolvable cross-category related references).
- v1 (2025-03): Initial entry.
Evidence
- https://agentskills.io/specification
Evidence status: implementation guidance only; runtime behavior must be checked against the executing framework's documentation; no benchmark claim is made without reproducible evidence.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagent-skills/budget-management/SKILL.md
Popularity
- Repository stars
- 5
- Repository forks
- 3
- 7-day trend score
- 5
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (Cursor)
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/samotech/skills-tree/budget-management)