heath-ledger
Installation
SKILL.md
Heath Ledger
AI bookkeeping skill for Mercury bank accounts.
Quick Start
scripts/init_db.mjs— creates DB + seeds ~90 universal vendor→category rulesscripts/connect_mercury.sh <MERCURY_API_TOKEN> [entity_name]— discovers accounts- (Optional)
scripts/connect_stripe.sh <entity_id> <stripe_api_key>— connect Stripe for exact revenue + fees - (If Stripe connected)
scripts/pull_stripe_revenue.sh <entity_id> <start_date> <end_date>— pull monthly revenue data scripts/pull_transactions.sh <entity_id> <start_date> <end_date>scripts/categorize.sh <entity_id>— rule-based first, AI for unknowns- Review ambiguous items, correct with
scripts/set_category.sh 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.