← 返回 Skills 市场
116
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install budget-alert-claw
功能描述
支出预警管控虾 — 实时监控预算执行,发现超支或异常消费时自动报红。 当以下情况时使用此 Skill: (1) 需要校验某笔支出申请是否超出预算 (2) 需要批量核对支出流水与预算配置 (3) 需要生成预算执行报告(各部门/项目使用率) (4) 需要检测异常消费(金额异常、频次异常、类目异常) (5) 需要配置预...
使用说明 (SKILL.md)
支出预警管控虾 (budget-alert-claw)
实时监控预算执行,每笔支出自动比对预算余额,临近预警线提前通知,超标立即拦截审批。
核心工作流
1. 加载预算规则
读取用户提供的预算配置(Excel/CSV 或自然语言描述),建立多维度规则库:
- 维度:部门、项目、费用类别
- 时间周期:月度/季度/年度
- 预警阈值:默认 80%(黄灯)/ 100%(红灯),可自定义
2. 接收支出申请
提取关键字段:金额、归属维度(部门/项目)、费用类别、申请人、日期
自然语言输入示例:
- "市场部申请 5 万广告费,3 月份"
- "帮我看看研发部差旅费超了没"
3. 预算余额计算
可用余额 = 预算总额 - 已使用金额 - 待审批金额
使用率 = (已使用 + 本次申请) / 预算总额 × 100%
4. 分级预警判定
| 状态 | 触发条件 | 处理方式 |
|---|---|---|
| 🟢 绿灯 | 使用率 \x3C 80% | 自动通过 |
| 🟡 黄灯 | 80% ≤ 使用率 \x3C 100% | 通知负责人,允许通过 |
| 🔴 红灯 | 使用率 ≥ 100% | 拦截,升级审批流程 |
5. 异常检测(并行执行)
- 金额异常:超过该类别历史均值 3 倍
- 频次异常:同一申请人短期内高频申请
- 类目异常:费用类别与部门常规支出不符
6. 通知与记录
- 通过飞书消息推送预警通知(使用
message工具) - 记录预警日志,更新预算余额
输入格式
结构化输入(推荐)
预算配置表必填字段:部门/项目、预算总额、预警阈值、时间周期
支出流水必填字段:金额、归属维度、费用类别、申请人、日期
自然语言输入
直接描述支出场景,从对话中提取关键字段。
输出格式
单笔校验结果
【预算校验结果】
申请:{部门} - {费用类别} - {金额}元
预算总额:{总额}元 | 已使用:{已用}元 | 可用余额:{余额}元
使用率:{使用率}% → {🟢/🟡/🔴} {状态说明}
处理建议:{自动通过 / 通知负责人 / 需升级审批}
批量校验结果
汇总表格 + 异常清单,可写入飞书多维表格。
预算执行报告
各维度使用率排行 + 预警项汇总 + 趋势分析。
参考文件
- 预算规则详情 → 见 references/budget-rules.md
- 异常检测规则 → 见 references/anomaly-detection.md
- 通知模板 → 见 references/notification-templates.md
- 批量校验脚本 → 见 scripts/budget-check.sh(需要 Python 3.8+ + pandas)
与其他虾的协作
- bank-reconciliation-claw:对账差异可触发异常预警
- auto-data-analysis-claw:预算执行数据进一步趋势分析
- cross-platform-messenger-claw:多渠道推送预警通知
注意事项
- 未配置预算的维度默认放行,建议设置兜底规则
- 月度预算在月初自动重置,跨月申请注意时间归属
- 预算调整需手动更新配置,暂不支持自动审批流
- 不支持跨币种管控,需手动换算
安全使用建议
This package appears to be a lightweight CSV-based budget checker rather than the full-featured real-time, Excel/NLP/pandas, Feishu-integrated system described in SKILL.md. Before installing or granting access: (1) Confirm whether you need Feishu/other messaging integration — the code does not implement network notifications and no API credentials are requested; do not assume notifications will be sent without verifying where tokens are stored. (2) Verify the expected input format: the script reads CSV with specific columns; Excel or free-text inputs mentioned in docs are not implemented. (3) Ask the publisher to reconcile SKILL.md and files (the docs reference scripts/budget-check.sh and pandas but the repo contains budget-check.py using only stdlib). (4) If you plan to run the script on real budget data, run it in a sandbox first and inspect runtime behavior for any network activity. (5) If you need the claimed notification/NLP features, request an updated release that documents required environment variables, external endpoints, and any third-party dependencies; otherwise treat this as a simple offline CSV checker. Additional info that would change the assessment: presence of a network/notification implementation with declared env vars (benign if declared and reasonable), or an updated SKILL.md that accurately describes the code (reduces concern).
功能分析
Type: OpenClaw Skill
Name: budget-alert-claw
Version: 1.0.0
The budget-alert-claw skill is a legitimate tool for monitoring budget execution and detecting expense anomalies. The core logic is implemented in scripts/budget-check.py, which performs standard CSV processing to calculate budget usage and generate reports without any suspicious network calls, file system manipulations, or obfuscation. The documentation in SKILL.md and the reference files align perfectly with the stated purpose of financial oversight and do not contain any malicious instructions or prompt-injection attempts.
能力评估
Purpose & Capability
The stated purpose (real-time budget monitoring, anomaly detection, automatic Feishu push, Excel and natural-language input) broadly matches a budget-alert tool, but the shipped artifacts are a single CLI Python script that reads CSVs and prints results. SKILL.md/refs mention Excel parsing, pandas, a shell script (scripts/budget-check.sh) and NLP extraction; those are not implemented or present. This mismatch suggests the package does not fully implement the claimed capabilities.
Instruction Scope
SKILL.md instructs pushing notifications to Feishu using a `message` tool and describes extracting budget config from Excel or natural-language input. The provided script only reads CSVs, prints or writes CSV output, and contains no network/notification code or NLP. The instructions therefore give the agent broader operational scope than the code actually performs and are vague about required credentials for notifications.
Install Mechanism
No install spec (instruction-only with a small script). There is no downloader, no external packages forced by an installer. This is low install risk.
Credentials
No environment variables or credentials are declared, yet SKILL.md references sending Feishu messages (which would require API tokens) and collaboration with other 'claws' (which may imply other credentials). Also SKILL.md mentions pandas as a requirement but the Python script uses only stdlib. Missing declared credentials or env vars for notification/integration is a discrepancy and a potential hidden requirement.
Persistence & Privilege
always is false and the skill does not request persistent system privileges or modify other skills. It is a normal, non-persistent CLI-style tool.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install budget-alert-claw - 安装完成后,直接呼叫该 Skill 的名称或使用
/budget-alert-claw触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
初始发布:实时监控预算执行,支持分级预警(绿/黄/红)、异常消费检测、批量校验和飞书通知推送
元数据
常见问题
支出预警管控虾 是什么?
支出预警管控虾 — 实时监控预算执行,发现超支或异常消费时自动报红。 当以下情况时使用此 Skill: (1) 需要校验某笔支出申请是否超出预算 (2) 需要批量核对支出流水与预算配置 (3) 需要生成预算执行报告(各部门/项目使用率) (4) 需要检测异常消费(金额异常、频次异常、类目异常) (5) 需要配置预... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 116 次。
如何安装 支出预警管控虾?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install budget-alert-claw」即可一键安装,无需额外配置。
支出预警管控虾 是免费的吗?
是的,支出预警管控虾 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
支出预警管控虾 支持哪些平台?
支出预警管控虾 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 支出预警管控虾?
由 Ricky(@tujinsama)开发并维护,当前版本 v1.0.0。
推荐 Skills