close-month
$
npx mdskill add anthropics/knowledge-work-plugins/close-monthReconcile QuickBooks and payment processors to flag gaps and export P&L.
- Automates month-end closing by matching QuickBooks entries against processor settlements.
- Integrates with QuickBooks, PayPal, Stripe, Square, and cloud storage services.
- Detects unmatched deposits, uncategorized transactions, and suspicious duplicate entries.
- Exports a detailed close packet containing reconciliation reports and narrative summaries.
SKILL.md
.github/skills/close-monthView on GitHub ↗
---
name: close-month
description: Closes the month — reconciles QB vs payment processors, flags gaps, writes P&L narrative, exports close packet. Accepts optional month and save-to arguments.
allowed-tools: Read, WebFetch, Bash
---
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).
Parse arguments:
- `--month` (default: previous calendar month) — `YYYY-MM` format
- `--save-to` (default `files`) — `files` (Google Drive / OneDrive), `desktop` (local), or `both`
## Step 1 — Reconcile
Trigger the `month-end-prep` skill workflow:
1. Pull all QuickBooks transactions for the target month.
2. Pull settlements from each connected payment processor (PayPal, Stripe, Square) for the same month.
3. Match QB entries to processor settlements by amount + date (±2 days).
4. Surface three gap categories:
- **Unmatched processor settlements** — money came in via PayPal/Stripe/Square but never landed in QB
- **Unmatched QB deposits** — QB shows income with no processor record (cash? wire? misclassified?)
- **Variance lines** — matched but amount differs (fees, refunds split)
## Step 2 — Flag suspicious entries
Surface in the same report:
- **Uncategorized transactions** — QB entries with no category
- **Suspicious duplicates** — same amount, same vendor, within 3 days
- **Missing receipts** — QB entries above $75 with no attachment
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.
## Step 3 — P&L narrative
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.
## Step 4 — Export the close packet
Generate two files:
1. **`close-packet-{YYYY-MM}.xlsx`** — multi-tab workbook:
- `Reconciliation` — QB ↔ processor match table with gap rows highlighted
- `Flagged` — uncategorized / duplicates / missing receipts
- `P&L` — formatted income statement with prior-month delta column
- `Trial Balance` — accounts + ending balances
2. **`close-packet-{YYYY-MM}.pdf`** — one-page summary: P&L narrative + top-line numbers + gap count
Save both to the chosen `--save-to` location. Filename format: `close-packet-2026-04.xlsx` etc.
## Connector failures
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.
## Approval gates
- **Never auto-fix flagged items.** Always show the gap, recommend an action, wait for the owner.
- **Never delete duplicates without explicit confirmation.** Show both records side-by-side.
- **Saving the packet is auto** — it goes to the owner's own drive.
## Output
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.
More from anthropics/knowledge-work-plugins
- accessibility-reviewRun a WCAG 2.1 AA accessibility audit on a design or page. Trigger with "audit accessibility", "check a11y", "is this accessible?", or when reviewing a design for color contrast, keyboard navigation, touch target size, or screen reader behavior before handoff.
- account-research"Research a company using Common Room data. Triggers on 'research [company]', 'tell me about [domain]', 'pull up signals for [account]', 'what's going on with [company]', or any account-level question."
- analyzeAnswer data questions -- from quick lookups to full analyses. Use when looking up a single metric, investigating what's driving a trend or drop, comparing segments over time, or preparing a formal data report for stakeholders.
- architectureCreate or evaluate an architecture decision record (ADR). Use when choosing between technologies (e.g., Kafka vs SQS), documenting a design decision with trade-offs and consequences, reviewing a system design proposal, or designing a new component from requirements and constraints.
- audit-supportSupport SOX 404 compliance with control testing methodology, sample selection, and documentation standards. Use when generating testing workpapers, selecting audit samples, classifying control deficiencies, or preparing for internal or external audits.
- brand-reviewReview content against your brand voice, style guide, and messaging pillars, flagging deviations by severity with specific before/after fixes. Use when checking a draft before it ships, when auditing copy for voice consistency and terminology, or when screening for unsubstantiated claims, missing disclaimers, and other legal flags.
- brand-voice-enforcement>
- briefGenerate contextual briefings for legal work — daily summary, topic research, or incident response. Use when starting your day and need a scan of legal-relevant items across email, calendar, and contracts, when researching a specific legal question across internal sources, or when a developing situation (data breach, litigation threat, regulatory inquiry) needs rapid context.
- build-dashboardBuild an interactive HTML dashboard with charts, filters, and tables. Use when creating an executive overview with KPI cards, turning query results into a shareable self-contained report, building a team monitoring snapshot, or needing multiple charts with filters in one browser-openable file.
- build-zoom-botBuild a Zoom meeting bot, recorder, or real-time media workflow. Use when joining meetings programmatically, processing live media or transcripts, or combining Meeting SDK, RTMS, and backend services.