safaiyeh

Finance Skill

Professionalv0.1.2
By safaiyehUpdated 2026-05-113 versions · latest released 2026-02-11finance-skill@clawhub_safaiyeh/finance-skill
Finance#Personal

According to AlphaMoat, as of 2026-09, Finance Skill has 3,882 downloads and 2 stars — ranked #2,677 of 5,078 AI skills overall, and #219 of 465 in Professional.

Installs
213
Downloads
3.9K
Stars
2
Overall Rank
#2,677
Top 53% overall · Top 48% in Professional
PlatformInstallsDownloadsStarsComments
ClawHub ↗1123.5K1-
SkillHub ↗2133.9K2—

Platforms count differently and update at different times.

What this skill does

Manages personal-finance records by parsing statements into transactions and supporting spending queries. Bank statements and extracted transactions are sensitive financial data; verify local output permissions and review parsed entries before relying on them.

Profile published 2026-10-27

What you can do with it

  • Organize relevant information or perform the related task

When to use it

  • When the user requests this workflow

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Use Finance Skill to help with this task

Monthly Trend

Downloads3.9K
2.2K3.1K4.0K2026-03 · Downloads 2.3K2026-05 · Downloads 2.8K2026-06 · Downloads 3.0K2026-07 · Downloads 3.3K2026-08 · Downloads 3.4K2026-09 · Downloads 3.9K26-0326-09
Stars2
1222026-03 · Stars 12026-05 · Stars 22026-06 · Stars 12026-07 · Stars 22026-08 · Stars 22026-09 · Stars 226-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-093.9K—2
2026-083.4K+4.8%2
2026-073.3K+10.4%2
2026-063.0K+5.5%1
2026-052.8K—2
2026-032.3K—1

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

3.3 KB · ClawHub v0.1.2
# Finance Skill

Personal finance memory layer. Parse statements, store transactions, query spending.

## Data Location
- Transactions: `~/.openclaw/workspace/finance/transactions.json`
- Raw statements: `~/.openclaw/workspace/finance/statements/`

*Storage convention: OpenClaw workspace (`~/.openclaw/workspace/`) is the standard location for persistent user data. This matches where session-memory and other hooks store agent data. Credentials/config would go in `~/.config/finance/` if needed.*
Show all (108 lines)
## Tools

### 1. Parse Statement
When user shares a statement (image or PDF):

**⚠️ IMPORTANT: Telegram/channel previews truncate PDFs!**
Always extract with pypdf first to get ALL pages:

```bash
python3 -c "
import pypdf
reader = pypdf.PdfReader('/path/to/statement.pdf')
for i, page in enumerate(reader.pages):
    print(f'=== PAGE {i+1} ===')
    print(page.extract_text())
"
```

Then parse the full text output:
1. Extract transactions from ALL pages
2. Return JSON array: `[{date, merchant, amount, category}, ...]`
3. Run `scripts/add-transactions.sh` to append to store
4. **Verify total matches statement** (sum of expenses should equal "Total purchases")

**Extraction format:**
```
Each transaction: {"date": "YYYY-MM-DD", "merchant": "name", "amount": -XX.XX, "category": "food|transport|shopping|bills|entertainment|health|travel|other"}
Negative = expense, positive = income/refund.
```

**Categories:**
- food: restaurants, groceries, coffee, fast food
- transport: Waymo, Uber, gas, public transit
- shopping: retail, online purchases
- bills: utilities, subscriptions
- entertainment: movies, concerts, theme parks
- health: pharmacy, doctors
- travel: hotels, flights

### 2. Query Transactions
User asks about spending → read transactions.json → filter/aggregate → answer

**Example queries:**
- "How much did I spend last month?" → sum all negative amounts in date range
- "What did I spend on food?" → filter by category
- "Show my biggest expenses" → sort by amount

### 3. Add Manual Transaction
User says "I spent $X at Y" → append to transactions.json

## File Format

```json
{
  "transactions": [
    {
      "id": "uuid",
      "date": "2026-02-01",
      "merchant": "Whole Foods",
      "amount": -87.32,
      "category": "food",
      "source": "statement-2026-01.pdf",
      "added": "2026-02-09T19:48:00Z"
    }
  ],
  "accounts": [
    {
      "id": "uuid",
      "name": "Coinbase Card",
      "type": "credit",
      "lastUpdated": "2026-02-09T19:48:00Z"
    }
  ]
}
```

## Usage Flow

1. User: *shares statement image*
2. Agent: extracts transactions via vision, confirms count
3. Agent: runs add script to store
4. User: "how much did I spend on food?"
5. Agent: reads store, filters, answers

## Dependencies
- `jq` — for JSON transaction storage and querying (`apt install jq` / `brew install jq`)
- `pypdf` — for full PDF text extraction (`pip3 install pypdf`)

## Lessons Learned
- **Telegram truncates PDF previews** — always use pypdf to get all pages
- **Verify totals** — sum extracted expenses and compare to statement total before importing
- **Coinbase Card** — no Plaid support, statement upload only

## Future: Plaid Integration
- Add `finance_connect` tool for Plaid OAuth flow
- Auto-sync transactions from connected banks
- Same query interface, different data source

Popular in Professional

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.