← 返回 Skills 市场
Intelligent Budget Tracker
作者
Eric Kariuki
· GitHub ↗
· v1.0.1
2757
总下载
4
收藏
9
当前安装
2
版本数
在 OpenClaw 中安装
/install intelligent-budget-tracker
功能描述
Intelligent budget tracking and financial management library for AI agents - expense tracking, income management, budgets, savings goals, and LLM-powered insights
使用说明 (SKILL.md)
\r \r
Agent Money Tracker\r
\r A TypeScript library for AI agents to track expenses, income, budgets, and savings goals with LLM-powered natural language parsing. No frontend required - designed for programmatic use by agents and bots.\r \r
Installation\r
\r
npm install agent-money-tracker\r
```\r
\r
---\r
\r
## Usage\r
\r
### Initialize the Budget Tracker\r
\r
```typescript\r
import { clawhub } from 'agent-money-tracker';\r
\r
// Initialize (required before any operations)\r
await clawhub.initialize();\r
\r
// Or with custom storage path\r
await clawhub.initialize('/path/to/data');\r
```\r
\r
### Expense Tracking\r
\r
```typescript\r
// Add an expense\r
await clawhub.addExpense(50, 'Food & Dining', 'Grocery shopping', {\r
date: '2026-01-31',\r
tags: ['weekly', 'essentials'],\r
merchant: 'Whole Foods'\r
});\r
\r
// Natural language input\r
await clawhub.addFromNaturalLanguage('spent $45 on uber yesterday');\r
\r
// Get recent expenses\r
const expenses = clawhub.getExpenses({ limit: 10 });\r
\r
// Filter by category and date range\r
const foodExpenses = clawhub.getExpenses({\r
category: 'Food & Dining',\r
startDate: '2026-01-01',\r
endDate: '2026-01-31'\r
});\r
```\r
\r
### Income Tracking\r
\r
```typescript\r
// Add income\r
await clawhub.addIncome(5000, 'Salary', 'January salary', {\r
date: '2026-01-15'\r
});\r
\r
// Add freelance income\r
await clawhub.addIncome(500, 'Freelance', 'Website project');\r
\r
// Get all income\r
const income = clawhub.getIncome();\r
```\r
\r
### Budget Management\r
\r
```typescript\r
// Create a monthly budget\r
await clawhub.createBudget('Food Budget', 'Food & Dining', 500, 'monthly', 0.8);\r
\r
// Check budget status\r
const status = clawhub.getBudgetStatus();\r
// Returns: [{ budgetName, spent, limit, remaining, percentageUsed, status }]\r
\r
// Get budget alerts\r
const alerts = clawhub.checkBudgetAlerts();\r
// Returns warnings when threshold or limit exceeded\r
\r
// Get smart budget suggestions\r
const suggestions = clawhub.suggestBudgetLimits();\r
// Returns: [{ category, suggested, average, max }]\r
```\r
\r
### Savings Goals\r
\r
```typescript\r
// Create a savings goal\r
await clawhub.createGoal('Emergency Fund', 10000, {\r
description: '6 months expenses',\r
deadline: '2026-12-31',\r
priority: 'high'\r
});\r
\r
// Add contribution\r
await clawhub.contributeToGoal('goal_abc123', 500, 'January savings');\r
\r
// Check progress\r
const progress = clawhub.getGoalProgress();\r
// Returns: [{ goalName, targetAmount, currentAmount, percentageComplete, daysRemaining, onTrack }]\r
```\r
\r
### Analytics & Reports\r
\r
```typescript\r
// Monthly spending summary\r
const summary = clawhub.getSpendingSummary();\r
// Returns: { totalExpenses, totalIncome, netSavings, expensesByCategory, incomeByCategory }\r
\r
// View monthly trends\r
const trends = clawhub.getMonthlyTrends(12);\r
// Returns: [{ date, expenses, income, netSavings }]\r
\r
// Full monthly report\r
const report = clawhub.generateMonthlyReport(2026, 1);\r
\r
// Compare to last month\r
const comparison = clawhub.compareToLastMonth();\r
// Returns: { expenseChange, incomeChange, topIncreases, topDecreases }\r
```\r
\r
### Smart Insights\r
\r
```typescript\r
// Generate AI-powered insights\r
const insights = await clawhub.generateInsights();\r
// Returns insights like:\r
// - "⚠️ Your dining expenses are 3x higher than usual"\r
// - "💡 Cancel unused subscriptions to save $50/month"\r
// - "🏆 You've tracked expenses for 7 consecutive days!"\r
\r
// Get unread insights\r
const unreadInsights = clawhub.getInsights();\r
```\r
\r
### Recurring Transactions\r
\r
```typescript\r
// Create recurring expense (e.g., Netflix subscription)\r
await clawhub.createRecurring(\r
'expense', 15.99, 'Subscriptions', 'Netflix', 'monthly',\r
{ startDate: '2026-02-01' }\r
);\r
\r
// Create recurring income (e.g., salary)\r
await clawhub.createRecurring(\r
'income', 5000, 'Salary', 'Monthly salary', 'monthly'\r
);\r
\r
// Process due recurring transactions\r
await clawhub.processRecurring();\r
```\r
\r
### Data Management\r
\r
```typescript\r
// Get statistics\r
const stats = clawhub.getStats();\r
// Returns: { totalTransactions, totalExpenses, totalIncome, netSavings, avgExpense, topCategory }\r
\r
// Get available categories\r
const categories = clawhub.getCategories();\r
\r
// Export data\r
const jsonData = await clawhub.exportData();\r
\r
// Create backup\r
const backupPath = await clawhub.backup();\r
\r
// Get storage location\r
const dataPath = clawhub.getDataPath();\r
```\r
\r
---\r
\r
## Default Categories\r
\r
### Expense Categories\r
| Category | Icon |\r
|----------|------|\r
| Food & Dining | 🍔 |\r
| Transportation | 🚗 |\r
| Shopping | 🛍️ |\r
| Bills & Utilities | 💡 |\r
| Entertainment | 🎬 |\r
| Health & Fitness | 💪 |\r
| Education | 📚 |\r
| Personal Care | 💄 |\r
| Subscriptions | 📱 |\r
\r
### Income Categories\r
| Category | Icon |\r
|----------|------|\r
| Salary | 💰 |\r
| Freelance | 💻 |\r
| Investments | 📈 |\r
| Gifts | 🎁 |\r
\r
---\r
\r
## Cross-Platform Storage\r
\r
Data is stored in platform-specific locations:\r
\r
| Platform | Default Path |\r
|----------|-------------|\r
| Windows | `%APPDATA%\clawhub` |\r
| macOS | `~/Library/Application Support/clawhub` |\r
| Linux | `~/.local/share/clawhub` |\r
\r
Override with environment variable:\r
```bash\r
export CLAWHUB_DATA_PATH=/custom/path\r
```\r
\r
---\r
\r
## API Reference Summary\r
\r
| Method | Description |\r
|--------|-------------|\r
| `initialize(path?)` | Initialize the budget tracker |\r
| `addExpense(amount, category, description, options?)` | Add expense |\r
| `addIncome(amount, category, description, options?)` | Add income |\r
| `addFromNaturalLanguage(text)` | Parse and add from natural language |\r
| `createBudget(name, category, limit, period, threshold?)` | Create budget |\r
| `getBudgetStatus()` | Get all budget statuses |\r
| `checkBudgetAlerts()` | Get budget warnings/alerts |\r
| `createGoal(name, target, options?)` | Create savings goal |\r
| `contributeToGoal(goalId, amount, note?)` | Add to goal |\r
| `getGoalProgress()` | Get all goal progress |\r
| `getSpendingSummary(start?, end?)` | Get spending breakdown |\r
| `getMonthlyTrends(months?)` | Get monthly trend data |\r
| `generateMonthlyReport(year?, month?)` | Generate full report |\r
| `generateInsights()` | Generate AI insights |\r
| `createRecurring(type, amount, category, desc, freq, options?)` | Create recurring |\r
| `processRecurring()` | Process due recurring transactions |\r
| `getStats()` | Get transaction statistics |\r
| `exportData()` | Export all data as JSON |\r
| `backup()` | Create timestamped backup |\r
安全使用建议
Before installing or letting an agent use this skill: 1) Verify the npm package name and author — search for 'agent-money-tracker' on the npm registry and check the package README, repository, and publish history. 2) Confirm the package's source (GitHub or other repo) and review its code for anything unexpected (network calls, credential access, postinstall scripts). 3) Treat the CLAWHUB_DATA_PATH env var as sensitive — set it to an isolated directory or sandbox and do not point it at system folders. 4) If you must run it, do so in a restricted/sandboxed environment (container or VM) and avoid running on systems with sensitive data. 5) If the registry entry and SKILL.md disagree (slug vs npm name), contact the publisher or avoid installing until the mismatch and provenance are resolved. These inconsistencies are not definitive proof of malicious intent, but they are good reasons to inspect the package and its source before trusting it.
功能分析
Type: OpenClaw Skill
Name: intelligent-budget-tracker
Version: 1.0.1
The skill bundle describes an 'Intelligent budget tracker' library. The `SKILL.md` provides instructions for installing and using the `agent-money-tracker` npm package, detailing its API for managing expenses, income, budgets, and savings goals. While the skill handles sensitive financial data and includes functions like `exportData()` and `backup()`, these are legitimate features for a financial management tool. There is no evidence of prompt injection against the agent, data exfiltration, malicious execution, persistence, or obfuscation within the provided files. The content is purely instructional and aligns with the stated purpose.
能力评估
Purpose & Capability
Name/description and the SKILL.md content describe a budget-tracking library (expenses, budgets, goals, analytics) and those features are coherent with the stated purpose. However, the registry metadata (slug: intelligent-budget-tracker) does not match the npm package name referenced in the instructions ('agent-money-tracker' / import 'agent-money-tracker' / variable 'clawhub'), which is an inconsistency that could be an editorial mistake or a sign of mismatch/typosquatting.
Instruction Scope
SKILL.md instructs consumers to npm install and import a third-party TypeScript library and shows APIs that read/write local data paths and perform exports/backups. It also references an environment variable (CLAWHUB_DATA_PATH) and platform-specific storage locations; that env var is not declared in the registry metadata. The instructions do not ask to exfiltrate data to external endpoints, but they do instruct file-system access and installing and running external code — both expected for such a library but sensitive and not fully documented here (no provenance or required credentials).
Install Mechanism
The registry contains no install spec, yet SKILL.md tells you to 'npm install agent-money-tracker'. Because the package source/homepage are unknown and the registry metadata lacks provenance, having the agent install a third-party npm package is a moderate risk: npm packages execute code when installed/required and can contain malicious logic. The instruction to install from the public npm ecosystem is expected for a library, but the absence of a declared, verifiable source (homepage or repo) raises concern.
Credentials
No environment variables or credentials are declared in the registry metadata, which is appropriate for a local-only budget tracker. However SKILL.md references CLAWHUB_DATA_PATH (to override data location) without that being declared. While the library does not request secrets or cloud credentials (proportional to purpose), the undocumented environment variable is a discrepancy that should be clarified.
Persistence & Privilege
No elevated persistence is requested: always is false, the skill is user-invocable, and there is no indication it modifies other skills or global agent configs. File-system writes are expected for local data storage but are limited to the library's own data paths per the documentation.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install intelligent-budget-tracker - 安装完成后,直接呼叫该 Skill 的名称或使用
/intelligent-budget-tracker触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
**Major rebranding and documentation update.**
- Renamed skill, files, and package references from "clawhub-budget" to "agent-money-tracker".
- Updated descriptions and headings for consistency with the new name and clarified intended audience (AI agents, programmatic use).
- Simplified installation instructions and updated import paths.
- Removed detailed color info from categories table; kept category names and icons.
- Streamlined API documentation, focusing on method signatures and intended use.
- Presented a more concise README focused on usage and API rather than workflow examples.
v1.0.0
**Initial release of Clawhub Budget Planner with advanced budgeting and AI-powered insights**
- Log and categorize expenses and income with support for recurring transactions.
- Create and track budgets and savings goals with progress monitoring.
- Input data naturally ("spent $50 on groceries yesterday") with smart auto-categorization.
- Get alerts for overspending, unusual expenses, and receive AI-driven spending insights and recommendations.
- View comprehensive analytics, monthly reports, and trends.
- Cross-platform support for secure local data storage and easy backups.
元数据
常见问题
Intelligent Budget Tracker 是什么?
Intelligent budget tracking and financial management library for AI agents - expense tracking, income management, budgets, savings goals, and LLM-powered insights. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2757 次。
如何安装 Intelligent Budget Tracker?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install intelligent-budget-tracker」即可一键安装,无需额外配置。
Intelligent Budget Tracker 是免费的吗?
是的,Intelligent Budget Tracker 完全免费(开源免费),可自由下载、安装和使用。
Intelligent Budget Tracker 支持哪些平台?
Intelligent Budget Tracker 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Intelligent Budget Tracker?
由 Eric Kariuki(@enjuguna)开发并维护,当前版本 v1.0.1。
推荐 Skills