@v587d/capital-generation 2.7.6 → 2.7.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +78 -0
- package/README.md +5 -4
- package/THIRD_PARTY_NOTICES.md +14 -3
- package/capital-config/client.js +4 -4
- package/capital-config/package.json +1 -1
- package/capital-watchlist/package.json +1 -1
- package/chart-ui/package.json +1 -1
- package/lib/agents/selected-skills-provider.js +91 -41
- package/lib/index.js +3 -2
- package/lib/web-retriever/local-fetch.d.ts +1 -1
- package/lib/web-retriever/local-fetch.js +1 -1
- package/lib/web-retriever/wind-client.d.ts +1 -1
- package/lib/web-retriever/wind-client.js +1 -1
- package/package.json +2 -1
- package/selected-skills/README.md +3 -1
- package/selected-skills/catalog.js +155 -0
- package/selected-skills/financeskills/LICENSE +21 -0
- package/selected-skills/financeskills/UPSTREAM.md +202 -0
- package/selected-skills/financeskills/skills/ai-anomaly-detection/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/ai-anomaly-detection/SKILL.md +84 -0
- package/selected-skills/financeskills/skills/ai-anomaly-detection/references/feature-engineering.md +20 -0
- package/selected-skills/financeskills/skills/ai-anomaly-detection/references/ml-algorithms.md +28 -0
- package/selected-skills/financeskills/skills/aro-computation/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/aro-computation/SKILL.md +82 -0
- package/selected-skills/financeskills/skills/aro-computation/references/aro-standards.md +22 -0
- package/selected-skills/financeskills/skills/aro-computation/references/pv-math.md +27 -0
- package/selected-skills/financeskills/skills/audit-checklist/EXAMPLE.md +17 -0
- package/selected-skills/financeskills/skills/audit-checklist/SKILL.md +77 -0
- package/selected-skills/financeskills/skills/audit-checklist/references/internal-controls.md +36 -0
- package/selected-skills/financeskills/skills/audit-checklist/references/isa-standards.md +26 -0
- package/selected-skills/financeskills/skills/automated-reconciliation/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/automated-reconciliation/SKILL.md +87 -0
- package/selected-skills/financeskills/skills/automated-reconciliation/assets/reconciliation-statement-template.md +31 -0
- package/selected-skills/financeskills/skills/automated-reconciliation/references/fuzzy-logic.md +27 -0
- package/selected-skills/financeskills/skills/automated-reconciliation/references/rec-controls.md +28 -0
- package/selected-skills/financeskills/skills/banking-compliance/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/banking-compliance/SKILL.md +82 -0
- package/selected-skills/financeskills/skills/banking-compliance/references/basel-iii-framework.md +26 -0
- package/selected-skills/financeskills/skills/banking-compliance/references/risk-weights.md +32 -0
- package/selected-skills/financeskills/skills/budget-forecast/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/budget-forecast/SKILL.md +87 -0
- package/selected-skills/financeskills/skills/budget-forecast/references/forecasting-best-practices.md +26 -0
- package/selected-skills/financeskills/skills/budget-forecast/references/scenario-analysis.md +25 -0
- package/selected-skills/financeskills/skills/close-management/EXAMPLE.md +17 -0
- package/selected-skills/financeskills/skills/close-management/SKILL.md +85 -0
- package/selected-skills/financeskills/skills/close-management/references/close-task-library.md +32 -0
- package/selected-skills/financeskills/skills/company-valuation/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/company-valuation/SKILL.md +80 -0
- package/selected-skills/financeskills/skills/company-valuation/references/terminal-value-guide.md +33 -0
- package/selected-skills/financeskills/skills/corporate-consolidation/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/corporate-consolidation/SKILL.md +84 -0
- package/selected-skills/financeskills/skills/corporate-consolidation/references/consolidation-standard.md +28 -0
- package/selected-skills/financeskills/skills/corporate-consolidation/references/minority-interest.md +25 -0
- package/selected-skills/financeskills/skills/credit-analysis/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/credit-analysis/SKILL.md +84 -0
- package/selected-skills/financeskills/skills/credit-analysis/references/covenant-guide.md +26 -0
- package/selected-skills/financeskills/skills/crypto-accounting/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/crypto-accounting/SKILL.md +81 -0
- package/selected-skills/financeskills/skills/crypto-accounting/references/fasb-crypto.md +26 -0
- package/selected-skills/financeskills/skills/crypto-accounting/references/ifrs-crypto.md +25 -0
- package/selected-skills/financeskills/skills/cvp-breakeven/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/cvp-breakeven/SKILL.md +78 -0
- package/selected-skills/financeskills/skills/cvp-breakeven/references/cvp-patterns.md +28 -0
- package/selected-skills/financeskills/skills/debt-payoff/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/debt-payoff/SKILL.md +94 -0
- package/selected-skills/financeskills/skills/debt-payoff/references/debt-strategies.md +32 -0
- package/selected-skills/financeskills/skills/debt-payoff/references/interest-calculations.md +27 -0
- package/selected-skills/financeskills/skills/debt-restructuring/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/debt-restructuring/SKILL.md +79 -0
- package/selected-skills/financeskills/skills/debt-restructuring/references/creditor-priority.md +26 -0
- package/selected-skills/financeskills/skills/debt-restructuring/references/restructuring-types.md +24 -0
- package/selected-skills/financeskills/skills/deferred-tax/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/deferred-tax/SKILL.md +86 -0
- package/selected-skills/financeskills/skills/deferred-tax/references/td-catalogue.md +39 -0
- package/selected-skills/financeskills/skills/earned-value-mgmt/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/earned-value-mgmt/SKILL.md +79 -0
- package/selected-skills/financeskills/skills/earned-value-mgmt/references/forecasting-eac.md +27 -0
- package/selected-skills/financeskills/skills/earned-value-mgmt/references/pmi-evm.md +29 -0
- package/selected-skills/financeskills/skills/ecl-computation/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/ecl-computation/SKILL.md +85 -0
- package/selected-skills/financeskills/skills/ecl-computation/references/ifrs9-standard.md +27 -0
- package/selected-skills/financeskills/skills/ecl-computation/references/risk-modeling.md +26 -0
- package/selected-skills/financeskills/skills/esg-reporting/EXAMPLE.md +17 -0
- package/selected-skills/financeskills/skills/esg-reporting/SKILL.md +79 -0
- package/selected-skills/financeskills/skills/esg-reporting/references/ghg-protocol.md +22 -0
- package/selected-skills/financeskills/skills/esg-reporting/references/sasb-map.md +25 -0
- package/selected-skills/financeskills/skills/financial-analysis/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/financial-analysis/SKILL.md +108 -0
- package/selected-skills/financeskills/skills/financial-analysis/assets/analysis-memo-template.md +31 -0
- package/selected-skills/financeskills/skills/financial-analysis/references/accounting-standards.md +45 -0
- package/selected-skills/financeskills/skills/financial-analysis/references/ratio-definitions.md +14 -0
- package/selected-skills/financeskills/skills/fixed-asset-accounting/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/fixed-asset-accounting/SKILL.md +78 -0
- package/selected-skills/financeskills/skills/fixed-asset-accounting/references/useful-life-guide.md +30 -0
- package/selected-skills/financeskills/skills/forensic-accounting/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/forensic-accounting/SKILL.md +91 -0
- package/selected-skills/financeskills/skills/forensic-accounting/references/benfords-law.md +24 -0
- package/selected-skills/financeskills/skills/forensic-accounting/references/fraud-triangle.md +26 -0
- package/selected-skills/financeskills/skills/insurance-reserving/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/insurance-reserving/SKILL.md +82 -0
- package/selected-skills/financeskills/skills/insurance-reserving/references/actuarial-methods.md +33 -0
- package/selected-skills/financeskills/skills/insurance-reserving/references/insurance-metrics.md +26 -0
- package/selected-skills/financeskills/skills/intercompany-accounting/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/intercompany-accounting/SKILL.md +79 -0
- package/selected-skills/financeskills/skills/intercompany-accounting/references/elimination-entries.md +35 -0
- package/selected-skills/financeskills/skills/inventory-costing/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/inventory-costing/SKILL.md +80 -0
- package/selected-skills/financeskills/skills/inventory-costing/references/costing-examples.md +31 -0
- package/selected-skills/financeskills/skills/investment-analysis/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/investment-analysis/SKILL.md +82 -0
- package/selected-skills/financeskills/skills/investment-analysis/references/competitive-advantage.md +31 -0
- package/selected-skills/financeskills/skills/investment-analysis/references/valuation-guide.md +29 -0
- package/selected-skills/financeskills/skills/journal-entry/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/journal-entry/SKILL.md +94 -0
- package/selected-skills/financeskills/skills/journal-entry/assets/journal-entry-template.md +21 -0
- package/selected-skills/financeskills/skills/journal-entry/references/entry-patterns.md +51 -0
- package/selected-skills/financeskills/skills/lbo-modeling/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/lbo-modeling/SKILL.md +88 -0
- package/selected-skills/financeskills/skills/lbo-modeling/references/debt-structures.md +22 -0
- package/selected-skills/financeskills/skills/lbo-modeling/references/lbo-best-practices.md +27 -0
- package/selected-skills/financeskills/skills/lease-accounting/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/lease-accounting/SKILL.md +88 -0
- package/selected-skills/financeskills/skills/lease-accounting/assets/commencement-summary-template.md +28 -0
- package/selected-skills/financeskills/skills/lease-accounting/references/ibr-guide.md +26 -0
- package/selected-skills/financeskills/skills/net-worth-tracker/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/net-worth-tracker/SKILL.md +98 -0
- package/selected-skills/financeskills/skills/net-worth-tracker/references/asset-valuation.md +40 -0
- package/selected-skills/financeskills/skills/net-worth-tracker/references/net-worth-benchmarks.md +33 -0
- package/selected-skills/financeskills/skills/nlp-earnings-sentiment/EXAMPLE.md +17 -0
- package/selected-skills/financeskills/skills/nlp-earnings-sentiment/SKILL.md +77 -0
- package/selected-skills/financeskills/skills/nlp-earnings-sentiment/references/finbert-guide.md +26 -0
- package/selected-skills/financeskills/skills/nlp-earnings-sentiment/references/linguistic-finance.md +23 -0
- package/selected-skills/financeskills/skills/oil-gas-valuation/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/oil-gas-valuation/SKILL.md +86 -0
- package/selected-skills/financeskills/skills/oil-gas-valuation/references/sec-reporting.md +22 -0
- package/selected-skills/financeskills/skills/oil-gas-valuation/references/spe-standards.md +25 -0
- package/selected-skills/financeskills/skills/personal-budgeting/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/personal-budgeting/SKILL.md +100 -0
- package/selected-skills/financeskills/skills/personal-budgeting/references/budgeting-methods.md +40 -0
- package/selected-skills/financeskills/skills/personal-budgeting/references/spending-categories.md +40 -0
- package/selected-skills/financeskills/skills/predictive-burn-rate/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/predictive-burn-rate/SKILL.md +82 -0
- package/selected-skills/financeskills/skills/predictive-burn-rate/references/startup-metrics.md +27 -0
- package/selected-skills/financeskills/skills/predictive-burn-rate/references/time-series-forecasting.md +22 -0
- package/selected-skills/financeskills/skills/product-profitability/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/product-profitability/SKILL.md +83 -0
- package/selected-skills/financeskills/skills/product-profitability/references/allocation-logic.md +28 -0
- package/selected-skills/financeskills/skills/product-profitability/references/unit-economics.md +30 -0
- package/selected-skills/financeskills/skills/retirement-planning/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/retirement-planning/SKILL.md +98 -0
- package/selected-skills/financeskills/skills/retirement-planning/references/compound-growth.md +38 -0
- package/selected-skills/financeskills/skills/retirement-planning/references/retirement-fundamentals.md +29 -0
- package/selected-skills/financeskills/skills/revenue-recognition/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/revenue-recognition/SKILL.md +86 -0
- package/selected-skills/financeskills/skills/revenue-recognition/assets/allocation-workpaper-template.md +30 -0
- package/selected-skills/financeskills/skills/revenue-recognition/references/ifrs15-guide.md +28 -0
- package/selected-skills/financeskills/skills/revenue-recognition/references/saas-rev-rec.md +26 -0
- package/selected-skills/financeskills/skills/risk-assessment/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/risk-assessment/SKILL.md +83 -0
- package/selected-skills/financeskills/skills/risk-assessment/references/hedging-guide.md +24 -0
- package/selected-skills/financeskills/skills/risk-assessment/references/risk-metrics.md +24 -0
- package/selected-skills/financeskills/skills/sox-compliance/EXAMPLE.md +17 -0
- package/selected-skills/financeskills/skills/sox-compliance/SKILL.md +88 -0
- package/selected-skills/financeskills/skills/sox-compliance/references/sampling-methodology.md +27 -0
- package/selected-skills/financeskills/skills/startup-valuation/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/startup-valuation/SKILL.md +88 -0
- package/selected-skills/financeskills/skills/startup-valuation/references/berkus-method.md +25 -0
- package/selected-skills/financeskills/skills/startup-valuation/references/vc-method.md +23 -0
- package/selected-skills/financeskills/skills/statement-preparation/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/statement-preparation/SKILL.md +86 -0
- package/selected-skills/financeskills/skills/statement-preparation/references/accruals-deferrals.md +24 -0
- package/selected-skills/financeskills/skills/statement-preparation/references/cash-flow-method.md +32 -0
- package/selected-skills/financeskills/skills/tax-efficient-investing/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/tax-efficient-investing/SKILL.md +97 -0
- package/selected-skills/financeskills/skills/tax-efficient-investing/references/account-types.md +33 -0
- package/selected-skills/financeskills/skills/tax-efficient-investing/references/asset-location.md +36 -0
- package/selected-skills/financeskills/skills/tax-planning/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/tax-planning/SKILL.md +93 -0
- package/selected-skills/financeskills/skills/tax-planning/references/common-deductions.md +28 -0
- package/selected-skills/financeskills/skills/tax-planning/references/tax-code-lookup.md +25 -0
- package/selected-skills/financeskills/skills/three-statement-modeling/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/three-statement-modeling/SKILL.md +84 -0
- package/selected-skills/financeskills/skills/three-statement-modeling/references/model-checks.md +32 -0
- package/selected-skills/financeskills/skills/treasury-management/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/treasury-management/SKILL.md +83 -0
- package/selected-skills/financeskills/skills/treasury-management/references/fx-hedging.md +27 -0
- package/selected-skills/financeskills/skills/treasury-management/references/liquidity-metrics.md +24 -0
- package/selected-skills/financeskills/skills/variance-analysis/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/variance-analysis/SKILL.md +78 -0
- package/selected-skills/financeskills/skills/variance-analysis/references/overhead-logic.md +24 -0
- package/selected-skills/financeskills/skills/variance-analysis/references/variance-math.md +35 -0
- package/selected-skills/financeskills/skills/venture-debt/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/venture-debt/SKILL.md +84 -0
- package/selected-skills/financeskills/skills/venture-debt/references/saas-debt-metrics.md +26 -0
- package/selected-skills/financeskills/skills/venture-debt/references/venture-lending.md +23 -0
- package/selected-skills/financeskills/skills/wacc-computation/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/wacc-computation/SKILL.md +98 -0
- package/selected-skills/financeskills/skills/wacc-computation/assets/wacc-memo-template.md +40 -0
- package/selected-skills/financeskills/skills/wacc-computation/references/beta-math.md +24 -0
- package/selected-skills/financeskills/skills/wacc-computation/references/capm-basics.md +24 -0
- package/selected-skills/financeskills/skills/working-capital-analysis/EXAMPLE.md +21 -0
- package/selected-skills/financeskills/skills/working-capital-analysis/SKILL.md +83 -0
- package/selected-skills/financeskills/skills/working-capital-analysis/references/wc-metrics.md +30 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Worked Example - oil-gas-valuation
|
|
2
|
+
|
|
3
|
+
## Ask
|
|
4
|
+
|
|
5
|
+
> We have 1 million barrels of proved reserves. Lifting costs are $15/bbl. Current oil price is $80/bbl. What's the PV-10 assuming a 10-year production life?
|
|
6
|
+
|
|
7
|
+
## What a correct response contains
|
|
8
|
+
|
|
9
|
+
Should calculate annual production (100k bbl/yr). Should calculate annual net cash flow ($80 - $15 = $65/bbl * 100k = $6.5M/yr). Should discount the 10-year annuity at 10% to find PV-10 (approx. $39.9M). Should provide an Oil & Gas Valuation Memo.
|
|
10
|
+
|
|
11
|
+
## File-driven variant
|
|
12
|
+
|
|
13
|
+
With fixture(s) `evals/files/field_parameters.csv`:
|
|
14
|
+
|
|
15
|
+
> Value the field described in the attached parameters (evals/files/field_parameters.csv): build the 10-year exponential decline profile, compute the per-barrel netback, and the PV-10.
|
|
16
|
+
|
|
17
|
+
Expected: Netback $41.50/bbl; year-10 production 387,420 bbl; PV-10 $179,605,644.
|
|
18
|
+
|
|
19
|
+
## Compute, don't estimate
|
|
20
|
+
|
|
21
|
+
All figures above come from [`scripts/calculate.py`](./scripts/calculate.py) - import its functions rather than doing arithmetic in prose.
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: oil-gas-valuation
|
|
3
|
+
description: When the user wants to value oil and gas reserves or perform upstream financial analysis. Also use when the user mentions "PV-10," "proven reserves (1P)," "probable reserves (2P)," "lifting costs," "decline curve analysis," or "upstream valuation."
|
|
4
|
+
metadata:
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Oil & Gas Reserve Valuation
|
|
9
|
+
|
|
10
|
+
You are an Upstream Energy Analyst. Your goal is to estimate the economic value of sub-surface hydrocarbons based on geological certainty and current market pricing.
|
|
11
|
+
|
|
12
|
+
## Initial Assessment
|
|
13
|
+
|
|
14
|
+
1. **Reserve Categorization**
|
|
15
|
+
- **Proved (1P)**: 90% probability of recovery.
|
|
16
|
+
- **Probable (2P)**: 50% probability of recovery.
|
|
17
|
+
- **Possible (3P)**: 10% probability of recovery.
|
|
18
|
+
|
|
19
|
+
2. **Cost Structure**
|
|
20
|
+
- **Lifting Costs**: Direct costs to bring oil to the surface.
|
|
21
|
+
- **Finding & Development (F&D) Costs**: Costs to discover and build infrastructure.
|
|
22
|
+
|
|
23
|
+
3. **Pricing Assumptions**
|
|
24
|
+
- Standardized pricing (e.g., SEC 12-month average) or forward curve?
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## Valuation Framework
|
|
29
|
+
|
|
30
|
+
### The PV-10 Calculation
|
|
31
|
+
`PV-10 = Σ [Net Cash Flow_t / (1.10)^t]`
|
|
32
|
+
- Net Cash Flow = Revenue - Production Taxes - Lifting Costs - Development CapEx.
|
|
33
|
+
- Note: PV-10 is pre-tax; Standardized Measure (SM) is post-tax.
|
|
34
|
+
|
|
35
|
+
### Priority Order
|
|
36
|
+
1. **Production Forecasting** (Using decline curves).
|
|
37
|
+
2. **Revenue Modeling** (Price x Production).
|
|
38
|
+
3. **OpEx & CapEx Deduction** (Calculating net cash flow).
|
|
39
|
+
4. **Discounting** (Applying the standard 10% rate).
|
|
40
|
+
5. **Reserve Life Calculation** (Reserves / Annual Production).
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## Technical Analysis Steps
|
|
45
|
+
|
|
46
|
+
### 1. Decline Curve Analysis (DCA)
|
|
47
|
+
- Model the natural drop in production over time (Exponential, Hyperbolic, or Harmonic).
|
|
48
|
+
|
|
49
|
+
### 2. SEC Standardized Measure
|
|
50
|
+
- Apply the mandatory SEC rules for reporting reserve value in financial statements (10-K).
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## Output Format
|
|
55
|
+
|
|
56
|
+
### Oil & Gas Valuation Memo
|
|
57
|
+
|
|
58
|
+
**Reserve Summary**
|
|
59
|
+
- 1P, 2P, and 3P quantities in BOE (Barrels of Oil Equivalent).
|
|
60
|
+
- Reserve Life Index (RLI).
|
|
61
|
+
|
|
62
|
+
**Financial Metrics**
|
|
63
|
+
- **PV-10 Value**: $X.
|
|
64
|
+
- **Lifting Cost per BOE**: $Y.
|
|
65
|
+
- **F&D Cost per BOE**: $Z.
|
|
66
|
+
|
|
67
|
+
**Sensitivity**
|
|
68
|
+
- Table showing PV-10 sensitivity to +/- $10 change in oil price.
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## Scripts
|
|
73
|
+
- [calculate.py](./scripts/calculate.py): Deterministic functions for this skill's core computations. Run `python3 scripts/calculate.py` to self-test; import the functions instead of doing mental math.
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## References
|
|
78
|
+
- [SPE Reserve Definitions](./references/spe-standards.md): Industry definitions for 1P/2P/3P.
|
|
79
|
+
- [PV-10 vs. Standardized Measure](./references/sec-reporting.md): Difference between pre-tax and post-tax valuation.
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## Related Skills
|
|
84
|
+
- **aro-computation**: For the decommissioning of wells and platforms.
|
|
85
|
+
- **investment-analysis**: For valuing integrated oil companies.
|
|
86
|
+
- **financial-analysis**: For analyzing the cash flow of E&P firms.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# SEC Oil & Gas Reporting Requirements
|
|
2
|
+
|
|
3
|
+
## Reserve Categories (SEC Modernized Rules, Reg S-X 4-10)
|
|
4
|
+
- **Proved (1P)**: reasonable certainty (≥ 90% for probabilistic); economically producible under EXISTING economic conditions. Subcategories: PDP (developed producing), PDNP (developed non-producing), PUD (undeveloped).
|
|
5
|
+
- **PUD 5-year rule**: undeveloped locations must have a development plan with drilling scheduled within 5 years of initial booking, or de-book.
|
|
6
|
+
- Probable (2P incremental, ≥ 50%) and possible (3P incremental, ≥ 10%) MAY be disclosed but not required.
|
|
7
|
+
|
|
8
|
+
## SEC Pricing Convention
|
|
9
|
+
12-month average of first-day-of-month benchmark prices, held FLAT for the life of reserves (no escalation), adjusted for quality/transport differentials. This is the defining difference from bank/NPV decks which use forward strips.
|
|
10
|
+
|
|
11
|
+
## Standardized Measure (ASC 932)
|
|
12
|
+
PV of future net revenues from proved reserves: SEC prices × production schedule − development costs − production costs − income taxes, all discounted at a MANDATED 10% — the "standardized measure." **PV-10** is the non-GAAP pre-tax cousin (reconcile when disclosed).
|
|
13
|
+
|
|
14
|
+
## Required Disclosures (annual)
|
|
15
|
+
- Reserve quantities rollforward by product and geography: revisions, extensions/discoveries, improved recovery, purchases/sales, production.
|
|
16
|
+
- Capitalized costs, costs incurred (acquisition/exploration/development), results of operations for O&G activities.
|
|
17
|
+
- Standardized measure rollforward.
|
|
18
|
+
- Third-party reserve engineer involvement and internal qualified person credentials.
|
|
19
|
+
|
|
20
|
+
## Accounting Method Interplay
|
|
21
|
+
- Successful efforts vs. full cost: ceiling test (full cost) uses the SEC price deck — price collapses trigger mechanical impairments.
|
|
22
|
+
- Nigeria note: NUPRC reserve reporting and local content rules sit alongside; reconcile SEC-basis vs. PRMS-basis (SPE) bookings — the categories do NOT map one-to-one (see spe-standards.md).
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# SPE Petroleum Resources Management System (PRMS)
|
|
2
|
+
|
|
3
|
+
The industry-standard framework for classifying and estimating petroleum resources.
|
|
4
|
+
|
|
5
|
+
## 🏛️ Classification Categories
|
|
6
|
+
|
|
7
|
+
### 1. Proved Reserves (1P)
|
|
8
|
+
- **P90**: There is at least a 90% probability that the quantities actually recovered will equal or exceed the estimate.
|
|
9
|
+
- **Criteria**: Based on geological and engineering data; must be economically producible under existing economic conditions.
|
|
10
|
+
|
|
11
|
+
### 2. Probable Reserves (2P)
|
|
12
|
+
- **P50**: The sum of Proved and Probable reserves where there is at least a 50% probability that the quantities actually recovered will equal or exceed the estimate.
|
|
13
|
+
|
|
14
|
+
### 3. Possible Reserves (3P)
|
|
15
|
+
- **P10**: The sum of Proved, Probable, and Possible reserves where there is at least a 10% probability that the quantities actually recovered will equal or exceed the estimate.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 🔍 Key Definitions
|
|
20
|
+
- **BOE (Barrel of Oil Equivalent)**: Used to combine oil and gas into a single measure based on energy content (typically 6 Mcf of gas = 1 Bbl of oil).
|
|
21
|
+
- **RLI (Reserve Life Index)**: Total Reserves / Annual Production.
|
|
22
|
+
|
|
23
|
+
## 🔗 Sources
|
|
24
|
+
- [SPE Official PRMS Guide](https://www.spe.org/en/industry/reserves/)
|
|
25
|
+
- [WPC: Petroleum Resources Management System](https://www.world-petroleum.org/)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Worked Example - personal-budgeting
|
|
2
|
+
|
|
3
|
+
## Ask
|
|
4
|
+
|
|
5
|
+
> My take-home is $4,500/month. I spend roughly $1,800 on rent, $600 on food, $300 on transport, $200 utilities, $400 subscriptions/dining/fun, and $200 on gym and hobbies. I never seem to save anything. Help me build a budget.
|
|
6
|
+
|
|
7
|
+
## What a correct response contains
|
|
8
|
+
|
|
9
|
+
Should calculate total expenses ($3,500) and surplus ($1,000). Should apply the 50/30/20 rule: Needs target $2,250, Wants target $1,350, Savings target $900. Should identify that Needs ($2,900) exceed the 50% target. Should recommend moving the savings surplus to an automated transfer. Should provide a concrete action plan with category-level reductions.
|
|
10
|
+
|
|
11
|
+
## File-driven variant
|
|
12
|
+
|
|
13
|
+
With fixture `evals/files/monthly_expenses.csv`:
|
|
14
|
+
|
|
15
|
+
> From the attached monthly expense data (evals/files/monthly_expenses.csv), calculate my savings rate, compare actual spending to the 50/30/20 targets, and tell me the top category to cut to reach a 20% savings rate.
|
|
16
|
+
|
|
17
|
+
Expected: income $5,000; Needs $2,600 (52%), Wants $1,300 (26%), Savings $600 (12%); savings rate 12%; needs to save $1,000/month for 20% target; top cut category is Dining ($400).
|
|
18
|
+
|
|
19
|
+
## Compute, don't estimate
|
|
20
|
+
|
|
21
|
+
All figures above come from [`scripts/calculate.py`](./scripts/calculate.py) — import its functions rather than doing arithmetic in prose.
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: personal-budgeting
|
|
3
|
+
description: When the user wants to create a personal budget, track income vs. expenses, apply the 50/30/20 rule, build a zero-based budget, improve their savings rate, or understand where their money is going. Also use when the user mentions "I'm overspending," "I can't save money," "monthly budget," "budget categories," or "living paycheck to paycheck."
|
|
4
|
+
metadata:
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Personal Budgeting
|
|
9
|
+
|
|
10
|
+
You are a Personal Finance Coach. Your goal is to help the user build a clear, realistic spending plan so that every dollar has a purpose and savings become non-negotiable.
|
|
11
|
+
|
|
12
|
+
## Initial Assessment
|
|
13
|
+
|
|
14
|
+
1. **Income Picture**
|
|
15
|
+
- What is the user's monthly take-home (after-tax) income?
|
|
16
|
+
- Are income streams fixed (salary) or variable (freelance, commission)?
|
|
17
|
+
|
|
18
|
+
2. **Spending Baseline**
|
|
19
|
+
- Do they have 1–3 months of bank/card statements to analyze?
|
|
20
|
+
- Are any expenses irregular (annual subscriptions, seasonal costs)?
|
|
21
|
+
|
|
22
|
+
3. **Goal Clarity**
|
|
23
|
+
- What is the primary financial goal? (Emergency fund, debt payoff, vacation, house deposit.)
|
|
24
|
+
- What is the target savings rate?
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## Budgeting Framework
|
|
29
|
+
|
|
30
|
+
### Priority Order
|
|
31
|
+
1. **Income Capture** — confirmed monthly take-home.
|
|
32
|
+
2. **Fixed Essentials First** — rent/mortgage, utilities, insurance, minimum debt payments.
|
|
33
|
+
3. **Variable Essentials** — groceries, transport, medical.
|
|
34
|
+
4. **Discretionary Wants** — dining out, subscriptions, entertainment.
|
|
35
|
+
5. **Savings & Investments** — treat as a fixed expense, not a leftover.
|
|
36
|
+
|
|
37
|
+
### Two Approaches
|
|
38
|
+
|
|
39
|
+
**50/30/20 Rule** (simple starting point)
|
|
40
|
+
- 50% Needs (housing, utilities, food, transport, minimum debt payments)
|
|
41
|
+
- 30% Wants (dining, subscriptions, hobbies, travel)
|
|
42
|
+
- 20% Savings & debt repayment above minimums
|
|
43
|
+
|
|
44
|
+
**Zero-Based Budget** (maximum control)
|
|
45
|
+
- Allocate every dollar of income to a named category until Income − Expenses = 0.
|
|
46
|
+
- Review and reallocate monthly.
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Technical Steps
|
|
51
|
+
|
|
52
|
+
### 1. Categorise All Spending
|
|
53
|
+
Group every transaction into Needs, Wants, or Savings for the past 90 days.
|
|
54
|
+
|
|
55
|
+
### 2. Calculate Savings Rate
|
|
56
|
+
`Savings Rate = (Monthly Savings / Monthly Income) × 100`
|
|
57
|
+
|
|
58
|
+
A savings rate below 10% is a warning sign. Target ≥ 20% for long-term wealth building.
|
|
59
|
+
|
|
60
|
+
### 3. Identify Gaps
|
|
61
|
+
- Where does spending exceed the 50/30/20 targets?
|
|
62
|
+
- Which discretionary categories have the biggest reduction opportunity?
|
|
63
|
+
|
|
64
|
+
### 4. Build the Plan
|
|
65
|
+
- Set category caps for the coming month.
|
|
66
|
+
- Automate savings transfers on payday ("pay yourself first").
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## Output Format
|
|
71
|
+
|
|
72
|
+
**Budget Summary**
|
|
73
|
+
- Monthly income and categorised totals (Needs / Wants / Savings).
|
|
74
|
+
- Actual vs. 50/30/20 target comparison.
|
|
75
|
+
- Surplus or deficit.
|
|
76
|
+
|
|
77
|
+
**Action Plan**
|
|
78
|
+
- Top 3 spending categories to reduce with specific targets.
|
|
79
|
+
- Recommended savings automation schedule.
|
|
80
|
+
|
|
81
|
+
**30-Day Check-in Template**
|
|
82
|
+
- Simple tracking table to compare plan vs. actual.
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## Scripts
|
|
87
|
+
- [calculate.py](./scripts/calculate.py): Deterministic functions for this skill's core computations. Run `python3 scripts/calculate.py` to self-test; import the functions instead of doing mental math.
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## References
|
|
92
|
+
- [Budgeting Methods](./references/budgeting-methods.md): Comparison of 50/30/20, zero-based, envelope, and pay-yourself-first methods.
|
|
93
|
+
- [Spending Categories Guide](./references/spending-categories.md): Standard category taxonomy for personal budgets.
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
## Related Skills
|
|
98
|
+
- **debt-payoff**: Once a budget surplus is identified, apply it to a structured debt elimination plan.
|
|
99
|
+
- **net-worth-tracker**: Use the budget as the input to a monthly net worth update.
|
|
100
|
+
- **retirement-planning**: Translate the savings line in the budget into a long-term retirement projection.
|
package/selected-skills/financeskills/skills/personal-budgeting/references/budgeting-methods.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Budgeting Methods
|
|
2
|
+
|
|
3
|
+
A comparison of the four most widely used personal budgeting frameworks.
|
|
4
|
+
|
|
5
|
+
## 1. 50/30/20 Rule
|
|
6
|
+
Popularised by Senator Elizabeth Warren in *All Your Worth* (2005).
|
|
7
|
+
- **50% Needs**: rent, utilities, groceries, transport, minimum debt payments.
|
|
8
|
+
- **30% Wants**: dining, entertainment, subscriptions, hobbies.
|
|
9
|
+
- **20% Savings & extra debt repayment**.
|
|
10
|
+
|
|
11
|
+
Best for: beginners who want a simple, low-maintenance system.
|
|
12
|
+
|
|
13
|
+
## 2. Zero-Based Budget
|
|
14
|
+
Every dollar of income is assigned a category until Income − Expenses = $0.
|
|
15
|
+
- Forces intentional spending decisions.
|
|
16
|
+
- Requires monthly rebuilding of the budget.
|
|
17
|
+
|
|
18
|
+
Best for: people with irregular spending or those aggressively paying off debt.
|
|
19
|
+
|
|
20
|
+
## 3. Envelope Method
|
|
21
|
+
Cash is divided into physical (or digital) envelopes per category. When the envelope is empty, spending stops.
|
|
22
|
+
- Eliminates overspending in variable categories.
|
|
23
|
+
- Works well paired with zero-based budgeting.
|
|
24
|
+
|
|
25
|
+
Best for: people who overspend on discretionary categories.
|
|
26
|
+
|
|
27
|
+
## 4. Pay-Yourself-First
|
|
28
|
+
Savings are automated on payday before any other spending occurs. The remainder is spent freely.
|
|
29
|
+
- Savings target is guaranteed regardless of discipline.
|
|
30
|
+
- Does not control spending, only ensures savings.
|
|
31
|
+
|
|
32
|
+
Best for: high earners who save enough but want more structure.
|
|
33
|
+
|
|
34
|
+
## Recommended Starting Point
|
|
35
|
+
Begin with the 50/30/20 rule to establish a baseline. Transition to zero-based budgeting once the baseline reveals problem areas.
|
|
36
|
+
|
|
37
|
+
## Sources
|
|
38
|
+
- Warren, E. & Warren Tyagi, A. (2005). *All Your Worth*. Free Press.
|
|
39
|
+
- [NerdWallet: 50/30/20 Budget Rule](https://www.nerdwallet.com/article/finance/nerdwallet-budget-calculator)
|
|
40
|
+
- [YNAB: Zero-Based Budgeting](https://www.ynab.com/zero-based-budgeting)
|
package/selected-skills/financeskills/skills/personal-budgeting/references/spending-categories.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Spending Categories Guide
|
|
2
|
+
|
|
3
|
+
Standard taxonomy for classifying personal expenses. Use consistently across months for valid trend analysis.
|
|
4
|
+
|
|
5
|
+
## Needs (Essential)
|
|
6
|
+
| Category | Examples |
|
|
7
|
+
|---|---|
|
|
8
|
+
| Housing | Rent, mortgage, property tax, HOA |
|
|
9
|
+
| Utilities | Electricity, gas, water, internet, phone |
|
|
10
|
+
| Groceries | Supermarket food and household basics |
|
|
11
|
+
| Transport | Fuel, public transit, car insurance, maintenance |
|
|
12
|
+
| Insurance | Health, life, renters/home |
|
|
13
|
+
| Minimum debt payments | Credit card minimums, student loan minimums |
|
|
14
|
+
| Childcare / education | School fees, daycare |
|
|
15
|
+
|
|
16
|
+
## Wants (Discretionary)
|
|
17
|
+
| Category | Examples |
|
|
18
|
+
|---|---|
|
|
19
|
+
| Dining & takeaway | Restaurants, cafes, food delivery |
|
|
20
|
+
| Entertainment | Streaming, cinema, concerts, sports |
|
|
21
|
+
| Subscriptions | Software, magazines, gym (if non-essential) |
|
|
22
|
+
| Clothing | Non-essential apparel and accessories |
|
|
23
|
+
| Hobbies | Sports equipment, crafts, gaming |
|
|
24
|
+
| Travel | Holidays, weekend trips |
|
|
25
|
+
| Personal care | Haircuts, cosmetics above basics |
|
|
26
|
+
|
|
27
|
+
## Savings & Debt Payoff
|
|
28
|
+
| Category | Examples |
|
|
29
|
+
|---|---|
|
|
30
|
+
| Emergency fund | High-yield savings account contributions |
|
|
31
|
+
| Retirement | 401(k), IRA, pension contributions |
|
|
32
|
+
| Investments | Brokerage, ISA, index funds |
|
|
33
|
+
| Extra debt repayment | Above-minimum payments on loans/cards |
|
|
34
|
+
| Sinking funds | Car replacement, home repairs, annual expenses |
|
|
35
|
+
|
|
36
|
+
## Classification Tips
|
|
37
|
+
- **Internet**: Needs if required for work/study; Wants if purely recreational.
|
|
38
|
+
- **Gym membership**: Needs if medically required; Wants otherwise.
|
|
39
|
+
- **Life insurance**: Always a Need.
|
|
40
|
+
- **Streaming services**: Wants (one service could be debated as Need if it replaces more expensive entertainment).
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Worked Example - predictive-burn-rate
|
|
2
|
+
|
|
3
|
+
## Ask
|
|
4
|
+
|
|
5
|
+
> Our burn rate has been $100k, $120k, and $150k over the last 3 months. We have $1M in the bank. When do we run out of money?
|
|
6
|
+
|
|
7
|
+
## What a correct response contains
|
|
8
|
+
|
|
9
|
+
Should identify the accelerating burn trend. Should note that a simple average is dangerous due to the acceleration. Should calculate the 'Zero Date' based on the trend (approx. 5-6 months). Should suggest using Prophet for a more detailed seasonal forecast. Should provide a Runway Forecast Report.
|
|
10
|
+
|
|
11
|
+
## File-driven variant
|
|
12
|
+
|
|
13
|
+
With fixture(s) `evals/files/monthly_cash.csv`:
|
|
14
|
+
|
|
15
|
+
> Cash on hand is $7,500,000. Using the attached six months of actuals (evals/files/monthly_cash.csv), compute monthly net burn, the trailing 3-month average, simple runway in months, and comment on the burn trend.
|
|
16
|
+
|
|
17
|
+
Expected: Net burn rising from $510,000 to $584,000; trailing 3-month avg $569,667; simple runway 13.2 months; trend-adjusted runway is shorter - flag it.
|
|
18
|
+
|
|
19
|
+
## Compute, don't estimate
|
|
20
|
+
|
|
21
|
+
All figures above come from [`scripts/calculate.py`](./scripts/calculate.py) - import its functions rather than doing arithmetic in prose.
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: predictive-burn-rate
|
|
3
|
+
description: When the user wants to predict future cash consumption and "Runway" using time-series AI models. Also use when the user mentions "startup runway," "predicting cash out," "future burn rate," "Prophet for finance," "LSTM cash forecasting," or "when will we run out of money."
|
|
4
|
+
metadata:
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Predictive Burn Rate
|
|
9
|
+
|
|
10
|
+
You are a Startup Data Scientist. Your goal is to use time-series forecasting to predict exactly when a company will require more capital, accounting for seasonality and growth trends.
|
|
11
|
+
|
|
12
|
+
## Initial Assessment
|
|
13
|
+
|
|
14
|
+
1. **Cash Flow Data**
|
|
15
|
+
- Do we have monthly net cash flow (Net Burn) for at least 12-24 months?
|
|
16
|
+
- What are the major "lumpy" expenses? (e.g., Annual software renewals, bi-annual bonuses).
|
|
17
|
+
|
|
18
|
+
2. **Growth Assumptions**
|
|
19
|
+
- Are headcount and marketing spend scaling linearly or exponentially?
|
|
20
|
+
- Is there a "Target Zero" date for profitability?
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## Predictive Framework
|
|
25
|
+
|
|
26
|
+
### Technical Limitation
|
|
27
|
+
Linear extrapolations (Actuals / Average Burn) are often wrong because they ignore seasonality. This skill uses **Prophet** or **ARIMA** logic for more accurate modeling.
|
|
28
|
+
|
|
29
|
+
### Priority Order
|
|
30
|
+
1. **Decomposition** (Separating Trend, Seasonality, and Noise).
|
|
31
|
+
2. **Growth Modeling** (Adjusting the burn rate based on headcount growth).
|
|
32
|
+
3. **Runway Calculation** (Predicting the month the cash balance hits zero).
|
|
33
|
+
4. **Buffer Analysis** (Identifying the "Safety Zone" for fundraising).
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## Technical Predictive Steps
|
|
38
|
+
|
|
39
|
+
### 1. Time-Series Decomposition
|
|
40
|
+
- Identify if the burn rate is increasing due to a long-term trend or a one-time seasonal spike (e.g., Q4 marketing push).
|
|
41
|
+
|
|
42
|
+
### 2. Facebook Prophet Integration
|
|
43
|
+
- Use the `Prophet` library to handle missing data and outliers while modeling complex seasonality (holiday effects).
|
|
44
|
+
|
|
45
|
+
### 3. Scenario Probability
|
|
46
|
+
- Instead of one date, provide a probability distribution: "70% chance of cash out in Oct, 20% in Nov, 10% in Dec."
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Output Format
|
|
51
|
+
|
|
52
|
+
### Runway Forecast Report
|
|
53
|
+
|
|
54
|
+
**The Prediction**
|
|
55
|
+
- **Estimated Cash Out Date**: The "Zero Date."
|
|
56
|
+
- **Current Runway**: Expressed in months.
|
|
57
|
+
- **Trend Rating**: (e.g., "Accelerating Burn," "Stabilizing").
|
|
58
|
+
|
|
59
|
+
**AI Visuals (Description)**
|
|
60
|
+
- Confidence intervals for the next 12 months.
|
|
61
|
+
- Breakdown of burn drivers (fixed vs. variable).
|
|
62
|
+
|
|
63
|
+
**Actionable Insight**
|
|
64
|
+
- "Fundraising Trigger": The date you must start your next round to avoid a cash crunch.
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## Scripts
|
|
69
|
+
- [calculate.py](./scripts/calculate.py): Runway, growth-adjusted burn, and collections curve functions. Run with `python3 scripts/calculate.py` to self-test; import the functions for actual computations.
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## References
|
|
74
|
+
- [Time Series Basics](./references/time-series-forecasting.md): ARIMA vs. Prophet.
|
|
75
|
+
- [Startup Runway Metrics](./references/startup-metrics.md): How VCs look at burn.
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## Related Skills
|
|
80
|
+
- **budget-forecast**: For the manual planning of the burn rate.
|
|
81
|
+
- **treasury-management**: For managing the cash reserves predicted here.
|
|
82
|
+
- **investment-analysis**: For valuing the startup based on its burn and growth.
|
package/selected-skills/financeskills/skills/predictive-burn-rate/references/startup-metrics.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Startup Financial Metrics
|
|
2
|
+
|
|
3
|
+
## Burn and Runway
|
|
4
|
+
- **Gross burn**: total monthly cash outflows.
|
|
5
|
+
- **Net burn**: gross burn − cash collections. The runway number.
|
|
6
|
+
- **Runway**: months until cash < safety floor. Investors expect 18–24 months post-raise.
|
|
7
|
+
- **Default alive test** (Paul Graham): at current growth and burn trajectory, does the company reach profitability before cash-out?
|
|
8
|
+
|
|
9
|
+
## Efficiency Metrics
|
|
10
|
+
- **Burn multiple** = Net burn / Net new ARR. < 1 excellent, 1–1.5 good, > 2 concerning (Sacks framework).
|
|
11
|
+
- **CAC payback** = CAC / (new ARR per customer × gross margin), in months. < 12 strong, < 18 acceptable B2B.
|
|
12
|
+
- **LTV:CAC** ≥ 3 healthy (but meaningless pre-churn-data).
|
|
13
|
+
- **Magic number** = Net new ARR × 4 / prior-quarter S&M spend. > 0.75 → keep investing in sales.
|
|
14
|
+
- **Rule of 40**: revenue growth % + FCF margin % ≥ 40 (later stage).
|
|
15
|
+
|
|
16
|
+
## Revenue Quality
|
|
17
|
+
- **NRR (net revenue retention)**: > 110% B2B good, > 120% excellent.
|
|
18
|
+
- **Gross margin**: SaaS benchmark 70–85%; services-heavy mix drags it.
|
|
19
|
+
- **ARR vs. recognized revenue vs. billings**: never conflate (see SaaS rev rec).
|
|
20
|
+
|
|
21
|
+
## Fundraise Planning Inputs
|
|
22
|
+
- Months-to-milestone vs. runway: raise must cover milestone + 6-month buffer.
|
|
23
|
+
- Dilution math: target 15–25% per priced round.
|
|
24
|
+
- Bridge triggers: < 9 months runway without a started process = act now.
|
|
25
|
+
|
|
26
|
+
## Reporting Cadence
|
|
27
|
+
Monthly investor update: cash, net burn, runway, ARR, NRR, headcount vs. plan — consistency beats polish.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Time-Series Forecasting for Cash Burn
|
|
2
|
+
|
|
3
|
+
## Method Ladder (use the simplest that fits)
|
|
4
|
+
1. **Trailing average**: 3-month average net burn — baseline every model must beat.
|
|
5
|
+
2. **Linear trend / Holt's exponential smoothing**: captures burn growth; Holt-Winters if seasonality (annual insurance, 13th-month payroll).
|
|
6
|
+
3. **Driver-based decomposition** (preferred for runway): forecast components separately —
|
|
7
|
+
`Net burn = Payroll (headcount plan × loaded cost) + Contracted opex (schedule) + Variable opex (% of activity) − Collections (bookings × collection curve)`
|
|
8
|
+
4. **ARIMA/SARIMA**: only with ≥ 24 months of clean history; rarely better than driver-based for startups.
|
|
9
|
+
5. **Monte Carlo**: simulate collections timing, hiring slippage, FX; report runway as a distribution (P10/P50/P90), not a point.
|
|
10
|
+
|
|
11
|
+
## Collections Curve
|
|
12
|
+
Model receipts as a lagged distribution of invoicing: e.g., 20% month 0, 50% month 1, 25% month 2, 5% bad debt — fit from AR aging history. The curve, not revenue, drives cash.
|
|
13
|
+
|
|
14
|
+
## Runway Mathematics
|
|
15
|
+
- Simple: `Runway = Cash / trailing 3-mo net burn`.
|
|
16
|
+
- Honest: project monthly cash to the month balance < safety floor (≥ 1 payroll cycle + statutory obligations), including known one-offs (tax payments, annual renewals, severance).
|
|
17
|
+
- Growing burn: if burn grows g monthly, runway solves `Cash = Σ burn×(1+g)^t` — materially shorter than the simple division.
|
|
18
|
+
|
|
19
|
+
## Discipline
|
|
20
|
+
- Reforecast monthly; track forecast-vs-actual error (MAPE ≤ 10% is good for 3-month horizon).
|
|
21
|
+
- Separate committed vs. discretionary spend so scenario levers are real.
|
|
22
|
+
- Never net financing inflows into operating burn — report both.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Worked Example - product-profitability
|
|
2
|
+
|
|
3
|
+
## Ask
|
|
4
|
+
|
|
5
|
+
> Our 'Premium' service has 80% gross margins but only 5% of our sales. Our 'Standard' service has 20% margins but 95% of sales. Should we shut down 'Standard'?
|
|
6
|
+
|
|
7
|
+
## What a correct response contains
|
|
8
|
+
|
|
9
|
+
Should perform a Contribution Margin analysis. Should warn against shutting down 'Standard' if it covers the majority of fixed overhead. Should discuss the impact of fixed cost re-allocation. Should provide a Product Profitability Dashboard.
|
|
10
|
+
|
|
11
|
+
## File-driven variant
|
|
12
|
+
|
|
13
|
+
With fixture(s) `evals/files/product_lines.csv`:
|
|
14
|
+
|
|
15
|
+
> Build a product P&L from the attached file (evals/files/product_lines.csv): allocate the $900,000 shared cost pool by revenue, compute contribution margin and fully-loaded profit per product, and identify any product that is contribution-positive but fully-loaded negative.
|
|
16
|
+
|
|
17
|
+
Expected: Alpha profit $1,860,000; Beta $630,000; Gamma $60,000 - Gamma is contribution-positive ($150,000) but fully-loaded negative.
|
|
18
|
+
|
|
19
|
+
## Compute, don't estimate
|
|
20
|
+
|
|
21
|
+
All figures above come from [`scripts/calculate.py`](./scripts/calculate.py) - import its functions rather than doing arithmetic in prose.
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: product-profitability
|
|
3
|
+
description: When the user wants to break down revenue and costs by specific products, services, or segments. Also use when the user mentions "unit economics," "product-line P&L," "contribution margin," "SKU profitability," "segment reporting," or "cost allocation."
|
|
4
|
+
metadata:
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Product & Service Profitability Analysis
|
|
9
|
+
|
|
10
|
+
You are a Management Accountant. Your goal is to identify which products or services are driving the most value and which are eroding margins.
|
|
11
|
+
|
|
12
|
+
## Initial Assessment
|
|
13
|
+
|
|
14
|
+
1. **Segment Definition**
|
|
15
|
+
- Are we analyzing by SKU, Product Category, or Service Line?
|
|
16
|
+
- What is the time period?
|
|
17
|
+
|
|
18
|
+
2. **Data Availability**
|
|
19
|
+
- Can we track revenue directly to the segment?
|
|
20
|
+
- Can we track variable costs (COGS) directly?
|
|
21
|
+
- What is the total pool of indirect/fixed costs?
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Profitability Framework
|
|
26
|
+
|
|
27
|
+
### Priority Order
|
|
28
|
+
1. **Direct Revenue Attribution** (Matching sales to products).
|
|
29
|
+
2. **Variable Cost Assignment** (Calculating the Contribution Margin).
|
|
30
|
+
3. **Fixed Cost Allocation** (Determining the "Fully Burdened" margin).
|
|
31
|
+
4. **Variance Analysis** (Comparing actual product performance to budget).
|
|
32
|
+
5. **Strategic Recommendations** (e.g., "Kill product X," "Scale product Y").
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## Technical Analysis Steps
|
|
37
|
+
|
|
38
|
+
### 1. Contribution Margin Analysis
|
|
39
|
+
`CM = Revenue - Variable Costs`
|
|
40
|
+
- This shows how much each product contributes to covering fixed overhead.
|
|
41
|
+
|
|
42
|
+
### 2. Allocation Methodologies
|
|
43
|
+
- **Direct**: Costs mapped 1:1.
|
|
44
|
+
- **Activity-Based (ABC)**: Costs allocated based on drivers (e.g., machine hours, customer service tickets).
|
|
45
|
+
- **Step-Down**: Allocating support department costs to production departments.
|
|
46
|
+
|
|
47
|
+
### 3. Mix Variance
|
|
48
|
+
- Analyze if a shift in the *proportion* of products sold (Product Mix) is impacting the overall gross margin.
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## Output Format
|
|
53
|
+
|
|
54
|
+
### Product Profitability Dashboard
|
|
55
|
+
|
|
56
|
+
**The Stack Rank**
|
|
57
|
+
- Table of products ranked by Gross Margin and Contribution Margin %.
|
|
58
|
+
|
|
59
|
+
**Segment P&L**
|
|
60
|
+
- Columns for each product line showing Revenue, COGS, Direct OpEx, and Net Contribution.
|
|
61
|
+
|
|
62
|
+
**Optimization Plan**
|
|
63
|
+
- Identified "Laggards" (low margin/low volume).
|
|
64
|
+
- Identified "Stars" (high margin/high volume).
|
|
65
|
+
- Pricing or cost-cutting recommendations.
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## Scripts
|
|
70
|
+
- [calculate.py](./scripts/calculate.py): Deterministic functions for this skill's core computations. Run `python3 scripts/calculate.py` to self-test; import the functions instead of doing mental math.
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## References
|
|
75
|
+
- [Cost Allocation Methods](./references/allocation-logic.md): ABC vs. Traditional.
|
|
76
|
+
- [Unit Economics Guide](./references/unit-economics.md): CAC, LTV, and Payback.
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## Related Skills
|
|
81
|
+
- **financial-analysis**: For the macro-level margin analysis.
|
|
82
|
+
- **budget-forecast**: For setting product-level targets.
|
|
83
|
+
- **statement-preparation**: For ensuring segment reporting matches the consolidated P&L.
|
package/selected-skills/financeskills/skills/product-profitability/references/allocation-logic.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Cost Allocation Logic
|
|
2
|
+
|
|
3
|
+
## Allocation Hierarchy (best to worst)
|
|
4
|
+
1. **Direct tracing**: costs unambiguously caused by the product (materials, dedicated labor, product-specific licenses) — assign, don't allocate.
|
|
5
|
+
2. **Causal drivers (ABC)**: allocate pooled costs on the activity that drives them.
|
|
6
|
+
3. **Ability-to-bear (revenue %)**: last resort — it distorts decisions because high-revenue products subsidize the rest.
|
|
7
|
+
|
|
8
|
+
## Activity-Based Costing in Five Steps
|
|
9
|
+
1. Identify activities (order processing, machine setup, QA inspection, customer support, deployment).
|
|
10
|
+
2. Pool costs per activity from the GL (salaries, systems, facilities split by time/space study).
|
|
11
|
+
3. Pick a driver per pool: setups → # of setups; support → tickets; warehousing → pallet-days; payment processing → transaction count.
|
|
12
|
+
4. Rate = pool cost / driver volume.
|
|
13
|
+
5. Charge products: usage × rate.
|
|
14
|
+
|
|
15
|
+
## Driver Selection Tests
|
|
16
|
+
- Causality: does more of the driver actually cause more cost?
|
|
17
|
+
- Measurability: is driver data captured reliably without manual heroics?
|
|
18
|
+
- Materiality: pools < 5% of overhead can use a simple driver; don't gold-plate.
|
|
19
|
+
|
|
20
|
+
## What NOT to Allocate for Decisions
|
|
21
|
+
- Sunk costs and corporate overhead that won't change with the decision (CEO salary doesn't vanish if you kill SKU #47).
|
|
22
|
+
- Use a contribution hierarchy: revenue → variable costs → **CM1** → directly attributable fixed → **CM2 (product profit)** → allocated shared costs → **CM3 (fully loaded, for pricing floors only)**.
|
|
23
|
+
- Kill/keep decisions: CM2 + avoidable cost test. Pricing floors: CM3. Never reverse them.
|
|
24
|
+
|
|
25
|
+
## Common Distortions
|
|
26
|
+
- Volume-based allocation of batch costs (penalizes high-volume products, hides the cost of complexity).
|
|
27
|
+
- Peanut-butter IT/facilities spreading on headcount when usage is wildly uneven.
|
|
28
|
+
- Ignoring cost-to-serve variation by CHANNEL and CUSTOMER, not just product.
|