Track every cent your agent spends. Set hard limits. Get alerts before you blow your budget.
Autonomous agents with access to APIs, domains, and services can rack up unexpected bills. This skill gives you a financial safety net — log every transaction, enforce spending limits, and always know exactly where you stand.
bash
python3 {baseDir}/scripts/budget.py log --amount 10.00 --merchant "Namecheap" --category "domain" --note "arcself.com registration"
bash
python3 {baseDir}/scripts/budget.py balance
bash
python3 {baseDir}/scripts/budget.py summary
bash
python3 {baseDir}/scripts/budget.py history --limit 10
bash
python3 {baseDir}/scripts/budget.py set-budget --total 200.00
bash
python3 {baseDir}/scripts/budget.py set-alert --threshold 50.00
bash
python3 {baseDir}/scripts/budget.py check --amount 25.00
bash
python3 {baseDir}/scripts/budget.py export --format csv
Budget data is stored in ~/.openclaw/budget-tracker/budget.json by default. Override with --data-dir /path/to/dir.
The JSON structure:
json
{
"budget": {"total": 200.00, "alert_threshold": 50.00},
"transactions": [
{
"id": "txn_001",
"timestamp": "2026-02-15T14:00:00Z",
"amount": 10.00,
"merchant": "Namecheap",
"category": "domain",
"note": "arcself.com"
}
]
}
Use consistent categories: domain, hosting, api, tool, subscription, marketing, other.
When balance drops below the alert threshold, the skill outputs a warning. When a purchase would exceed the remaining budget, it blocks and warns.
check before any purchase to verify budget safetysummary at the start of each day for awareness--alert-threshold to 25% of your total budget