← Back to Skills Marketplace
pratiknarola

Indian Finance Tracker

by Pratik Narola · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
44
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install indian-finance-tracker
Description
Monitor Gmail for Indian transaction alerts, log expenses in monthly Markdown ledgers with currency conversion, detect duplicates, clarify unclear merchants,...
README (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.
Usage Guidance
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install indian-finance-tracker
  3. After installation, invoke the skill by name or use /indian-finance-tracker
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Email-based transaction parser for Indian banks, UPI, credit cards. Auto-categorizes expenses, generates monthly reports. Built for Indian financial ecosystem.
Metadata
Slug indian-finance-tracker
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Indian Finance Tracker?

Monitor Gmail for Indian transaction alerts, log expenses in monthly Markdown ledgers with currency conversion, detect duplicates, clarify unclear merchants,... It is an AI Agent Skill for Claude Code / OpenClaw, with 44 downloads so far.

How do I install Indian Finance Tracker?

Run "/install indian-finance-tracker" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Indian Finance Tracker free?

Yes, Indian Finance Tracker is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Indian Finance Tracker support?

Indian Finance Tracker is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Indian Finance Tracker?

It is built and maintained by Pratik Narola (@pratiknarola); the current version is v1.0.0.

💬 Comments