← Back to Skills Marketplace
kiss1952

账单伙伴

by kiss1952 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
101
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install buddy-bills
Description
智能收支手帐。记录个人和家庭日常收支、管理固定支出、生成月度汇总报告。 触发场景:用户说"记账"、"花了多少"、"买了xxx花了xxx"、"这个月支出"、"工资发了"、"转账给xxx"、"消费记录"、"月底汇总"、"固定支出"、"收支明细"、"结余多少"、"储蓄率"、"帮我记一笔"、"调出账单"、"查看消费"等与...
README (SKILL.md)

智能收支手帐

新用户引导

检测方式:首次触发时检查数据目录下 finance-records/ 是否存在。

  • 不存在 → 判定为新用户,执行引导流程
  • 已存在 → 直接处理用户请求

新用户引导流程

  1. 发送欢迎语:
💰 欢迎使用智能收支手帐!

我可以帮你:
📝 随口记账 — 直接说"午饭花了35元",我自动记好
📊 查看消费 — "这个月花了多少?""餐饮超了吗?"
📅 月底报告 — 每月自动生成完整收支汇总
🔄 固定支出 — 房贷、工资等按规则自动录入

开始前,我需要了解你的基本情况:
1. 月收入大概是多少?工资几号发?
2. 每月有哪些固定支出?(房贷、车贷、保险等)
3. 有年付的固定支出吗?(物业费、车位费等)

可以逐条回答,也可以一起说 😊
  1. 根据用户回答,依次完成:

    • 创建 finance-records/ 目录结构
    • 写入 收入/收入配置.yaml
    • 写入 固定支出配置.yaml(仅写入用户提供的信息,不预设金额)
    • 创建当月各分类目录
    • 初始化 index.yaml
  2. 完成后告知用户可以开始记账。


数据存储路径

{workspace}/finance-records/

查询优先级(重要)

  1. 先读 summary/YYYY/MM.yaml(月度汇总,已存在则直接用)
  2. 汇总不存在时读 index.yaml(总索引)
  3. 需要明细时才读对应分类的月份文件

数据结构详见 data-schema.md

记账规则

自然语言解析

用户随口说即可记录,AI 自动提取金额、商户、日期、分类。 不确定时询问用户确认,不要猜测。

分类体系

详见 categories.md

常用分类:餐饮 / 生活购物 / 医疗 / 通讯 / 交通 / 娱乐 / 房贷 / 家庭转账 / 医保 / 收入

固定支出自动录入

读取 finance-records/固定支出配置.yaml,按配置中的规则自动录入。

  • 每月固定支出:按配置的发放日/扣款日触发
  • 年付项目:用户告知缴费后手动录入
  • 配置文件不存在时,提示用户先完成初始化

月度汇总生成规则

  • 触发时机:每月最后一天,或用户主动要求
  • 生成路径summary/YYYY/MM.yaml
  • 内容:收支总览 + 每周明细 + 分类排行 + 统计分析 + 环比对比
  • 生成后:同步更新 index.yaml 总索引

数据录入后必须同步更新

每次录入新数据后,必须同步更新:

  1. 对应分类的月份文件(分类/YYYY/MM.yaml
  2. 对应分类的年度索引(分类/index.yaml
  3. 总索引(index.yaml
  4. 当月汇总文件(summary/YYYY/MM.yaml,若已存在)

数据修正规则

用户说"刚才记错了"、"修改xxx"、"删除xxx"时:

  1. 读取对应文件,找到该条记录
  2. 展示原始数据,让用户确认修改内容
  3. 修改后同步更新所有关联文件(同上方同步规则)
  4. 告知用户修改结果

数据安全

  • 所有数据本地存储,严禁上传至任何网络服务
  • 财务数据属于用户隐私,不在任何公开场合引用
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install buddy-bills
  3. After installation, invoke the skill by name or use /buddy-bills
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug buddy-bills
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 账单伙伴?

智能收支手帐。记录个人和家庭日常收支、管理固定支出、生成月度汇总报告。 触发场景:用户说"记账"、"花了多少"、"买了xxx花了xxx"、"这个月支出"、"工资发了"、"转账给xxx"、"消费记录"、"月底汇总"、"固定支出"、"收支明细"、"结余多少"、"储蓄率"、"帮我记一笔"、"调出账单"、"查看消费"等与... It is an AI Agent Skill for Claude Code / OpenClaw, with 101 downloads so far.

How do I install 账单伙伴?

Run "/install buddy-bills" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 账单伙伴 free?

Yes, 账单伙伴 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 账单伙伴 support?

账单伙伴 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 账单伙伴?

It is built and maintained by kiss1952 (@kiss1952); the current version is v1.0.0.

💬 Comments