/cpa-skills:flux-narrativefrom cpa-skills
Computes period-over-period movement between two trial balances, applies dual dollar-and-percent materiality, and drafts variance explanations for reviewer confirmation.
Ships in cpa-skills. 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; scripts run unread.
The numbers side of a flux report takes seconds: subtract one trial balance from another. The narrative side is what actually takes the week, because every material movement needs a specific, sourced reason, not a restatement of the number that moved.
This skill computes the movement and drafts the narrative's starting point. It does not invent a cause from nothing. It flags what changed, and where a person already explained the same account last period, it offers that explanation back as a labeled draft for a reviewer to confirm or replace. A draft never counts as an explanation on its own. Nothing closes until a reviewer confirms it, re-quantified for this period, with a source attached.
An explanation is causal and quantified. Direction is not an explanation.
If the components don't sum to the variance, the explanation is incomplete and the remainder stays visible as unexplained. Do not let the last 15% of a movement disappear into "other."
Confirm both periods are on a comparable basis before comparing: same entity, same accounting method, same chart of accounts. A restated prior period or a chart-of-accounts restructuring makes raw variances meaningless — normalize first and disclose the normalization, or the schedule misleads.
Align current-period accounts to prior-period accounts by account ID. Three outcomes, and the last two matter most:
python3 scripts/flux_compare.py \
--current cp.csv --prior pp.csv \
--prior-commentary last_period_explanations.csv \
--dollar-threshold 10000 --percent-threshold 10 --absolute-floor 2000 \
--entity "Acme Holdings LLC" --cp-label "Sep 2026" --pp-label "Aug 2026" \
--out "Acme Holdings - Sep 2026 Flux.xlsx"
Input CSVs: account_id, account_name, amount, and optional account_type and activity_changed (yes/no/blank, current-period file only — see the unchanged test).
Materiality is dual, and both tests must be satisfied to be immaterial. A movement is material if it exceeds the dollar threshold or the percent threshold, subject to an absolute floor below which percent is ignored. A 400% swing on a $200 account is noise; a 3% move on an $8M revenue account is not. Set thresholds by engagement judgment and record them.
Regardless of threshold, these are always flagged:
activity_changed = yes on any account whose underlying facts moved even though the reported figure didn't. Depreciation identical to last month after a capital addition is not a coincidence.This is where this skill differs from a flat variance calculator. When --prior-commentary is supplied and a flagged account was explained last period, the worklist arrives with that explanation already sitting in the cause field, prefixed DRAFT, confirm or replace:. It carries no dollar components — a component tied to last month's movement would misstate this month's, so those always start blank.
Three things can happen to a draft:
status = confirmed.Everything without a prior-period match starts blank, exactly like a flat variance tool, because there is nothing honest to draft from.
The script writes flux_worklist.csv listing every open item: unconfirmed drafts and true blanks together. Fill in cause (or accept the draft), components (which must sum to the variance), evidence, owner, and status = confirmed, then re-run with --explanations. A row left as draft — even with a perfectly good cause sitting in it — does not count. That is the entire point: the skill offers a starting point, a person decides it's actually true this period.
The script reports the confirmation rate, both by count and by dollar, and refuses to mark the analysis complete below 100% of flagged items. Where a cause rests on a client- or business-unit-provided reason you have not corroborated, mark evidence = client representation — a legitimate but weaker basis, and the workbook flags it so a reviewer knows which is which.
Workbook tabs:
Then, in chat: the handful of movements that actually matter, in plain language, with their confirmed causes, followed by what's still in the draft queue or genuinely unexplained and who owns it. Lead with anything still open. A controller reading this wants to know what to review, not to re-read the schedule.
Some patterns are worth escalating rather than explaining:
Raise these as observations with the facts you have. Do not characterize intent.
Fully local. No client or company financial data leaves the machine. Inputs read-only.
pip install openpyxl
Built by Adopt AI — free to use and modify.
What SKILL.md sets; muted values are Claude Code's defaults
43 skills in this plugin
/accrual-proposalsPropose month-end accruals from open POs received but not yet invoiced (GRNI), recurring vendor spend patterns, and preparer-supplied one-time items, cross-checked against the AP register so nothing is double-booked, with every line carrying a stated basis and an auto-reversal flag for reviewer approval. Never books anything - output is a proposed JE batch for a Controller to approve before it posts to the GL. Use whenever the user mentions month-end accruals, accrual proposals, what should we accrue this month, GRNI, goods received not invoiced, a recurring accrual estimate, or the accrual JE batch for close. Also trigger on "propose accruals," "draft the accrual entries," "what are we missing on the accrual side," or when an open PO report, AP register, or vendor spend history is supplied together at month end. Inverts cutoff-and-unrecorded-liabilities: that proves a search for what was missed is complete; this proposes what to book. Runs fully local - no client data leaves the machine./ar-aging-tie-outTie the accounts receivable aging to the general ledger control account and test it properly — recomputing every ageing bucket from the invoice date rather than trusting the report, grossing up netted credit balances, and flagging stale balances, unapplied cash, and cutoff errors. Use this whenever the user mentions AR aging, accounts receivable aging, tying the aging to the GL, an AR subledger that does not agree to the control account, stale or uncollectible receivables, the allowance for doubtful accounts, unapplied cash or credits, or receivable confirmations. Also trigger on "does our AR aging tie," "reconcile accounts receivable," "which receivables are old," "check the allowance," "why is AR off," "review the aging," or when an AR aging report and a trial balance are provided together. Runs fully local — no customer or receivable data leaves the machine.npx claudepluginhub adoptai/cpa-skills --plugin cpa-skillsOther plugins' skills for the same job