← Back to Skills Marketplace
goforu

phoenixclaw-ledger

by betterest · GitHub ↗ · v0.0.2
cross-platform ✓ Security Clean
2060
Downloads
1
Stars
4
Active Installs
2
Versions
Install in OpenClaw
/install phoenixclaw-ledger
Description
Passive financial tracking plugin for PhoenixClaw. Automatically detects expenses and income from conversations and payment screenshots. Use when: - User mentions money/spending (any language) - User shares payment screenshots (WeChat Pay, Alipay, etc.) - User asks about finances ("How much did I spend?", "My budget") - User wants expense reports ("Monthly summary", "Spending analysis")
README (SKILL.md)

PhoenixClaw Ledger: Zero-Effort Financial Tracking

PhoenixClaw Ledger automatically extracts financial transactions from your daily conversations and payment screenshots, requiring zero manual input.

Core Capabilities

Feature Description
Semantic Expense Detection AI identifies spending mentions in natural conversation
Screenshot Recognition Extracts transaction data from payment app screenshots
Smart Categorization Auto-categorizes based on merchant and context
Budget Tracking Monthly budget alerts and progress visualization
Financial Insights Pattern analysis integrated into journal Growth Notes
Goal Management Savings, budget control, habit, and wishlist goals
Weekly Reports Automated Sunday 9 PM spending recap
Query Support Real-time natural language financial inquiries
Spending Trends Multi-month analytical spending visualization
Transaction Browser Interactive complete transaction history view

Workflow

As a PhoenixClaw plugin, Ledger hooks into the post-moment-analysis phase:

  1. Receive Moments: Get identified moments from PhoenixClaw Core
  2. Detect Finances: Scan for expense/income signals in text and media
    • Text: Semantic patterns (see references/expense-detection.md)
    • Media: Payment screenshots (see references/payment-screenshot.md)
  3. Extract Data: Parse amount, merchant, category, timestamp
  4. Categorize: Apply rules from references/merchant-category-map.md
  5. Deduplicate: Prevent double-counting same transaction
  6. Store: Write to ~/PhoenixClaw/Finance/ledger.yaml
  7. Export: Generate journal section using assets/daily-finance-section.md

Explicit Triggers

While passive by design, users can interact directly:

  • "How much did I spend today/this week/this month?"
  • "Show my expense breakdown"
  • "Set my monthly budget to [amount]"
  • "What are my top spending categories?"
  • "Generate financial report for [period]"
  • "Set a savings goal for [amount] by [date]"
  • "Show my spending trends"
  • "Browse all my transactions"
  • "How am I doing on my goals?"

Output Structure

~/PhoenixClaw/
├── Journal/
│   ├── daily/2026-02-02.md    # Contains 💰 Finance section
│   └── weekly/2026-W05.md     # Weekly financial recaps
│
└── Finance/                    # Ledger-specific directory
    ├── ledger.yaml             # Structured transaction data
    ├── budget.yaml             # Budget configuration
    ├── goals.yaml              # Financial goals tracking
    ├── transactions.md         # Transaction browser view
    ├── monthly/
    │   └── 2026-02.md          # Monthly financial reports
    └── yearly/
        └── 2026.md             # Annual summaries

Configuration

Ledger-specific settings in ~/.phoenixclaw/config.yaml:

plugins:
  phoenixclaw-ledger:
    enabled: true
    default_currency: CNY       # or USD, EUR, etc.
    budget_monthly: 5000        # Monthly budget amount
    categories_custom: []       # User-defined categories
    screenshot_confidence: 0.7  # Min confidence for auto-record

Cron & Scheduled Reports

Ledger uses PhoenixClaw Core's cron infrastructure plus additional scheduled tasks:

Task Schedule Description
Daily Processing 10 PM (via Core) Extracts transactions, generates daily section
Monthly Report 1st of month, 8 AM Comprehensive monthly financial summary
Weekly Summary Sunday 9 PM (optional) Weekly spending recap

Daily Processing (Automatic)

No separate setup required. Ledger hooks into Core's nightly cron:

  • Core runs at 10 PM → triggers post-moment-analysis
  • Ledger activates, extracts finances, exports to journal

Monthly Report Setup

openclaw cron add \
  --name "PhoenixClaw Ledger monthly report" \
  --cron "0 8 1 * *" \
  --tz "auto" \
  --session isolated \
  --message "Generate monthly financial report for the previous month."

See references/cron-setup.md for full configuration details.

Documentation Reference

References (references/)

  • expense-detection.md: Semantic patterns for conversation parsing
  • payment-screenshot.md: Screenshot recognition and OCR extraction
  • merchant-category-map.md: Merchant to category mapping rules
  • category-rules.md: Category definitions and hierarchy
  • budget-tracking.md: Budget alerts and progress calculation
  • financial-insights.md: Pattern analysis for Growth Notes
  • cron-setup.md: Scheduled tasks and report automation
  • goal-management.md: Financial goals and progress tracking
  • query-patterns.md: Natural language query templates and logic

