Plans and validates the month-end close process by calculating critical paths for task dependencies, proving bank-to-ledger reconciliations, and enforcing strict quality gates on variance explanations. It identifies bottlenecks, flags unproven or stale reconciliations, and rejects boilerplate flux justifications.
Say it in your own words; the assistant finds this recipe by itself. Examples:
Use this skill when you need to schedule close tasks to meet a specific deadline, verify that bank statements match the general ledger with zero unexplained differences, or review variance explanations to ensure they are quantified and evidence-based. It is ideal for identifying why a close is taking too long and enforcing segregation of duties during the review process.
Portability: 3 stdlib scripts, no network, no ERP connection. Export CSV or JSON; the scripts plan, prove and gate. Not accounting or audit advice. Thresholds and aging limits are your policy; the scripts make you state them.
A slow close is rarely slow everywhere. One chain of dependent tasks sets the close date, reconciliations "agree" without a proof, and flux review accepts "timing" as a reason. Each script attacks one of those.
# 1 - Calendar: dependency order, critical path, owners, reviewers, load.
python scripts/close_calendar_planner.py --plan close_plan.json
# 2 - Reconciliations: match, prove, age. One run per account.
python scripts/reconciliation_matcher.py --gl gl_cash.csv --source bank.csv \
--gl-balance 52708.60 --source-balance 47144.72 --as-of 2026-10-31 --preparer Sam --reviewer Lee
# 3 - Flux: every material change needs a quantified, evidenced explanation.
python scripts/flux_analyzer.py --input tb_compare.csv --pct 10 --abs 10000 --reviewer Lee
Step 1 schedules each task as soon as its predecessors finish, then checks the plan against people: one person booked for 1.5 days on WD1 is a plan that will slip. Speed up the critical path, nothing else.
Step 2 matches by reference, then by amount within a date window. What is left is a reconciling item: in the GL only (timing) or in the source only (book a journal entry). The proof must close to zero. An unexplained difference that was already in the opening balances points back to last month's reconciliation; one that divides by 9 is flagged as a likely transposition.
Step 3 marks an account material when it passes your threshold rule, flips sign, or appears or disappears. Its explanation fails if it is missing, stock ("timing", "in line with expectations"), or has no number in it.
| Script | Role | Exit codes |
|---|---|---|
scripts/close_calendar_planner.py |
Topological order, critical path, slack, WD deadlines, calendar dates, owner load, reviewer segregation | 0 · 2 at risk · 3 bad input or cycle · 4 blocked |
scripts/reconciliation_matcher.py |
Two-pass matching, proof, aging buckets, journal entries needed, review check | 0 · 2 items · 3 · 4 unreconciled |
scripts/flux_analyzer.py |
Materiality by your rule, sign flips, explanation lint, evidence check, self-review | 0 · 2 evidence · 3 · 4 incomplete |
All support --sample and --output json.
references/close_calendar_and_benchmarks.md — task order, critical path, days-to-close benchmarks and their caveats (6 sources)references/reconciliation_standards.md — what a reconciliation must contain, aging, segregation, review precision (6 sources)references/flux_analysis_and_materiality.md — expectations, thresholds, corroboration, materiality rules of thumb (6 sources)assets/close_plan.example.json, assets/gl_cash.example.csv, assets/bank_statement.example.csv, assets/flux_input.example.csv — input formatsassets/reconciliation_signoff.md — sign-off sheet with the evidence fields a reviewer fills inLICENSESKILL.mdassets/bank_statement.example.csvassets/close_plan.example.jsonassets/flux_input.example.csvassets/gl_cash.example.csvassets/reconciliation_signoff.mdreferences/close_calendar_and_benchmarks.mdreferences/flux_analysis_and_materiality.mdreferences/reconciliation_standards.mdscripts/close_calendar_planner.pyscripts/flux_analyzer.pyscripts/reconciliation_matcher.pyVendored from alirezarezvani/claude-skills, commit 27cfcd0fb0a4, path finance/skills/month-end-close, licence MIT. The upstream licence file ships inside the skill.