TopRank Skills

Home / Claw Skills / 知识管理 / expense-tracker
Official OpenClaw rules 36%

expense-tracker

Track expenses and income with multi-backend storage (local/Notion/Google Sheet/Supabase). Credentials are encrypted with AES-256-GCM. Use when user wants to record expenses, view transaction history, or check monthly spending statistics.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 expense-tracker 技能。 若已安装,则直接安装 expense-tracker 技能。

Overview

Skill Key
codeblackhole1024/expense-tracker-v2
Author
codeblackhole1024
Source Repo
openclaw/skills
Version
-
Source Path
skills/codeblackhole1024/expense-tracker-v2
Latest Commit SHA
d42938968ce889735927f58361e4a76beffaedc3

Extracted Content

SKILL.md excerpt

# Expense Tracker Skill

## Quick Start

### Initial Setup (First Time)

```bash
expense-tracker setup
```

This will:
1. Ask you to set a master password (for encrypting credentials)
2. Select storage backend and configure API keys

**Storage backends:**
1. **Local file** - No config needed
2. **Notion** - Requires API Key + Database ID
3. **Google Sheet** - Requires credentials path + Spreadsheet ID
4. **Supabase** - Requires URL + Anon Key

### Set Password (For Subsequent Uses)

```bash
expense-tracker pass <your-password>
```

Or enter interactively when prompted.

### Record Expense

```bash
expense-tracker add -50 "lunch" food
# Format: expense-tracker add <amount> <note> <category>
# Negative amount = expense
```

### Record Income

```bash
expense-tracker add 5000 "salary" salary
# Positive amount = income
```

### View Records

```bash
expense-tracker list              # Recent 10 records
expense-tracker list --month     # This month
expense-tracker list --category  # By category
```

### Statistics

```bash
expense-tracker stats             # This month
expense-tracker stats -m 2       # 2 months ago
```

## Security

Credentials are encrypted using **AES-256-GCM** with PBKDF2 key derivation.

- Config file: `~/.openclaw/expense-tracker/config.enc`
- Never stores plain text passwords or API keys

## Categories

- `food` - Food & Dining
- `transport` - Transportation
- `shopping` - Shopping
- `entertainment` - Entertainment
- `salary` - Salary
- `bonus` - Bonus
- `investment` - Investment
- `other` - Other

## Commands Reference

| Command | Description |
|---------|-------------|
| `setup` | Set password & configure backend (first time) |
| `pass <password>` | Set password for decryption |
| `add <amount> <note> <category>` | Add new record |
| `list` | View recent records |
| `list --month` | This month's records |
| `list --category` | Group by category |
| `stats` | Monthly summary |
| `stats -m <n>` | N months ago |

## Data Format

Each record:

```j...

Related Claw Skills