Openclaw Skill
by @zhenstaff
AI-powered personal finance management system - track expenses, manage budgets, analyze spending patterns, and get smart financial recommendations
clawhub install personal-cfo๐ About This Skill
name: personal-cfo description: AI-powered personal finance management system - track expenses, manage budgets, analyze spending patterns, and get smart financial recommendations tags: [finance, personal-finance, budget, expense-tracker, budget-management, financial-analytics, money-management, ai-finance]
Personal CFO
Your AI-powered Chief Financial Officer for personal finance management.
Installation
Step 1: Install the Skill
clawhub install personal-cfo
Step 2: Install the CLI Tool
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
Step 3: Verify Installation
cfo help
When to Use This Skill
AUTO-TRIGGER when user's message contains:
budget, expense, income, finance, spending, money, financial, ้ข็ฎ, ๆฏๅบ, ๆถๅ
ฅ, ่ดขๅกTRIGGER EXAMPLES:
DO NOT USE when:
Core Features
Complete personal finance management solution:
Agent Usage Guide
Important Notes
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)Primary Commands
#### Add Transaction
Add Income:
cfo add income [description]
Add Expense:
cfo add expense [description]
Example:
cfo add income 5000 salary "Monthly salary"
cfo add expense 50 food "Lunch at restaurant"
#### List Transactions
cfo list [limit]
Default shows last 10 transactions.
#### Set Budget
cfo budget set
Example:
cfo budget set food 500 monthly
cfo budget set entertainment 200 monthly
#### Check Budget Status
cfo budget status
Shows all budgets with current spending and status (safe/warning/exceeded).
#### Generate Reports
Monthly Report:
cfo report monthly [year] [month]
Yearly Report:
cfo report yearly [year]
Financial Analysis:
cfo analyze
Provides comprehensive analysis with recommendations.
Categories
Income Categories
salary - Regular employment incomefreelance - Freelance/contract workinvestment - Investment returnsgift - Gifts and red envelopesother-income - Other income sourcesExpense Categories
food - 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 expensesBudget Periods
daily - Daily budgetweekly - Weekly budgetmonthly - Monthly budget (most common)yearly - Annual budgetUsage Examples
Example 1: Daily Expense Tracking
User: "I spent $50 on lunch and $30 on coffee today"
Agent executes:
cfo add expense 50 food "Lunch"
cfo add expense 30 food "Coffee"
Example 2: Monthly Budget Setup
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
Example 3: Financial Analysis
User: "How am I doing financially this month?"
Agent executes:
cfo analyze
Shows spending breakdown, budget status, and recommendations.
Example 4: Generate Report
User: "Show me my financial report for January 2026"
Agent executes:
cfo report monthly 2026 1
Data Storage
Default Location
~/openclaw-personal-cfo/data/transactions.json~/openclaw-personal-cfo/data/budgets.json~/openclaw-personal-cfo/data/config.jsonCustom Data Directory
Set custom location via environment variable:
export CFO_DATA_DIR="/path/to/custom/data"
Technical Specifications
Programmatic Usage
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);
Troubleshooting
Issue 1: Command Not Found
Error: command not found: cfo
Solution:
npm install -g openclaw-personal-cfo
Issue 2: Data Directory Permission
Error: EACCES: permission denied
Solution:
mkdir -p ~/openclaw-personal-cfo/data
chmod 755 ~/openclaw-personal-cfo/data
Issue 3: Invalid Category
Error: Invalid category
Solution: Check available categories with:
cfo help
Agent Behavior Guidelines
When using this skill, agents should:
DO:
DON'T:
Privacy & Security
Full Documentation
Version History
v1.0.0 (2026-03-08)
Initial release with core features:
Project Status: โ Production Ready
License: MIT
Author: @ZhenStaff
Support: https://github.com/ZhenRobotics/openclaw-personal-cfo/issues
ClawHub: https://clawhub.ai/ZhenStaff/personal-cfo
๐ Tips & Best Practices
Issue 1: Command Not Found
Error: command not found: cfo
Solution:
npm install -g openclaw-personal-cfo
Issue 2: Data Directory Permission
Error: EACCES: permission denied
Solution:
mkdir -p ~/openclaw-personal-cfo/data
chmod 755 ~/openclaw-personal-cfo/data
Issue 3: Invalid Category
Error: Invalid category
Solution: Check available categories with:
cfo help