# Send Finance Skill to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "finance-skill",
    "name": "Finance Skill",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/safaiyeh/finance-skill",
    "canonicalUrl": "https://clawhub.ai/safaiyeh/finance-skill",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/finance-skill",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=finance-skill",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "scripts/add-transactions.sh",
      "scripts/query.sh"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "finance-skill",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T23:15:26.097Z",
      "expiresAt": "2026-05-06T23:15:26.097Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=finance-skill",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=finance-skill",
        "contentDisposition": "attachment; filename=\"finance-skill-0.1.2.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "finance-skill"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/finance-skill"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/finance-skill",
    "downloadUrl": "https://openagent3.xyz/downloads/finance-skill",
    "agentUrl": "https://openagent3.xyz/skills/finance-skill/agent",
    "manifestUrl": "https://openagent3.xyz/skills/finance-skill/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/finance-skill/agent.md"
  }
}
```
## Documentation

### 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.

### 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:

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:

Extract transactions from ALL pages
Return JSON array: [{date, merchant, amount, category}, ...]
Run scripts/add-transactions.sh to append to store
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

{
  "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

User: shares statement image
Agent: extracts transactions via vision, confirms count
Agent: runs add script to store
User: "how much did I spend on food?"
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
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: safaiyeh
- Version: 0.1.2
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-29T23:15:26.097Z
- Expires at: 2026-05-06T23:15:26.097Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/finance-skill)
- [Send to Agent page](https://openagent3.xyz/skills/finance-skill/agent)
- [JSON manifest](https://openagent3.xyz/skills/finance-skill/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/finance-skill/agent.md)
- [Download page](https://openagent3.xyz/downloads/finance-skill)