budget-tracker

Track agent spending, set budgets and alerts, and prevent surprise bills. Use when the agent needs to log expenses, check remaining budget, set spending limits, or get cost summaries. Essential for autonomous agents with real money.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "budget-tracker" with this command: npx skills add rogerscristo/budget

Budget Tracker

Track every cent your agent spends. Set hard limits. Get alerts before you blow your budget.

Why This Exists

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.

Commands

Log a transaction

python3 {baseDir}/scripts/budget.py log --amount 10.00 --merchant "Namecheap" --category "domain" --note "arcself.com registration"

Check balance

python3 {baseDir}/scripts/budget.py balance

View spending summary

python3 {baseDir}/scripts/budget.py summary

View recent transactions

python3 {baseDir}/scripts/budget.py history --limit 10

Set budget limit

python3 {baseDir}/scripts/budget.py set-budget --total 200.00

Set alert threshold (warn when balance drops below this)

python3 {baseDir}/scripts/budget.py set-alert --threshold 50.00

Check if a purchase is safe

python3 {baseDir}/scripts/budget.py check --amount 25.00

Export to CSV

python3 {baseDir}/scripts/budget.py export --format csv

Data Storage

Budget data is stored in ~/.openclaw/budget-tracker/budget.json by default. Override with --data-dir /path/to/dir.

The JSON structure:

{
  "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"
    }
  ]
}

Categories

Use consistent categories: domain, hosting, api, tool, subscription, marketing, other.

Alerts

When balance drops below the alert threshold, the skill outputs a warning. When a purchase would exceed the remaining budget, it blocks and warns.

Tips

  • Log transactions immediately after spending — don't batch them
  • Use check before any purchase to verify budget safety
  • Run summary at the start of each day for awareness
  • Set --alert-threshold to 25% of your total budget

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Remote Skill Test

Use when the user wants to test an agent skill on a remote jump host after updating it locally. Triggers on "test skill remotely", "remote test", "远程测试 skill...

Registry SourceRecently Updated
Automation

Ocean Chat

OceanBus-powered P2P messaging, shared address book, 1v1 meetup negotiation, and conversation threading for AI agents. Use when users want to manage contacts...

Registry SourceRecently Updated
Automation

Link Midjourney Instagram

Runs the linkmidjourneyinstagram automation — generate four Midjourney images in Chromium via Playwright, then post each PNG as its own Instagram web post wi...

Registry SourceRecently Updated
Automation

NEXO Brain

Cognitive memory system for AI agents — Atkinson-Shiffrin memory model, semantic RAG, trust scoring, and metacognitive error prevention. Gives your agent per...

Registry SourceRecently Updated