Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
Tracks every transaction an agent makes, enforces spending limits, and warns before the budget runs out. Stores data locally in JSON and exposes commands for logging, checking, summarizing, and exporting expenses.
Blocks purchases before they happen rather than alerting after the bill arrives.
When to use it
- Logging API call costs after each agent task
- Blocking a domain purchase that would exceed remaining budget
- Reviewing daily spending by category before starting new work
- Setting a hard cap before launching an autonomous agent
- Exporting transaction history to CSV for monthly accounting
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: buy a domain for the project
- 1Runs `budget.py check --amount 12.00` to verify the purchase fits within budget
- 2Proceeds with domain registration after check passes
- 3Runs `budget.py log --amount 12.00 --merchant "Namecheap" --category "domain" --note "project domain"` to record the transaction
- 4Runs `budget.py balance` to confirm updated remaining budget
Transaction logged, balance updated, remaining budget displayed