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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/hexiaochun/fal-consumption-auditWhat 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_moneywithout 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
- "消耗审计:请核对过去七天所有 fal 账号的开销,并对比用户积分明细是否存在异常。"
- "用量异常排查:最近系统余额波动较大,请执行一次全面对账,列出所有实际成本与用户扣费不一致的任务。"
- "fal 对账报告:汇总本月所有用户的模型消耗情况,并生成一份关于积分扣除是否准确的审计报告。"
Tips & Limitations
- Time Sensitivity: Always specify a clear
startandenddate in your audit requests to prevent long-running queries from timing out. - Data Consistency: This skill relies on the accurate mapping of
api_keyacrossFalAccountandFalTaskstables. 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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-hexiaochun-fal-consumption-audit": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api, file-read
Related Skills
水浒传故事小人书
水浒传故事小人书创建。使用 Nano Banana Pro 模型生成手绘卡通风格的水浒传故事信息图。当用户想要创建水浒传故事插画、小人书、信息图时使用此 skill。
style-extractor
从参考剧本或参考素材中提取统一风格锚点(STYLE_BASE),确保全剧视觉一致性。当需要匹配参考风格、提取画风、建立风格基准、生成风格资产包时使用。
视频链接解析
解析视频分享链接,获取无水印视频下载地址。当用户想要下载视频、解析抖音/快手/小红书/B站链接、获取无水印视频时使用此 skill。
vidu-video
使用 Vidu Q3 Pro 模型生成视频。当用户想要文生视频、生成带音频的视频,或提到 vidu 时使用此 skill。
character-creator
创建AI角色的完整流程,包括生成详细角色描述、文生图肖像和多角度参考图。使用即梦4.5模型。当用户要求创建角色、生成人物立绘、制作角色参考图、或需要多角度人物图时使用此技能。