From small-business
Closes the month — reconciles QB vs payment processors, flags gaps, writes P&L narrative, exports close packet. Accepts optional month and save-to arguments.
How this skill is triggered — by the user, by Claude, or both
Slash command
/small-business:close-monthThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run the month-end close workflow. Reconcile, flag gaps, narrate the P&L, and export the close packet for the owner's records (and their accountant).
Run the month-end close workflow. Reconcile, flag gaps, narrate the P&L, and export the close packet for the owner's records (and their accountant).
Lark-native execution (depth core: LARK-PATTERNS). QuickBooks + payment processors stay external. The delivery layer is Lark:
filessaves upload vialark_drive_upload; surface the gap/flag list for triage as an interactive card (P4); land the durable P&L narrative in Wiki vialark_wiki_node_create(P8) if the owner keeps a monthly-close space. Delegates reconciliation to this plugin'smonth-end-prep.
Parse arguments:
--month (default: previous calendar month) — YYYY-MM format--save-to (default files) — files (Lark Drive via lark_drive_upload), desktop (local), or bothTrigger the month-end-prep skill workflow:
Surface in the same report:
For each, recommend an action: categorize as X, delete duplicate, attach receipt from inbox.
Wait for owner to triage flagged items before generating the narrative. Do not auto-categorize or auto-delete.
After triage, generate a plain-English P&L narrative:
{Month YYYY} closed at ${revenue} revenue ({+/-}{X}% vs prior month).
Top driver: {category/customer}. Biggest swing: {category} {direction} ${amount}
because {reason inferred from transactions}.
Margin: {X}% ({+/-}Y pts vs prior). {Cost-side commentary}.
Three notable items:
1. ...
2. ...
3. ...
Numbers come from QB; the why comes from cross-referencing top transactions, vendor names, and prior-month deltas.
Generate two files:
close-packet-{YYYY-MM}.xlsx — multi-tab workbook:
Reconciliation — QB ↔ processor match table with gap rows highlightedFlagged — uncategorized / duplicates / missing receiptsP&L — formatted income statement with prior-month delta columnTrial Balance — accounts + ending balancesclose-packet-{YYYY-MM}.pdf — one-page summary: P&L narrative + top-line numbers + gap countSave both to the chosen --save-to location. For files, upload via lark_drive_upload. Filename format: close-packet-2026-04.xlsx etc.
If QuickBooks is unreachable, stop — reconciliation requires QB as the source of truth. If a payment processor (PayPal, Stripe, Square) is unreachable, run reconciliation against the available processors and note "PayPal not connected — PayPal settlements skipped from reconciliation" (or whichever is missing). If all processors are missing, run QB-only analysis and flag it.
End the run with a one-paragraph recap: revenue, margin, gap count remaining (if any), file paths to the saved packet. If gaps were not all resolved, list them so the owner can revisit.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub larkcowork/lark-cowork-plugins --plugin small-business