Skill Tracer
Skills › Knowledge Work Plugins › close-month

close-month

skill · 86 lines · Apache-2.0 · small-business/skills/close-month/SKILL.md

The facts

Its description

Closes the books and turns them into a decision as a three-link chain — month-end-prep reconciles the ledger against every connected payment processor and writes the P&L narrative, cash-flow-snapshot then refreshes the 30/60/90-day forecast off the newly closed numbers rather than raw ones, and report-builder publishes and distributes the close packet. Requires a ledger (MYOB, NetSuite, QuickBooks, Xero, or Zoho Books) and uses Gusto, PayPal, Ramp, Shopify, Square, and Stripe when connected, falling back to statement or CSV uploads. Trigger on "close the month," "month-end," "close the books," "reconcile," "send the close packet to my accountant," or when the owner asks why revenue or margin moved last month. An owner who wants only the reconciliation and its flags, with no forecast refresh and no packet distribution, routes to month-end-prep directly.

The description the agent reads to decide when to use it.

From its settingsline 3

When it starts

The agent picks this skill when the owner wants a month's books closed — reconciling the ledger, explaining why revenue or margin moved, or getting a close packet out to an accountant. It is the front of a three-step chain that closes the books, forecasts off the closed numbers, then publishes the packet.

Things a person might say (the model's guesses)

  • “Close the books for April.”
  • “Can you send the close packet to my accountant?”
  • “Why did our margin move last month?”

A model's summary of when it is used.

A model's reading

Tools it may use, or may not

allowed-tools: Read, WebFetch

Tools it may use while it runs without asking you first.

From its settingsline 4

Stops for a person

2 lines stop to ask a person

Lines that stop and wait for a person before going on. Found by matching words, so treat them as pointers.

Found by matching wordsline 53 line 63

What it leads to

Other skills this one hands off to, calls, requires or offers instead, as a model read them.

A model's reading

What leads to it

Other skills that hand off to this one, call it, require it or offer it instead, as a model read them.

A model's reading

Licence

Apache-2.0, from LICENSE

The terms its author shares it under, which let it be shown here.

From the repositorylicence text

The text

Open on GitHub

Most marks come from matching words in the file, so treat them as pointers.

1---
2name: close-month
3description: Closes the books and turns them into a decision as a three-link chain — month-end-prep reconciles the ledger against every connected payment processor and writes the P&L narrative, cash-flow-snapshot then refreshes the 30/60/90-day forecast off the newly closed numbers rather than raw ones, and report-builder publishes and distributes the close packet. Requires a ledger (MYOB, NetSuite, QuickBooks, Xero, or Zoho Books) and uses Gusto, PayPal, Ramp, Shopify, Square, and Stripe when connected, falling back to statement or CSV uploads. Trigger on "close the month," "month-end," "close the books," "reconcile," "send the close packet to my accountant," or when the owner asks why revenue or margin moved last month. An owner who wants only the reconciliation and its flags, with no forecast refresh and no packet distribution, routes to month-end-prep directly.
4allowed-tools: Read, WebFetch
5---
6
7Run the month-end chain. Close, then forecast off the closed books, then publish. The ordering is the product.
8
9Parse arguments:
10- `--month` (default: previous calendar month) — `YYYY-MM`
11- `--save-to` (default `files`) — `files` (Drive / OneDrive), `desktop`, or `both`
13**A ledger is required** — MYOB, NetSuite, QuickBooks, Xero, or Zoho Books, whichever is connected; they are peers (`../../shared/connector-neutrality.md`). If none is reachable, stop and say so. Reconciliation without a ledger is not a close. Offer the CSV path from `month-end-prep` rather than producing a partial packet. If two ledgers are connected, ask which holds the books being closed and name it in the packet.

Run the month-end chain. Close, then forecast off the closed books, then publish. The ordering is the product.

Parse arguments:

  • --month (default: previous calendar month) — YYYY-MM
  • --save-to (default files) — files (Drive / OneDrive), desktop, or both

A ledger is required — MYOB, NetSuite, QuickBooks, Xero, or Zoho Books, whichever is connected; they are peers (../../shared/connector-neutrality.md). If none is reachable, stop and say so. Reconciliation without a ledger is not a close. Offer the CSV path from month-end-prep rather than producing a partial packet. If two ledgers are connected, ask which holds the books being closed and name it in the packet.

Raw lines 1 to 14
Names a skill month-end-prep :13
15## Step 1 — Close and reconcile (month-end-prep)
17Run `month-end-prep` for the target month, start to finish.
19- **In:** the target month.
20- **Out:** the reconciliation table, the flagged items (uncategorized, suspicious duplicates, missing receipts), the P&L narrative, and the close packet XLSX plus one-page PDF.
21- **Gate:** `month-end-prep`'s own Step 6 sign-off holds. The owner triages every flagged item — or explicitly skips it — before anything downstream runs.
23**This step owns the numbers.** Nothing later in the chain recategorizes a transaction or restates revenue.

Step 1 — Close and reconcile (month-end-prep)

Run month-end-prep for the target month, start to finish.

  • In: the target month.
  • Out: the reconciliation table, the flagged items (uncategorized, suspicious duplicates, missing receipts), the P&L narrative, and the close packet XLSX plus one-page PDF.
  • Gate: month-end-prep's own Step 6 sign-off holds. The owner triages every flagged item — or explicitly skips it — before anything downstream runs.

This step owns the numbers. Nothing later in the chain recategorizes a transaction or restates revenue.

Raw lines 15 to 24
Names a skill month-end-prep :17
25### The hard gate before Step 2
27Do not start the forecast until the owner has signed off on the close. Say plainly what is waiting:
29> "Books are closed for April — USD 3,200 in variances resolved, two receipts still missing. Ready to refresh your cash forecast off these closed numbers?"
31If flagged items are still open, name them and ask whether to forecast anyway. A forecast built on eleven uncategorized transactions is a forecast built on a guess, and the owner deserves to know which they are getting.

The hard gate before Step 2

Do not start the forecast until the owner has signed off on the close. Say plainly what is waiting:

"Books are closed for April — USD 3,200 in variances resolved, two receipts still missing. Ready to refresh your cash forecast off these closed numbers?"

If flagged items are still open, name them and ask whether to forecast anyway. A forecast built on eleven uncategorized transactions is a forecast built on a guess, and the owner deserves to know which they are getting.

Raw lines 25 to 32
33## Step 2 — Forecast off the closed books (cash-flow-snapshot)
35Run `cash-flow-snapshot` using the reconciled month as its historical base.
37- **In:** the closed-month figures from Step 1 — actual AR collection timing, actual fixed costs as coded, actual settlement lag.
38- **Out:** the 30/60/90-day forecast with confidence bands and named risks.
39- **Gate:** none. The forecast is read-only.
41**Say why this ordering matters, in the output.** A forecast run on raw books inherits every miscoded expense and every unmatched settlement. Running it after the close means the payment-timing history is real and the fixed-cost floor is right. One line is enough:
43> "This forecast is built on April's closed books, so the collection timing and cost floor reflect reconciled numbers — not the raw register."
45If the close surfaced something that moves the forecast — a duplicate vendor charge removed, a settlement finally matched — call out the delta against last month's forecast.

Step 2 — Forecast off the closed books (cash-flow-snapshot)

Run cash-flow-snapshot using the reconciled month as its historical base.

  • In: the closed-month figures from Step 1 — actual AR collection timing, actual fixed costs as coded, actual settlement lag.
  • Out: the 30/60/90-day forecast with confidence bands and named risks.
  • Gate: none. The forecast is read-only.

Say why this ordering matters, in the output. A forecast run on raw books inherits every miscoded expense and every unmatched settlement. Running it after the close means the payment-timing history is real and the fixed-cost floor is right. One line is enough:

"This forecast is built on April's closed books, so the collection timing and cost floor reflect reconciled numbers — not the raw register."

If the close surfaced something that moves the forecast — a duplicate vendor charge removed, a settlement finally matched — call out the delta against last month's forecast.

Raw lines 33 to 46
Names a skill cash-flow-snapshot :35
47## Step 3 — Publish and distribute (report-builder)
49Run `report-builder` to package and deliver the close.
51- **In:** the P&L narrative and packet from Step 1, the forecast from Step 2.
52- **Out:** the merged close packet — chat summary first, then the workbook. Save the definition so next month's close publishes the same pack without being described again.
53- **Gate:** saving to the owner's own drive is automatic. **Sending to an accountant or anyone else is not** — draft the message, show it, and wait.
55Merge, do not staple. The packet reads: what the month was, what the books say, what the next 90 days look like off those books, and what is still open.
57Example, Okonkwo Mechanical: "April closed at USD 84,200, up 6% on March. Margin held at 38%. Two receipts outstanding. The 30-day forecast is USD 11,400 net at the midpoint — Rosewood's USD 12,400 is the swing."

Step 3 — Publish and distribute (report-builder)

Run report-builder to package and deliver the close.

  • In: the P&L narrative and packet from Step 1, the forecast from Step 2.
  • Out: the merged close packet — chat summary first, then the workbook. Save the definition so next month's close publishes the same pack without being described again.
  • Gate: saving to the owner's own drive is automatic. Sending to an accountant or anyone else is not — draft the message, show it, and wait.

Merge, do not staple. The packet reads: what the month was, what the books say, what the next 90 days look like off those books, and what is still open.

Example, Okonkwo Mechanical: "April closed at USD 84,200, up 6% on March. Margin held at 38%. Two receipts outstanding. The 30-day forecast is USD 11,400 net at the midpoint — Rosewood's USD 12,400 is the swing."

Raw lines 47 to 58
Names a skill report-builder :49
Involves a person and wait :53
59## What not to do
61- **Do not forecast before the close is signed off.** The ordering is the entire reason this is a chain.
62- **Do not auto-fix a flagged item.** Show the gap, recommend the action, wait.
63- **Do not delete a suspected duplicate without explicit confirmation.** Show both records side by side.
64- **Do not restate a number downstream.** Step 1 owns the books; later steps cite them.
65- **Do not send the packet to an accountant without approval.**
66- **Do not proceed without a ledger.** Say what is missing, by category, and offer the CSV path.

What not to do

  • Do not forecast before the close is signed off. The ordering is the entire reason this is a chain.
  • Do not auto-fix a flagged item. Show the gap, recommend the action, wait.
  • Do not delete a suspected duplicate without explicit confirmation. Show both records side by side.
  • Do not restate a number downstream. Step 1 owns the books; later steps cite them.
  • Do not send the packet to an accountant without approval.
  • Do not proceed without a ledger. Say what is missing, by category, and offer the CSV path.
Raw lines 59 to 67
Involves a person without explicit confirmation :63
68## Output
70End with a one-paragraph recap: revenue and margin, gaps still open, the 30-day forecast midpoint and its top risk, and the file paths. If anything was skipped rather than resolved, list it so the owner can come back to it.
72Also render the merged close as one HTML artifact using the house artifact style (`../../shared/artifact-style.md`) — additive to the chat recap and the packet files, never instead of them. Revenue, margin percent, and the 30-day forecast midpoint are stat tiles with their comparison as context lines; the reconciliation and flagged items are a table with tabular-nums amounts and a status pill per row (good reconciled, warn skipped, critical unresolved); the 30/60/90 forecast gets its own panel; the open-items checklist closes the page.

Output

End with a one-paragraph recap: revenue and margin, gaps still open, the 30-day forecast midpoint and its top risk, and the file paths. If anything was skipped rather than resolved, list it so the owner can come back to it.

Also render the merged close as one HTML artifact using the house artifact style (../../shared/artifact-style.md) — additive to the chat recap and the packet files, never instead of them. Revenue, margin percent, and the 30-day forecast midpoint are stat tiles with their comparison as context lines; the reconciliation and flagged items are a table with tabular-nums amounts and a status pill per row (good reconciled, warn skipped, critical unresolved); the 30/60/90 forecast gets its own panel; the open-items checklist closes the page.

Raw lines 68 to 73
74## After the run
76One line: the month is closed, forecast refreshed, packet published. Then the single most relevant next step, with at most two others nearby:
78- If the forecast flagged a payroll risk: "can I make payroll" runs `/plan-payroll`.
79- "Who owes me money?" runs `invoice-chase` on the AR the close just confirmed.
80- "The weekly pack, on schedule" runs `/report-pack` so these numbers recur.
82Max three offers. Never repeat an offer the owner declined this session.

After the run

One line: the month is closed, forecast refreshed, packet published. Then the single most relevant next step, with at most two others nearby:

  • If the forecast flagged a payroll risk: "can I make payroll" runs /plan-payroll.
  • "Who owes me money?" runs invoice-chase on the AR the close just confirmed.
  • "The weekly pack, on schedule" runs /report-pack so these numbers recur.

Max three offers. Never repeat an offer the owner declined this session.

Raw lines 74 to 83
Names a skill plan-payroll :78
Names a skill invoice-chase :79
Names a skill report-pack :80
Boilerplate, lines 84 to 86. The same text appears in 38 other files here. Close
84## Using a tool that isn't listed
86The connectors named in this skill are the tested paths, not a wall. If the owner wants this flow to use a tool that isn't connected or listed, offer `build-connector` — it checks the connector directory first and connects through Zapier otherwise, never hand-building against a raw API. Once the connection exists, the tool joins this skill like any other optional connector, under the same approval gates.

From anthropics/knowledge-work-plugins at 2574e29, 2026-10-27. Skills read by DeepSeek V4.1 Flash on 2026-11-04. Summary and techniques by Claude Opus 5.5 on 2026-11-06.