ai-bill-intelligence

Review·Scanned 2/17/2026

This skill implements a real-time AI API usage dashboard and collector that reads OpenClaw session data and writes results to ./dist/usage.json. It reads process.env.OPENCLAW_SESSIONS (default '/root/.openclaw/agents/main/sessions/sessions.json') and instructs running systemctl start ai-bill ai-bill-collector.

from clawhub.ai·v2.0.0·544.4 KB·0 installs
Scanned from 2.0.0 at baf0213 · Transparency log ↗
$ vett add clawhub.ai/fumarole16-afk/ai-bill-intelligenceReview findings below

AI Bill Intelligence

Real-time AI API usage tracking and cost monitoring dashboard for OpenClaw.

Quick Start

  1. Install the skill
  2. Configure your API balances in vault.json
  3. Start the services: systemctl start ai-bill ai-bill-collector
  4. View dashboard at http://localhost:8003

Configuration

Edit vault.json to set your initial balances:

{
  "openai": 10.0,
  "claude": 20.0,
  "kimi": 15.0,
  "deepseek": 8.0,
  "grok": 10.0,
  "gemini": 0
}

Services

  • ai-bill.service: Web dashboard (port 8003)
  • ai-bill-collector.service: Usage data collector (updates every 30s)

Usage

The collector automatically reads OpenClaw session data and calculates costs in real-time. View the dashboard to see:

  • Real-time spending by provider
  • Remaining balances
  • Token usage statistics
  • Cost trends

Pricing

Default pricing is configured in prices.json. Update this file to match current API rates.

Troubleshooting

Check service status:

systemctl status ai-bill ai-bill-collector

View collector logs:

journalctl -u ai-bill-collector -f