← 返回 Skills 市场
marjoriebroad

Intelligent Budget Tracker

作者 MarjorieBroad · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
37
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install intelligent-budget-tracker-2
功能描述
Intelligent budget tracking and financial management library for AI agents - expense tracking, income management, budgets, savings goals, and SkillBoss API H...
使用说明 (SKILL.md)

\r \r

Agent Money Tracker\r

\r A TypeScript library for AI agents to track expenses, income, budgets, and savings goals with SkillBoss API Hub-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 (powered by SkillBoss API Hub /v1/pilot)\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 (via SkillBoss API Hub)\r
\r
```typescript\r
// Generate AI-powered insights via SkillBoss API Hub /v1/pilot\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
#### generateInsights() 底层实现参考\r
\r
```typescript\r
import fetch from 'node-fetch';\r
\r
const SKILLBOSS_API_KEY = process.env.SKILLBOSS_API_KEY;\r
\r
async function generateInsightsFromData(spendingData: object): Promise\x3Cstring[]> {\r
  const response = await fetch('https://api.skillboss.com/v1/pilot', {\r
    method: 'POST',\r
    headers: {\r
      'Authorization': `Bearer ${SKILLBOSS_API_KEY}`,\r
      'Content-Type': 'application/json'\r
    },\r
    body: JSON.stringify({\r
      type: 'chat',\r
      inputs: {\r
        messages: [\r
          {\r
            role: 'user',\r
            content: `Analyze this spending data and provide 3-5 actionable insights: ${JSON.stringify(spendingData)}`\r
          }\r
        ]\r
      },\r
      prefer: 'balanced'\r
    })\r
  });\r
  const result = await response.json();\r
  const text = result.result.choices[0].message.content;\r
  return text.split('\
').filter((line: string) => line.trim());\r
}\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
## Environment Variables\r
\r
| Variable | Description |\r
|----------|-------------|\r
| `SKILLBOSS_API_KEY` | SkillBoss API Hub key,用于自然语言解析和 AI 智能洞察(`https://api.skillboss.com/v1/pilot`) |\r
| `CLAWHUB_DATA_PATH` | 可选,自定义数据存储路径 |\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 (via SkillBoss API Hub) |\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 via SkillBoss API Hub |\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
安全使用建议
This skill is internally inconsistent and needs verification before use. Key concerns: - SKILL.md requires SKILLBOSS_API_KEY but the registry lists no required env vars — ask the publisher why and confirm where the key must be stored. - The bundle contains no code or source repo; it only documents a TypeScript library and tells you to npm install an external package. Do not run npm install or provide secrets until you verify the package name, publisher, and repository (check npm registry and GitHub repo). Malicious packages can appear under plausible names. - The skill's runtime would send your detailed spending/transaction data to api.skillboss.com. Treat that as sensitive data exfiltration to a third party: confirm the third party's privacy/security policies and whether you trust them with financial data. - Verify the publisher identity (owner ID, homepage, source repo) and request the package's source code. If you still want to try it, sandbox or review the package source first (or run it in an isolated environment) and avoid providing a high‑privilege API key. If you cannot validate the package origin and the SkillBoss service, classify this skill as untrusted and do not install or supply secrets.
功能分析
Type: OpenClaw Skill Name: intelligent-budget-tracker-2 Version: 1.0.0 The skill is designed to manage sensitive financial data and includes a feature to generate 'AI insights' by transmitting user spending records to an external endpoint (api.skillboss.com/v1/pilot). While this behavior is aligned with the stated purpose in SKILL.md, the programmatic exfiltration of financial history to a third-party service is a high-risk capability. There is no evidence of clear malicious intent or hidden backdoors, but the handling of sensitive data via external network calls warrants caution.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The skill claims to be a TypeScript 'agent-money-tracker' library that uses SkillBoss API for AI insights. That capability would legitimately require an API key for the external service. However, the registry metadata lists no required environment variables or primary credential while SKILL.md explicitly requires SKILLBOSS_API_KEY. README instructions reference different install names (clawhub install mar-intelligent-budget-tracker) and the skill has no source/homepage — these inconsistencies make it unclear whether the declared capabilities align with what will actually be installed or run.
Instruction Scope
SKILL.md contains detailed TypeScript usage and a fetch-based implementation that posts spendingData to https://api.skillboss.com/v1/pilot with an Authorization: Bearer SKILLBOSS_API_KEY header. That means the skill's runtime instructions would transmit potentially sensitive financial transaction data to an external service. The instructions also tell users to npm install 'agent-money-tracker', but the skill bundle contains no code or package — so it's unclear what will be installed or where that package comes from.
Install Mechanism
No install spec is provided in the bundle (instruction-only), which is low risk in itself. However, the SKILL.md tells users to run 'npm install agent-money-tracker' and README suggests 'clawhub install mar-intelligent-budget-tracker' — both reference external package or installer behavior outside the skill bundle. Because no source, homepage, or official release URL is provided, following those install instructions could result in installing an unrelated third-party package.
Credentials
The only environment credential referenced in the runtime instructions is SKILLBOSS_API_KEY, which is proportionate to calling SkillBoss for AI insights. But the registry metadata does not declare this required env var — a mismatch that could cause the agent to attempt to read an undeclared secret. More importantly, the skill's operation would send detailed spending data to a third party, so requiring an API key (and therefore giving that party access to user data) is a privacy/security decision users must explicitly authorize.
Persistence & Privilege
The skill does not request persistent/always-on privileges (always: false) and does not include install-time scripts in the bundle. It does not appear to modify other skills or system-wide settings from the provided files.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install intelligent-budget-tracker-2
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /intelligent-budget-tracker-2 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Agent Money Tracker 1.0.0 initial release: - Provides programmatic budget tracking for AI agents—track expenses, income, budgets, and savings goals. - Supports natural language transaction parsing and AI-powered financial insights via SkillBoss API Hub. - Includes recurring transactions, customizable categories, analytics, reports, and export/backup features. - Cross-platform local data storage, with environment variable support for paths and API key configuration. - No frontend; designed for integration with agent or bot workflows.
元数据
Slug intelligent-budget-tracker-2
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Intelligent Budget Tracker 是什么?

Intelligent budget tracking and financial management library for AI agents - expense tracking, income management, budgets, savings goals, and SkillBoss API H... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 37 次。

如何安装 Intelligent Budget Tracker?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install intelligent-budget-tracker-2」即可一键安装,无需额外配置。

Intelligent Budget Tracker 是免费的吗?

是的,Intelligent Budget Tracker 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Intelligent Budget Tracker 支持哪些平台?

Intelligent Budget Tracker 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Intelligent Budget Tracker?

由 MarjorieBroad(@marjoriebroad)开发并维护,当前版本 v1.0.0。

💬 留言讨论