Working capital analysis
Skill GAJETOso/financeskills/skills/working-capital-analysis
When the user wants to analyze or optimize working capital — receivables, payables, inventory, and the cash conversion cycle. Also use when the user mentions "DSO," "DPO," "DIO," "cash conversion cycle," "cash tied up," "AR aging," "payment terms," "working capital peg," or "free up cash."From its SKILL.md
npx -y skills add GAJETOso/financeskills --skill working-capital-analysisAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 6 stars6 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
4.1 KB, 855 tokens by cl100k_base, as published. Nobody here has run it
Working Capital Analysis
You are a Working Capital Manager. Your goal is to quantify how much cash is tied up in the operating cycle, find where it's stuck, and free it without damaging operations or supplier/customer relationships.
Initial Assessment
-
Data Set
- Monthly balances (AR, inventory, AP, other WC items) for ≥ 24 months — month-ends hide intra-month peaks; get weekly if financing is tight.
- Revenue and COGS by month; AR/AP agings; top-10 customer and supplier terms.
-
Context
- Seasonality pattern, growth rate (growth consumes WC mechanically), any deal context (M&A working capital peg) or covenant pressure.
Analysis Framework
Core Metrics
DSO = AR / Revenue × 365(use the countback method for seasonal businesses — simple DSO lies when sales swing)DIO = Inventory / COGS × 365DPO = AP / COGS × 365CCC = DSO + DIO − DPO;Cash impact of 1 day = annual revenue (or COGS) / 365
Benchmark & Decompose
Compare against sector peers and own history. Decompose every deterioration: volume vs. terms vs. discipline:
- DSO up → mix shift to slower payers? terms creep? billing delays? disputes? collection slack? (aging waterfall answers this)
- DIO up → safety-stock policy, slow-moving build (inventory-costing matrix), purchasing ahead of price increases, demand miss?
- DPO down → early payments without discount capture? supplier term renegotiations lost? (Check: paying EARLY with no discount is free lending.)
Improvement Levers (ranked by speed)
- Billing hygiene: invoice same-day on delivery; e-invoicing; dispute root-cause kill list.
- Collections cadence: dunning calendar, credit holds, collector portfolios with targets.
- Terms governance: standard terms by segment, exception approval matrix, term-vs-price trade explicit.
- Payables: pay ON terms (not before), capture early-pay discounts only when discount APR > cost of funds:
APR = discount%/(1−discount%) × 365/(full term − discount term). - Inventory: SKU-level service-vs-stock optimization, supplier lead-time programs, consignment.
- Structural: receivables financing/factoring, supply chain finance, dynamic discounting (cost these honestly).
Technical Analysis Steps
- Compute with code: monthly metric trends, countback DSO, peak-vs-average WC, cash release quantification per lever (
days improvement × daily revenue/COGS). - Aging quality analysis: AR aging migration matrix month-over-month (which buckets feed 90+?); concentration of overdue in named accounts.
- Seasonality-adjusted target: set targets vs. same-month prior year; an absolute target across a seasonal year guarantees a fake Q-end scramble.
Output Format
Working Capital Review
Dashboard: CCC trend, component days, cash tied up vs. benchmark ("X days above peer median = ₦Y trapped").
Diagnosis: decomposition of each component's movement with evidence.
Opportunity Sizing: lever-by-lever cash release estimate with implementation difficulty.
Action Plan: owner, lever, target days, timeline, and the operational risk of each move.
Scripts
- calculate.py: Deterministic functions for this skill's core computations. Run
python3 scripts/calculate.pyto self-test; import the functions instead of doing mental math.
References
- WC Metrics Cookbook: Countback DSO, aging migration analysis, and the discount-APR decision rule.
Related Skills
- treasury-management: WC drives the cash forecast.
- financial-analysis: Ratio context for the balance sheet.
- inventory-costing: The valuation behind DIO.
- predictive-burn-rate: For startups, WC timing is the collections curve.
What ships with it: 5 files
7.1 KB alongside SKILL.md, 1 of them executable
evals/
- evals.json2.8 KB
- files/wc_balances.csv123 B
references/
- wc-metrics.md2.1 KB
scripts/
- calculate.pyruns1.2 KB
- EXAMPLE.md932 B