ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified finance Safety 4/5

fal-consumption-audit

审计 fal 账号消耗与用户扣费的一致性。查询 fal 官方账单,交叉比对 fal_tasks 中的用户消耗,汇总积分/现金明细,检测异常。当用户提到"消耗审计"、"账单核对"、"fal 对账"、"用量异常"时使用此 skill。

Why use this skill?

Automate your fal.ai usage auditing. Reconcile platform costs, user billing, and credit transactions to ensure financial accuracy and detect usage anomalies.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/hexiaochun/fal-consumption-audit
Or

What This Skill Does

The fal-consumption-audit skill is a robust financial auditing tool designed for OpenClaw agents to monitor, reconcile, and analyze infrastructure costs against user-side charges. It provides an automated bridge between the platform's official usage reports from fal.ai and the internal accounting records within fal_tasks, PointsDetail, and FinancialTransactions. By aggregating these disparate data points, the skill identifies inconsistencies in billing, flags potential overcharging or undercharging, and detects anomalies in API key usage patterns, ensuring financial integrity for the agent service provider.

Installation

To integrate this auditing capability into your OpenClaw environment, run the following command in your terminal: clawhub install openclaw/skills/skills/hexiaochun/fal-consumption-audit Ensure your FalAccount credentials are correctly configured in your database to allow the skill to access the fal Platform API.

Use Cases

  • Periodic Financial Reconciliation: Automate the monthly or weekly audit of costs incurred via fal.ai vs. revenue generated from user credits.
  • Anomaly Detection: Automatically highlight users or API keys exhibiting unusual spikes in cost_money without corresponding user account deductions.
  • Refund Validation: Verify that refunded tasks are correctly processed across all ledgers, ensuring no double-dipping or missed balance adjustments.
  • Profit Margin Monitoring: Analyze the spread between real-time infrastructure costs and the pricing models configured for end-users.

Example Prompts

  1. "消耗审计:请核对过去七天所有 fal 账号的开销,并对比用户积分明细是否存在异常。"
  2. "用量异常排查:最近系统余额波动较大,请执行一次全面对账,列出所有实际成本与用户扣费不一致的任务。"
  3. "fal 对账报告:汇总本月所有用户的模型消耗情况,并生成一份关于积分扣除是否准确的审计报告。"

Tips & Limitations

  • Time Sensitivity: Always specify a clear start and end date in your audit requests to prevent long-running queries from timing out.
  • Data Consistency: This skill relies on the accurate mapping of api_key across FalAccount and FalTasks tables. If keys are rotated frequently, ensure the linkage is updated promptly.
  • API Rate Limits: Be mindful of fal Platform API rate limits when auditing large date ranges; the skill is optimized for batch-processed reporting rather than high-frequency real-time analysis.
  • Scope: This tool is strictly for consumption auditing. It does not perform automated corrective actions (like force-refunding) to avoid unintended financial discrepancies; it generates reports for administrator review.

Metadata

Stars2387
Views1
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-hexiaochun-fal-consumption-audit": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#audit#finops#fal-ai#reconciliation#billing
Safety Score: 4/5

Flags: external-api, file-read