← 返回 Skills 市场
101
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install buddy-bills
功能描述
智能收支手帐。记录个人和家庭日常收支、管理固定支出、生成月度汇总报告。 触发场景:用户说"记账"、"花了多少"、"买了xxx花了xxx"、"这个月支出"、"工资发了"、"转账给xxx"、"消费记录"、"月底汇总"、"固定支出"、"收支明细"、"结余多少"、"储蓄率"、"帮我记一笔"、"调出账单"、"查看消费"等与...
使用说明 (SKILL.md)
智能收支手帐
新用户引导
检测方式:首次触发时检查数据目录下 finance-records/ 是否存在。
- 不存在 → 判定为新用户,执行引导流程
- 已存在 → 直接处理用户请求
新用户引导流程:
- 发送欢迎语:
💰 欢迎使用智能收支手帐!
我可以帮你:
📝 随口记账 — 直接说"午饭花了35元",我自动记好
📊 查看消费 — "这个月花了多少?""餐饮超了吗?"
📅 月底报告 — 每月自动生成完整收支汇总
🔄 固定支出 — 房贷、工资等按规则自动录入
开始前,我需要了解你的基本情况:
1. 月收入大概是多少?工资几号发?
2. 每月有哪些固定支出?(房贷、车贷、保险等)
3. 有年付的固定支出吗?(物业费、车位费等)
可以逐条回答,也可以一起说 😊
-
根据用户回答,依次完成:
- 创建
finance-records/目录结构 - 写入
收入/收入配置.yaml - 写入
固定支出配置.yaml(仅写入用户提供的信息,不预设金额) - 创建当月各分类目录
- 初始化
index.yaml
- 创建
-
完成后告知用户可以开始记账。
数据存储路径
{workspace}/finance-records/
查询优先级(重要)
- 先读
summary/YYYY/MM.yaml(月度汇总,已存在则直接用) - 汇总不存在时读
index.yaml(总索引) - 需要明细时才读对应分类的月份文件
数据结构详见 data-schema.md
记账规则
自然语言解析
用户随口说即可记录,AI 自动提取金额、商户、日期、分类。 不确定时询问用户确认,不要猜测。
分类体系
常用分类:餐饮 / 生活购物 / 医疗 / 通讯 / 交通 / 娱乐 / 房贷 / 家庭转账 / 医保 / 收入
固定支出自动录入
读取 finance-records/固定支出配置.yaml,按配置中的规则自动录入。
- 每月固定支出:按配置的发放日/扣款日触发
- 年付项目:用户告知缴费后手动录入
- 配置文件不存在时,提示用户先完成初始化
月度汇总生成规则
- 触发时机:每月最后一天,或用户主动要求
- 生成路径:
summary/YYYY/MM.yaml - 内容:收支总览 + 每周明细 + 分类排行 + 统计分析 + 环比对比
- 生成后:同步更新
index.yaml总索引
数据录入后必须同步更新
每次录入新数据后,必须同步更新:
- 对应分类的月份文件(
分类/YYYY/MM.yaml) - 对应分类的年度索引(
分类/index.yaml) - 总索引(
index.yaml) - 当月汇总文件(
summary/YYYY/MM.yaml,若已存在)
数据修正规则
用户说"刚才记错了"、"修改xxx"、"删除xxx"时:
- 读取对应文件,找到该条记录
- 展示原始数据,让用户确认修改内容
- 修改后同步更新所有关联文件(同上方同步规则)
- 告知用户修改结果
数据安全
- 所有数据本地存储,严禁上传至任何网络服务
- 财务数据属于用户隐私,不在任何公开场合引用
安全使用建议
This skill appears to do only local bookkeeping and asks for no credentials, which is good. Before installing: confirm which workspace path the agent will use (so you know where sensitive financial YAML files will be stored); ensure the agent is sandboxed and cannot arbitrarily exfiltrate files (the SKILL.md forbids uploads but cannot enforce it); consider encrypting or backing up the finance-records directory if you store real finances; review and confirm any automatic fixed-cost rules before enabling automatic monthly entries.
功能分析
Type: OpenClaw Skill
Name: buddy-bills
Version: 1.0.0
The 'buddy-bills' skill is a personal finance assistant designed to manage income and expenses through local YAML files. It includes explicit instructions in SKILL.md to keep all data local and private, forbidding any network uploads. The logic focuses on structured file I/O within a specific workspace directory (finance-records/) and lacks any indicators of malicious execution, data exfiltration, or unauthorized access.
能力评估
Purpose & Capability
The name/description (personal ledger: record expenses, fixed costs, monthly summaries) matches the instructions: create/read/write finance-records/ files, parse natural language entries, and generate summaries. No unrelated credentials, binaries, or installs are requested.
Instruction Scope
Instructions operate only on {workspace}/finance-records/ (creating directories and YAML files, reading indexes and summaries). This is appropriate for a local ledger. Note: the SKILL.md asserts 'data must not be uploaded' (good practice) but that is an instruction only — it cannot be enforced by the skill itself; the agent/platform still must prevent network exfiltration.
Install Mechanism
No install spec or code files are present (instruction-only). Nothing is downloaded or written to disk by an installer — lowest install risk.
Credentials
No environment variables, credentials, or external config paths are requested. All required data lives under the declared workspace path, which is proportionate to the functionality.
Persistence & Privilege
Skill is not always-enabled and does not request elevated or cross-skill configuration. It reads/writes only its own workspace subtree; it does not modify other skills or system-wide settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install buddy-bills - 安装完成后,直接呼叫该 Skill 的名称或使用
/buddy-bills触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of smart-expense-tracker:
- Added new smart expense tracker skill for personal and family income/expense logging and management.
- Supports fast natural language entry, fixed costs configuration, and monthly summary reporting.
- All records are stored locally in structured YAML files; no network or cloud sync.
- Includes user onboarding and guided setup for new users.
- Modular data schema, category system, and fixed costs rules included via references.
元数据
常见问题
账单伙伴 是什么?
智能收支手帐。记录个人和家庭日常收支、管理固定支出、生成月度汇总报告。 触发场景:用户说"记账"、"花了多少"、"买了xxx花了xxx"、"这个月支出"、"工资发了"、"转账给xxx"、"消费记录"、"月底汇总"、"固定支出"、"收支明细"、"结余多少"、"储蓄率"、"帮我记一笔"、"调出账单"、"查看消费"等与... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 101 次。
如何安装 账单伙伴?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install buddy-bills」即可一键安装,无需额外配置。
账单伙伴 是免费的吗?
是的,账单伙伴 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
账单伙伴 支持哪些平台?
账单伙伴 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 账单伙伴?
由 kiss1952(@kiss1952)开发并维护,当前版本 v1.0.0。
推荐 Skills