Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

heath-ledger希斯·莱杰

Agent Skill

heath-ledger 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

17,640

周安装

750

GitHub Stars

1

下载量

6,180
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:heath-ledger(希斯·莱杰)
来源仓库:https://github.com/wrannaman/heath-ledger
安装命令:
openclaw skills install heath-ledger
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install heath-ledger

简介

Mercury 银行账户智能簿记代理,自动提取并分类交易记录。

  • 生成包含损益表、资产负债表等财务报表的 Excel 工作簿。
  • 结合规则引擎与 AI 模型提高分类准确率与异常检测能力。
  • 安装命令:openclaw skills install heath-ledger。
  • 首次使用前需导入历史账单并校准分类规则集。

SKILL.md

name
heath-ledger
description
AI bookkeeping agent for Mercury bank accounts. Pulls transactions, categorizes them (rule-based + AI), and generates Excel workbooks with P&L, Balance Sheet, Cash Flow, and transaction detail. Use when the user wants to do bookkeeping, generate financial statements, categorize bank transactions, connect Mercury, or produce monthly/quarterly/annual books. Triggers on: bookkeeping, P&L, profit and loss, balance sheet, cash flow, financial statements, Mercury bank, categorize transactions, generate books, monthly close.

Heath Ledger

AI bookkeeping skill for Mercury bank accounts.

Quick Start

  1. scripts/init_db.mjs — creates DB + seeds ~90 universal vendor→category rules
  2. scripts/connect_mercury.sh <MERCURY_API_TOKEN> [entity_name] — discovers accounts
  3. *(Optional)* scripts/connect_stripe.sh <entity_id> <stripe_api_key> — connect Stripe for exact revenue + fees
  4. *(If Stripe connected)* scripts/pull_stripe_revenue.sh <entity_id> <start_date> <end_date> — pull monthly revenue data
  5. scripts/pull_transactions.sh <entity_id> <start_date> <end_date>
  6. scripts/categorize.sh <entity_id> — rule-based first, AI for unknowns
  7. Review ambiguous items, correct with scripts/set_category.sh
  8. scripts/generate_books.sh <entity_id> <start_date> <end_date> [output_path]

Setup Flow

Mercury API Key (Required)

Get from Mercury Dashboard → Settings → API Tokens. The token gives read-only access to transactions.

Stripe API Key (Optional but Recommended)

Without Stripe API: Mercury shows net Stripe deposits (revenue minus fees). The system estimates gross revenue using a configurable fee rate (default 2.3% + $0.30).

With Stripe API: You get exact gross revenue, exact fees, and proper refund tracking. Always prefer this when available.

To connect: scripts/connect_stripe.sh <entity_id> <stripe_api_key> Then pull data: scripts/pull_stripe_revenue.sh <entity_id> <start_date> <end_date>

The P&L generator automatically uses Stripe data when available, falling back to Mercury estimates otherwise.

Entity Settings

Configure per-entity via the entity_settings table:

SettingDefaultDescription
accounting_basisaccrualaccrual or cash — cash basis uses posted dates only
month_offset1Fiscal year month offset (1 = calendar year)
stripe_fee_rate0.023Stripe percentage fee for gross-up calculation
stripe_fee_fixed0.30Stripe fixed fee per transaction
amortization_monthlynullMonthly amortization amount for acquired assets

Workflow

  1. Connect Mercuryscripts/connect_mercury.sh <token> [name] discovers accounts, creates entity
  2. Pull transactionsscripts/pull_transactions.sh <entity_id> <start_date> <end_date>
  3. Categorizescripts/categorize.sh <entity_id> [max_transactions] — rule-based first, then AI for unknowns
  4. Review ambiguous — Script outputs low-confidence items. Ask user, then update with scripts/set_category.sh <transaction_id> <category> [subcategory]
  5. Generate booksscripts/generate_books.sh <entity_id> <start_date> <end_date> [output_path]

Scripts Reference

All scripts are in scripts/. Run with bash or node. Database is SQLite at data/heath.db.

ScriptPurpose
init_db.mjsCreate/migrate SQLite database + seed rules
connect_mercury.shConnect Mercury API, discover accounts
pull_transactions.shPull transactions for date range
categorize.shCategorize transactions (rules + AI)
set_category.shManually set category for a transaction
add_rule.shAdd/update a categorization rule
generate_books.shGenerate Excel workbook
list_entities.shList all entities
connect_stripe.shConnect Stripe API to an entity
pull_stripe_revenue.shPull Stripe balance transactions by month
status.shShow entity status (accounts, tx counts)

Chart of Accounts

See references/chart-of-accounts.md for the full chart with P&L sections and cash flow classifications.

Learning & Compounding System

Heath Ledger gets smarter over time through a layered rule system:

Rule Hierarchy

  1. Entity-specific rules (highest priority) — per-company overrides
  2. Global rules (entity_id = NULL) — apply to all entities
  3. Seed rules — universal vendor mappings shipped with the skill
  4. AI categorization — used when no rule matches

How Learning Works

  • Every manual correction creates or updates a categorization rule
  • Rules track usage_count — heavily-used rules are more reliable
  • source field tracks provenance: seed, ai, human, manual
  • Human-confirmed rules get confidence: 0.95-1.0
  • AI-generated rules start at 0.85 and can be promoted
  • Entity-specific rules can be promoted to global when they prove universal

The Compounding Effect

After categorizing ~5,000 transactions across 2 entities, the system now auto-categorizes ~95% of transactions without AI. Each new entity benefits from all previous learnings.

Known Limitations

Stripe Net vs Gross (Without Stripe API)

Mercury deposits from Stripe are net amounts (revenue minus ~2.9% + $0.30 fees). Without the Stripe API:

  • We estimate gross revenue using configurable fee rates
  • This creates "synthetic" Stripe Fee entries
  • Accuracy depends on your actual Stripe fee rate (varies by plan, card type, international)
  • Solution: Connect Stripe API for exact numbers

Deel Fee Splitting

Deel combines platform fees and contractor payroll in one transaction stream. Pattern:

  • Small fixed amounts (~$2-5) → Deel Platform Fee → categorize as "Software expenses"
  • Larger variable amounts → Contractor Payroll → categorize as "Wages & Salaries"
  • The system learns this pattern but may need initial human guidance

Mercury API Limitations

  • Only returns posted transactions (not pending)
  • Some counterparty names are truncated or normalized differently
  • Wire descriptions may include reference numbers that create duplicate rules

Multi-Currency

  • Wise transfers create both a debit (USD) and may show FX fees separately
  • International wire fees from Mercury appear as separate line items
  • FX gains/losses are not tracked (would need multi-currency ledger)

AI Categorization

The categorize.sh script calls the host agent's model via stdin/stdout JSON protocol. It sends transaction batches and expects category assignments back. The script writes a prompt to stdout that the agent should process and return results for.

When AI confidence < 0.85, transactions are flagged as ambiguous for user review.

Key Details

  • Cash or accrual basis — configurable per entity
  • Multiple entities supported — each with own connections and rules
  • Rules persist — categorization rules saved to SQLite, reused across runs
  • Seed rules — ~90 universal vendor mappings loaded on init
  • Excel output — 4-tab workbook: P&L, Balance Sheet, Cash Flow, Transaction Detail

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

78.1%
按下载量换算4,827

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills