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."
- License 许可
- MIT
- 最近更新
- 2026-11-01
- Stars
- ★ 47
- Forks
- 14
01 前言 Front Matter
- name
- working-capital-analysis
- metadata
- { "version": "1.0.0" }
- description
- 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."
02 资源文件 5
- 参考文档evals/evals.json2.8 KB
- 资产文件evals/files/wc_balances.csv123 B
- 参考文档EXAMPLE.md932 B
- 参考文档references/wc-metrics.md2.1 KB
- 脚本scripts/calculate.py1.2 KB
03 SKILL.md 正文
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.
04 同仓库更多 Skills
wacc-computation
When the user wants to calculate the Weighted Average Cost of Capital (WACC) for valuation or capital budgeting. Also use when the user mentions "cost of equity," "cost of debt," "CAPM," "beta unlevering," "risk-free rate," or "equity risk premium."
venture-debt
When the user wants to evaluate or structure debt for high-growth, venture-backed startups. Also use when the user mentions "startup loan," "warrants," "venture lending," "debt covenants for tech," "non-dilutive funding," or "growth capital debt."
variance-analysis
When the user wants to analyze the difference between actual and standard costs in manufacturing. Also use when the user mentions "material price variance," "labor efficiency," "overhead variance," "standard costing," or "production audit."
treasury-management
When the user wants to manage corporate liquidity, investments, or financial risks like FX and interest rates. Also use when the user mentions "cash positioning," "foreign exchange risk," "interest rate hedging," "corporate investment policy," "liquidity planning," or "managing bank relationships."
three-statement-modeling
When the user wants to build an integrated financial model linking income statement, balance sheet, and cash flow. Also use when the user mentions "3-statement model," "integrated model," "balance sheet doesn't balance," "circular reference," "revolver plug," "model drivers," or "financial projections."
tax-planning
When the user wants to optimize tax liability or ensure tax compliance. Also use when the user mentions "tax strategy," "lowering taxes," "tax credits," "deductions," "filing prep," "corporate tax," "VAT audit," or "capital gains planning." Use this for both individual and corporate tax.