/small-business:invoice-chasefrom small-business
Drafts overdue-invoice reminder emails from QuickBooks and PayPal data, matched to each customer's payment history and tone (gentle for good customers, firm for repeat late payers). Sends via PayPal with owner approval; non-PayPal invoices queue as mail drafts. Use when the user asks "who owes me money," mentions overdue invoices, or wants to follow up on unpaid invoices.
Ships in small-business. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Lark-native execution (depth core: LARK-PATTERNS). AR/payment data stays on QuickBooks / PayPal / Stripe (external). The reminder layer is Lark: non-PayPal reminders are staged with
lark_mail_draft_create(never auto-send, P2); resolve any recipient toopen_idwithlark_contact_search(P1). Present the overdue summary as an interactive card with a per-customer "send" button (P4). If the owner tracks AR in a Lark Base, read/update it withlark_base_search/lark_base_record_upsert(P5).
Pull the AR aging report, score each customer by payment history, draft a tone-matched reminder for each overdue invoice, and present them to the owner. Nothing sends until the owner says so.
User: "who owes me money"
→ Pull AR aging from QuickBooks
→ Cross-reference PayPal settlements (last 14 days)
→ Score each customer: good-payer / occasionally-late / repeat-late
→ Draft tone-matched reminders
→ Show summary table + drafts. Wait for "send these."
Ask the owner two questions before running for the first time:
lark_mail_draft_create) for all non-PayPal draft queuing; only ask if the owner wants a different mail app.Do not ask again on subsequent runs.
Pull overdue receivables. Query QuickBooks AR aging for all invoices more than 1 day past due. If Stripe is enabled (owner confirmed at setup), also pull Stripe overdue invoices.
Cross-reference payment history. For each overdue customer, query PayPal for settled transactions using these parameters:
transaction_status: S (settled only — filters out pending and denied transactions that inflate result size and increase rate-limit risk)If PayPal returns a 429 rate limit error:
If a customer shows a settled payment within the query window, flag as "possibly paid — verify" and exclude from the draft queue.
Score each customer. Read reference/tone-matching.md for scoring logic. Result: good-payer, occasionally-late, or repeat-late.
Draft reminder emails. One email per customer — consolidate multiple overdue invoices into one email. Match tone to score. See reference/examples/gentle-reminder.md and reference/examples/firm-reminder.md.
Present drafts to owner. Show a summary table first:
| Customer | Amount Due | Days Late | Tone | Send via |
|---|---|---|---|---|
| Acme Corp | $1,200 | 18 days | Gentle | PayPal |
| Smith LLC | $450 | 47 days | Firm | Lark Mail draft |
Then show each draft email in full. Wait for owner to say "send these" or approve individually.
Send or queue — only after approval.
lark_mail_draft_create (dry_run: true first to preview recipient + body, P2).Report what happened. List what was sent, what was queued as draft, and what was flagged (possibly paid, excluded).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub larkcowork/lark-cowork-plugins --plugin small-business31 skills in this plugin
/business-pulseProduces a one-page cross-functional business snapshot for SMB owners — cash position (QuickBooks), sales trend (PayPal/Square), pipeline movement (HubSpot), this week's commitments (Calendar), urgent watch-list items (Lark Mail/Lark IM), and the single most important thing needing attention today. Proactively tries every available connector and gracefully scopes to whatever is connected — one connector gives a partial pulse; the full stack gives the full picture. Trigger when the user asks how the business is doing, wants a snapshot, a weekly summary, a Monday brief, or says anything like "what am I missing" or "catch me up on the business."
/call-listRanks the top-5 leads most worth calling today, supplies talking points from email history, blocks time on the calendar, and drafts follow-up messages. Accepts optional count and date arguments./canva-creator