闲社服务运行正常AI智能体自动化平台
b

预算追踪器

技能标识:budget-tracker

Track agent spending, set budgets and alerts, and prevent surprise bills. Use when the agent needs to log expenses, check remaining budget, set spending limits, or get cost summaries. Essential for autonomous agents with real money.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

预算追踪器

预算追踪器

追踪你的智能体花费的每一分钱。设置硬性限额。在预算超支前收到警报。

为什么需要这个功能

拥有API、域名和服务访问权限的自主智能体可能会产生意外账单。此技能为你提供财务安全网——记录每一笔交易,强制执行支出限额,并始终清楚你的财务状况。

命令

记录交易

bash python3 {baseDir}/scripts/budget.py log --amount 10.00 --merchant Namecheap --category domain --note arcself.com registration

查询余额

bash python3 {baseDir}/scripts/budget.py balance

查看支出汇总

bash python3 {baseDir}/scripts/budget.py summary

查看近期交易

bash python3 {baseDir}/scripts/budget.py history --limit 10

设置预算限额

bash python3 {baseDir}/scripts/budget.py set-budget --total 200.00

设置警报阈值(当余额低于此值时发出警告)

bash python3 {baseDir}/scripts/budget.py set-alert --threshold 50.00

检查购买是否安全

bash python3 {baseDir}/scripts/budget.py check --amount 25.00

导出为CSV

bash python3 {baseDir}/scripts/budget.py export --format csv

数据存储

预算数据默认存储在~/.openclaw/budget-tracker/budget.json。可通过--data-dir /path/to/dir覆盖。

JSON结构:
json
{
budget: {total: 200.00, alert_threshold: 50.00},
transactions: [
{
id: txn_001,
timestamp: 2026-02-15T14:00:00Z,
amount: 10.00,
merchant: Namecheap,
category: domain,
note: arcself.com
}
]
}

分类

使用一致的分类:domain(域名)、hosting(托管)、api(API)、tool(工具)、subscription(订阅)、marketing(营销)、other(其他)。

警报

当余额低于警报阈值时,该技能会输出警告。当购买行为将超出剩余预算时,会阻止并发出警告。

提示

  • - 消费后立即记录交易——不要批量处理
  • 在任何购买前使用check验证预算安全性
  • 每天开始时运行summary以了解情况
  • 将--alert-threshold设置为总预算的25%

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 arc-budget-tracker-1776419946 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 arc-budget-tracker-1776419946 技能

通过命令行安装

skillhub install arc-budget-tracker-1776419946

下载

⬇ 下载 budget-tracker v1.0.0(免费)

文件大小: 4.11 KB | 发布时间: 2026-4-17 18:22

v1.0.0 最新 2026-4-17 18:22
Initial release of arc-budget-tracker.

- Track all agent expenses with detailed logging and categories.
- Set overall spending limits and custom alert thresholds to avoid overages.
- View real-time balance, history, and summaries of spending.
- Check if new purchases are allowed within the current budget.
- Export transaction data to CSV and customize data storage location.
- Warnings for low balance and blocked transactions over budget.
返回顶部