文件预览

SKILL.md

查看 OpenClaw Cost Auditor 技能包中的文件内容。

文件内容

SKILL.md

---
summary: "OpenClaw Cost Auditor: Track API usage, model costs, token burn, and revenue for OpenClaw deployments."
description: "Parse logs, query API metrics, forecast bills, optimize spend with reports & alerts."
triggers:
  - "audit openclaw costs"
  - "openclaw billing"
  - "check API spend"
  - "token usage report"
read_when:
  - "openclaw cost" in message
  - "API auditor" in message
---

# OpenClaw Cost Auditor v1.0.0

## 🎯 Purpose
- Daily/weekly cost reports
- Top models/users by tokens
- Cost per query forecasts
- Optimization recs (quantize, prune)

## 🚀 Quick Start
```
!openclaw-cost-auditor --period last7d --format pdf
```

## Files
- `scripts/audit.py`: Log parser & calculator
- `templates/report.md`: Cost dashboard template

## Integrations
OpenClaw logs, Grok/xAI API, custom providers.