← 返回 Skills 市场
pratiknarola

Indian Finance Tracker

作者 Pratik Narola · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
44
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install indian-finance-tracker
功能描述
Monitor Gmail for Indian transaction alerts, log expenses in monthly Markdown ledgers with currency conversion, detect duplicates, clarify unclear merchants,...
使用说明 (SKILL.md)

SKILL: Finance & Expense Tracking

1. Overview

Manage Pratik's financial life by monitoring Gmail for transaction alerts, maintaining a monthly Markdown ledger, and reconciling credit card statements.

Work Directory: /root/clawd/finance Card Registry: /root/clawd/finance/cards.md

2. Trigger

  • Source: Gmail (via gog skill).
  • Query: label:Finance -label:Processed (Search for unread transaction alerts).
  • Frequency: Every 1 hour (via Heartbeat or Cron).

3. The Ledger (File Structure)

  • Path: /root/clawd/finance/YYYY/YYYY-MM.md (e.g., 2026/2026-02.md).
  • Template:
    # February 2026 - Expenses
    
    ## 🚨 Pending Clarification
    - [ ] **₹4,500** at "M/S RANDOM" on Feb 02 - *User asked via WA*
    
    ## 💳 Transaction Log
    | Date | Merchant | Amount | Category | Card (Last 4) | Notes |
    | :--- | :--- | :--- | :--- | :--- | :--- |
    

4. Processing Rules

A. Parsing Email Alerts

  1. Extract: Date, Merchant, Amount, Currency, Card Last 4 Digits.
  2. Currency:
    • If INR (₹): Log directly.
    • If Foreign ($/€): Perform web_search for current rate. Log converted INR in Amount column. Add original currency to Notes.
  3. Type:
    • Debit/Spend: Positive amount.
    • Credit/Refund: Negative amount (e.g., -₹500.00). Check for keywords: "Credited", "Refund", "Reversal".

B. Validation & Logic

  1. Duplicate Check: Before appending, read the last 20 lines of the ledger. If Date + Merchant + Amount matches -> STOP. Send WhatsApp: "Duplicate detected: [Details]. Real or Glitch?"
  2. Clarification: If Merchant is opaque (e.g., "RAZORPAY*"), append to ## 🚨 Pending Clarification and WhatsApp user.

C. Statement Parsing (PDFs)

  1. Trigger: Email with attachment *.pdf from a known Bank (check cards.md).
  2. Password Cracking:
    • Read cards.md for PII (Name, DOB, PAN, Mobile).
    • Try common formats:
      • PRAT10062000 (First 4 Name + DOB)
      • 10062000 (DOB)
      • 1006XXXX (DDMM + Last 4)
      • XXXX1006 (Last 4 + DDMM)
    • Action: If extraction fails, WhatsApp user: "Cannot open [Bank] statement. What is the password format?"
    • Action: If successful, extract table rows and reconcile against the Markdown ledger.

5. Reporting

  • Weekly Summary: On Monday morning, provide a quick total burn rate for the month.
  • Commands: If user asks "How much spent on Food?", use Python to parse the Markdown table and sum by category.

6. Maintenance

  • Always apply Gmail label Processed after successful logging to prevent loops.
安全使用建议
Install only if you are comfortable granting the agent recurring access to Gmail transaction alerts, local financial ledgers, WhatsApp notifications, and sensitive card-holder identifiers. Before use, remove the PDF password-guessing instructions and require user-provided statement passwords, narrow the Gmail and WhatsApp scope, and avoid storing PAN, DOB, mobile, or other unnecessary PII in cards.md.
能力评估
Purpose & Capability
The stated purpose is expense tracking and statement reconciliation, but the capability set includes hourly Gmail monitoring, financial ledger writes, WhatsApp transaction notifications, card-registry PII use, and PDF password guessing from name, DOB, PAN, mobile, and card data.
Instruction Scope
The skill gives automatic runtime instructions for reading Gmail, labeling messages processed, sending WhatsApp prompts, and opening statement PDFs, but does not clearly require user consent at the point of sensitive actions or bound which accounts, statements, or identifiers may be used.
Install Mechanism
The artifact is a single non-executable SKILL.md with no declared dependencies or install-time scripts; static scan and VirusTotal telemetry are clean.
Credentials
A local finance directory and ledger are proportionate to expense tracking, but using stored PII to derive and try protected PDF passwords is disproportionate and materially riskier than asking the user for the statement password.
Persistence & Privilege
The skill persists financial records under /root/clawd/finance, expects a cards.md registry containing sensitive identifiers, and runs on an hourly schedule via Heartbeat or Cron, creating ongoing access to private financial data.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install indian-finance-tracker
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /indian-finance-tracker 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Email-based transaction parser for Indian banks, UPI, credit cards. Auto-categorizes expenses, generates monthly reports. Built for Indian financial ecosystem.
元数据
Slug indian-finance-tracker
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Indian Finance Tracker 是什么?

Monitor Gmail for Indian transaction alerts, log expenses in monthly Markdown ledgers with currency conversion, detect duplicates, clarify unclear merchants,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 44 次。

如何安装 Indian Finance Tracker?

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

Indian Finance Tracker 是免费的吗?

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

Indian Finance Tracker 支持哪些平台?

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

谁开发了 Indian Finance Tracker?

由 Pratik Narola(@pratiknarola)开发并维护,当前版本 v1.0.0。

💬 留言讨论