Personal Bookkeeper
/install personal-bookkeeper
Personal Bookkeeper
A command-line finance toolkit for individuals and freelancers. Personal Bookkeeper provides 12 dedicated commands for recording transactions, categorizing expenses, checking balances, tracking trends, forecasting budgets, generating reports, and managing tax notes — all backed by simple timestamped log files.
Commands
| Command | Description |
|---|---|
personal-bookkeeper record \x3Cinput> |
Record a financial transaction (income, expense, transfer). Without args, shows recent record entries. |
personal-bookkeeper categorize \x3Cinput> |
Categorize a transaction (food, rent, transport, entertainment). Without args, shows recent entries. |
personal-bookkeeper balance \x3Cinput> |
Log a balance snapshot (account balance, net worth checkpoint). Without args, shows recent balance entries. |
personal-bookkeeper trend \x3Cinput> |
Record a spending or income trend observation. Without args, shows recent trend entries. |
personal-bookkeeper forecast \x3Cinput> |
Log a budget forecast or projection. Without args, shows recent forecast entries. |
personal-bookkeeper export-report \x3Cinput> |
Save a report entry (monthly summary, quarterly review). Without args, shows recent export-report entries. |
personal-bookkeeper budget-check \x3Cinput> |
Record a budget check (over/under budget notes). Without args, shows recent budget-check entries. |
personal-bookkeeper summary \x3Cinput> |
Log a financial summary (weekly recap, category totals). Without args, shows recent summary entries. |
personal-bookkeeper alert \x3Cinput> |
Record a financial alert (overspending, low balance, due date). Without args, shows recent alert entries. |
personal-bookkeeper history \x3Cinput> |
Log a history note or view recent history entries. |
personal-bookkeeper compare \x3Cinput> |
Record period-over-period comparisons (this month vs last). Without args, shows recent compare entries. |
personal-bookkeeper tax-note \x3Cinput> |
Save tax-related notes (deductible expenses, filing reminders). Without args, shows recent tax-note entries. |
personal-bookkeeper stats |
Show summary statistics across all categories — entry counts per log file, total entries, and data size. |
personal-bookkeeper export \x3Cfmt> |
Export all data to a file. Supported formats: json, csv, txt. |
personal-bookkeeper search \x3Cterm> |
Search across all log files for a keyword (case-insensitive). |
personal-bookkeeper recent |
Show the 20 most recent entries from the activity history log. |
personal-bookkeeper status |
Health check — version, data directory, total entries, disk usage, last activity. |
personal-bookkeeper help |
Display the full help message with all available commands. |
personal-bookkeeper version |
Print the current version (v2.0.0). |
Data Storage
All data is stored as plain-text log files in ~/.local/share/personal-bookkeeper/:
- Each command writes to its own log file (e.g.
record.log,categorize.log,tax-note.log) - Every action is also recorded in
history.logwith a timestamp - Entries use the format
YYYY-MM-DD HH:MM|\x3Cinput>(pipe-delimited) - Export produces files at
~/.local/share/personal-bookkeeper/export.{json,csv,txt} - No database required — all data is grep-friendly and human-readable
Requirements
- Bash 4+ (uses
set -euo pipefail) - Standard Unix utilities:
date,wc,du,head,tail,grep,cat,cut - No external dependencies — pure bash, no Python, no API keys
- Works on Linux and macOS
When to Use
- Daily expense tracking — Use
recordevery time you make a purchase, thencategorizeto tag it (food, transport, entertainment) for end-of-month analysis. - Monthly budget reviews — Run
budget-checkto note whether you're over or under budget,summaryto log category totals, andcompareto see this month vs. last. - Tax season preparation — Use
tax-notethroughout the year to flag deductible expenses, thenexport csvto hand your accountant a clean spreadsheet. - Financial forecasting — Log
forecastentries with projected income and expenses for upcoming months, thentrendto track whether actuals match your projections. - Freelancer income management —
recordeach invoice payment,balanceto snapshot your account after deposits, andalertto flag overdue invoices or low cash reserves.
Examples
# Record a grocery expense
personal-bookkeeper record "Groceries at Costco -¥358.50"
# Categorize a transaction
personal-bookkeeper categorize "Costco receipt -> food/groceries"
# Check if you're on budget this month
personal-bookkeeper budget-check "March budget: spent ¥4200 of ¥5000 limit"
# Add a tax-deductible note
personal-bookkeeper tax-note "Home office internet bill ¥199/mo — deductible"
# Export everything to CSV for spreadsheet review
personal-bookkeeper export csv
Powered by BytesAgain | bytesagain.com | [email protected]
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install personal-bookkeeper - 安装完成后,直接呼叫该 Skill 的名称或使用
/personal-bookkeeper触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Personal Bookkeeper 是什么?
Record double-entry bookkeeping for personal finances. Use when logging transactions, categorizing accounts, balancing ledgers, trending expenses. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 463 次。
如何安装 Personal Bookkeeper?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install personal-bookkeeper」即可一键安装,无需额外配置。
Personal Bookkeeper 是免费的吗?
是的,Personal Bookkeeper 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Personal Bookkeeper 支持哪些平台?
Personal Bookkeeper 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Personal Bookkeeper?
由 BytesAgain2(@ckchzh)开发并维护,当前版本 v2.0.1。