AI-powered personal finance management system - track expenses, manage budgets, analyze spending patterns, and get smart financial recommendations
Your AI-powered Chief Financial Officer for personal finance management.
clawhub install personal-cfo
Via npm (Recommended)
npm install -g openclaw-personal-cfo
Via GitHub
git clone https://github.com/ZhenRobotics/openclaw-personal-cfo.git
cd openclaw-personal-cfo
npm install
npm run build
cfo help
AUTO-TRIGGER when user's message contains:
budget, expense, income, finance, spending, money, financial, 预算, 支出, 收入, 财务TRIGGER EXAMPLES:
DO NOT USE when:
Complete personal finance management solution:
Personal CFO uses local JSON storage at ~/openclaw-personal-cfo/data/ by default.
All commands are available through three CLI aliases:
openclaw-personal-cfo (full name)personal-cfo (simplified)cfo (short alias)Add Income:
cfo add income <amount> <category> [description]
Add Expense:
cfo add expense <amount> <category> [description]
Example:
cfo add income 5000 salary "Monthly salary"
cfo add expense 50 food "Lunch at restaurant"
cfo list [limit]
Default shows last 10 transactions.
cfo budget set <category> <amount> <period>
Example:
cfo budget set food 500 monthly
cfo budget set entertainment 200 monthly
cfo budget status
Shows all budgets with current spending and status (safe/warning/exceeded).
Monthly Report:
cfo report monthly [year] [month]
Yearly Report:
cfo report yearly [year]
Financial Analysis:
cfo analyze
Provides comprehensive analysis with recommendations.
salary - Regular employment incomefreelance - Freelance/contract workinvestment - Investment returnsgift - Gifts and red envelopesother-income - Other income sourcesfood - Food and dininghousing - Rent, mortgage, utilitiestransportation - Transit, fuel, car maintenanceentertainment - Movies, games, hobbieshealthcare - Medical expensesutilities - Electricity, water, internetshopping - Clothing, electronicseducation - Books, courses, tuitiontravel - Trips and vacationsother-expense - Other expensesdaily - Daily budgetweekly - Weekly budgetmonthly - Monthly budget (most common)yearly - Annual budgetUser: "I spent $50 on lunch and $30 on coffee today"
Agent executes:
cfo add expense 50 food "Lunch"
cfo add expense 30 food "Coffee"
User: "Set monthly budget: $500 food, $200 entertainment, $1000 housing"
Agent executes:
cfo budget set food 500 monthly
cfo budget set entertainment 200 monthly
cfo budget set housing 1000 monthly
User: "How am I doing financially this month?"
Agent executes:
cfo analyze
Shows spending breakdown, budget status, and recommendations.
User: "Show me my financial report for January 2026"
Agent executes:
cfo report monthly 2026 1
~/openclaw-personal-cfo/data/transactions.json~/openclaw-personal-cfo/data/budgets.json~/openclaw-personal-cfo/data/config.jsonSet custom location via environment variable:
export CFO_DATA_DIR="/path/to/custom/data"
Personal CFO can also be used as a library:
import { PersonalCFO } from 'openclaw-personal-cfo';
const cfo = new PersonalCFO();
// Add transaction
await cfo.transactions.createTransaction(
'expense',
'food',
50,
'Lunch',
new Date()
);
// Set budget
await cfo.budgets.createBudget('food', 500, 'monthly');
// Generate report
const report = await cfo.reports.generateMonthlyReport(2026, 1);
console.log(report);
Error: command not found: cfo
Solution:
npm install -g openclaw-personal-cfo
Error: EACCES: permission denied
Solution:
mkdir -p ~/openclaw-personal-cfo/data
chmod 755 ~/openclaw-personal-cfo/data
Error: Invalid category
Solution: Check available categories with:
cfo help
When using this skill, agents should:
DO:
DON'T:
Initial release with core features:
Project Status: ✅ Production Ready
License: MIT
Author: @ZhenStaff