Assets (assets/)

  • expense-callout.md: Template for conversation-detected expenses
  • receipt-callout.md: Template for screenshot-detected expenses
  • daily-finance-section.md: Journal integration template
  • monthly-report.md: Monthly summary template
  • yearly-report.md: Annual summary template

Usage Guidance
This skill appears internally consistent for passive expense tracking, but it handles sensitive data (transaction amounts, merchants, and payment screenshots). Before installing: 1) Inspect references/payment-screenshot.md to confirm whether OCR is performed locally or via a remote service (remote OCR would send images off-device). 2) Decide whether you want PhoenixClaw to passively scan conversations and screenshots — if not, keep the plugin disabled by default and only enable on explicit user request. 3) Confirm where receipts/images are stored (the skill notes assets paths and ~/PhoenixClaw/Finance/) and consider encrypting or restricting filesystem access to those folders. 4) Review and, if needed, tighten configuration (e.g., screenshot_confidence threshold, data retention, masking rules). If you want broader assurance, request the Core/agent policy that governs what moments are made available to plugins and whether PhoenixClaw runs fully locally or contacts external services.
Capability Analysis
Type: OpenClaw Skill Name: phoenixclaw-ledger Version: 0.0.2 The OpenClaw Ledger skill bundle is designed for passive financial tracking and report generation. All file system access, data access (moments, user_config, memory), and agent instructions (including cron job messages) are directly aligned with its stated purpose. The documentation explicitly details privacy-conscious practices, such as local storage of screenshots, masking sensitive data, and avoiding exfiltration. There is no evidence of malicious execution, data exfiltration to external endpoints, persistence mechanisms, obfuscation, or prompt injection attempts to subvert the agent's intended behavior.
Capability Assessment
Purpose & Capability
Name/description align with requested data access and behavior: the skill hooks into post-moment-analysis, declares data_access for moments, user_config and memory, and documents extracting amounts, merchants, categories, and writing them to ~/PhoenixClaw/Finance/ledger.yaml — all consistent with a ledger/tracker.
Instruction Scope
Runtime instructions are narrowly scoped: scan conversation moments and payment screenshots, extract transaction fields, deduplicate, categorize, store locally, and export journal sections. The SKILL.md references only PhoenixClaw core artifacts (moments, config, cron) and local paths; there are no instructions to exfiltrate data or read unrelated system files.
Install Mechanism
No install spec and no code files — instruction-only skill. Nothing is downloaded or written by an installer step, minimizing disk-write risk.
Credentials
Requires no environment variables, no external credentials, and no config paths beyond the PhoenixClaw config (~/.phoenixclaw/config.yaml) and its own ledger dir under the user's home. Requested access (moments, user_config, memory) is proportional to passive expense detection.
Persistence & Privilege
The skill writes structured data and rendered markdown into the user's home (~/PhoenixClaw/Finance/, journal files) and integrates with the Core cron pipeline. always:false and no autonomous-enablement flags reduce risk. Users should be aware it will store potentially sensitive financial and screenshot image data locally.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install phoenixclaw-ledger
  3. After installation, invoke the skill by name or use /phoenixclaw-ledger
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.0.2
- Added support for financial goal management, including savings, budget control, and wishlist tracking. - Introduced weekly financial reports and Sunday 9 PM spending recaps. - Added query support for real-time, natural language finance questions. - New features: spending trend visualization and interactive transaction browser. - Expanded documentation with new guides for transaction browsing, trends, weekly reports, goal tracking, and query patterns.
v0.0.1
PhoenixClaw Ledger v0.0.1 introduces seamless, automated financial tracking for PhoenixClaw users. - Automatically extracts expenses and income from conversations and payment screenshots. - Provides smart categorization, budget tracking, and financial insights. - Hooks into PhoenixClaw's post-moment-analysis for passive operation. - Supports explicit user queries and commands for financial reports and budget setup. - Generates structured ledger files and integrates finance summaries into daily and monthly journals. - Offers configurable settings for currency, budgets, and detection sensitivity.
Metadata
Slug phoenixclaw-ledger
Version 0.0.2
License
All-time Installs 4
Active Installs 4
Total Versions 2
Frequently Asked Questions

What is phoenixclaw-ledger?

Passive financial tracking plugin for PhoenixClaw. Automatically detects expenses and income from conversations and payment screenshots. Use when: - User mentions money/spending (any language) - User shares payment screenshots (WeChat Pay, Alipay, etc.) - User asks about finances ("How much did I spend?", "My budget") - User wants expense reports ("Monthly summary", "Spending analysis"). It is an AI Agent Skill for Claude Code / OpenClaw, with 2060 downloads so far.

How do I install phoenixclaw-ledger?

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

Is phoenixclaw-ledger free?

Yes, phoenixclaw-ledger is completely free (open-source). You can download, install and use it at no cost.

Which platforms does phoenixclaw-ledger support?

phoenixclaw-ledger is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created phoenixclaw-ledger?

It is built and maintained by betterest (@goforu); the current version is v0.0.2.

💬 Comments