@v587d/capital-generation 2.7.7 → 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 +59 -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/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 - net-worth-tracker
|
|
2
|
+
|
|
3
|
+
## Ask
|
|
4
|
+
|
|
5
|
+
> Here are my finances: checking $3,000, savings $12,000, 401k $68,000, car value $15,000. Debts: car loan $9,000, student loan $22,000, credit card $3,500. What's my net worth and how healthy does it look?
|
|
6
|
+
|
|
7
|
+
## What a correct response contains
|
|
8
|
+
|
|
9
|
+
Should total assets: $98,000. Should total liabilities: $34,500. Should calculate net worth: $63,500. Should compute debt-to-asset ratio: 35% (healthy, below 50%). Should assess liquidity: liquid assets $15,000 (15% — adequate). Should flag that 401k is the dominant asset at 69% and comment on investment concentration.
|
|
10
|
+
|
|
11
|
+
## File-driven variant
|
|
12
|
+
|
|
13
|
+
With fixture `evals/files/balance_sheet.csv`:
|
|
14
|
+
|
|
15
|
+
> From the attached balance sheet (evals/files/balance_sheet.csv), calculate net worth, debt-to-asset ratio, and asset allocation. Compare to the prior period values in the file.
|
|
16
|
+
|
|
17
|
+
Expected: Current net worth $87,500; prior net worth $74,200; change +$13,300 (+17.9%); debt-to-asset ratio 28.6%; investment assets 71% of total. Primary driver of growth: retirement account appreciation.
|
|
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,98 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: net-worth-tracker
|
|
3
|
+
description: When the user wants to calculate their net worth, track assets and liabilities over time, measure financial progress, analyse asset allocation, or set a net worth milestone. Also use when the user mentions "what am I worth," "assets vs debts," "balance sheet," "financial snapshot," or "am I building wealth."
|
|
4
|
+
metadata:
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Net Worth Tracker
|
|
9
|
+
|
|
10
|
+
You are a Personal Financial Advisor. Your goal is to give the user a clear, honest snapshot of their total financial position and a trend they can track monthly.
|
|
11
|
+
|
|
12
|
+
## Initial Assessment
|
|
13
|
+
|
|
14
|
+
1. **Asset Inventory**
|
|
15
|
+
- Cash and bank accounts.
|
|
16
|
+
- Investment and retirement accounts (current market value).
|
|
17
|
+
- Real estate (current market value, not purchase price).
|
|
18
|
+
- Vehicles, business equity, other valuables.
|
|
19
|
+
|
|
20
|
+
2. **Liability Inventory**
|
|
21
|
+
- Mortgage balance.
|
|
22
|
+
- Car loans, student loans, personal loans.
|
|
23
|
+
- Credit card balances.
|
|
24
|
+
- Any other debt.
|
|
25
|
+
|
|
26
|
+
3. **Tracking Cadence**
|
|
27
|
+
- First-time snapshot or comparison to a previous period?
|
|
28
|
+
- Are previous-period values available?
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## Calculation Framework
|
|
33
|
+
|
|
34
|
+
### Net Worth Formula
|
|
35
|
+
`Net Worth = Total Assets − Total Liabilities`
|
|
36
|
+
|
|
37
|
+
### Asset Allocation
|
|
38
|
+
Break assets into:
|
|
39
|
+
- **Liquid** (cash, chequing, savings, money market) — accessible within days.
|
|
40
|
+
- **Investment** (brokerage, retirement accounts) — market-value based.
|
|
41
|
+
- **Illiquid** (real estate, business equity, collectibles) — estimated market value.
|
|
42
|
+
|
|
43
|
+
### Key Ratios
|
|
44
|
+
- **Debt-to-Asset Ratio** = Total Liabilities / Total Assets (lower is better; <0.5 is healthy).
|
|
45
|
+
- **Liquid Asset Ratio** = Liquid Assets / Total Assets (target ≥ 10% for emergency resilience).
|
|
46
|
+
- **Investment Asset Ratio** = Investment Assets / Total Assets (proxy for wealth-building progress).
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Technical Steps
|
|
51
|
+
|
|
52
|
+
### 1. Sum All Assets by Category
|
|
53
|
+
Use current market values, not book or purchase values.
|
|
54
|
+
|
|
55
|
+
### 2. Sum All Liabilities
|
|
56
|
+
Use outstanding balances, not original loan amounts.
|
|
57
|
+
|
|
58
|
+
### 3. Calculate Net Worth and Ratios
|
|
59
|
+
Compute net worth, debt-to-asset ratio, and category percentages.
|
|
60
|
+
|
|
61
|
+
### 4. Period-over-Period Change
|
|
62
|
+
If prior snapshot exists: compute dollar change, percentage change, and which asset/liability drove the change most.
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## Output Format
|
|
67
|
+
|
|
68
|
+
**Net Worth Statement**
|
|
69
|
+
- Assets table (category, amount, % of total).
|
|
70
|
+
- Liabilities table (category, amount, % of total).
|
|
71
|
+
- Net worth and key ratios.
|
|
72
|
+
|
|
73
|
+
**Trend Analysis** (if prior period available)
|
|
74
|
+
- Net worth change, primary driver of change.
|
|
75
|
+
|
|
76
|
+
**Health Assessment**
|
|
77
|
+
- Commentary on debt-to-asset ratio, liquidity, and investment allocation.
|
|
78
|
+
|
|
79
|
+
**Next Milestone**
|
|
80
|
+
- Nearest round-number net worth target and months to reach it at the current savings rate.
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## Scripts
|
|
85
|
+
- [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.
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
## References
|
|
90
|
+
- [Net Worth Benchmarks](./references/net-worth-benchmarks.md): Age-based net worth benchmarks and wealth percentiles.
|
|
91
|
+
- [Asset Valuation Guide](./references/asset-valuation.md): How to value illiquid assets (real estate, business equity, collectibles).
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## Related Skills
|
|
96
|
+
- **personal-budgeting**: The monthly savings line in the budget is the primary driver of net worth growth.
|
|
97
|
+
- **debt-payoff**: Liability reduction is the fastest path to net worth improvement for debt-heavy individuals.
|
|
98
|
+
- **retirement-planning**: Retirement accounts are typically the largest investment asset — ensure they are on track.
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Asset Valuation Guide
|
|
2
|
+
|
|
3
|
+
How to assign realistic values to assets for a personal balance sheet.
|
|
4
|
+
|
|
5
|
+
## Liquid Assets (Easy — Use Account Balances)
|
|
6
|
+
- Chequing, savings, money market: use the current account balance.
|
|
7
|
+
- Cash on hand: include if material.
|
|
8
|
+
|
|
9
|
+
## Investment Accounts
|
|
10
|
+
- Brokerage and retirement accounts: use the current market value shown on the statement.
|
|
11
|
+
- Do NOT use cost basis (what you paid) — use market value.
|
|
12
|
+
|
|
13
|
+
## Real Estate
|
|
14
|
+
Use current market value, not purchase price or mortgage balance.
|
|
15
|
+
Estimation methods (in order of reliability):
|
|
16
|
+
1. Recent appraisal (most accurate).
|
|
17
|
+
2. Automated valuation models (Zillow, Redfin estimate) — reasonable proxy, ±10–15%.
|
|
18
|
+
3. Comparable sales (comps) from a local real estate agent.
|
|
19
|
+
|
|
20
|
+
Subtract nothing for mortgage here — that is captured on the liabilities side.
|
|
21
|
+
|
|
22
|
+
## Vehicles
|
|
23
|
+
- Use Kelley Blue Book or similar guide for current private-party value.
|
|
24
|
+
- Depreciation is fast in the first 3 years; update annually.
|
|
25
|
+
|
|
26
|
+
## Business Equity
|
|
27
|
+
Difficult to value without a formal appraisal. Common shortcuts:
|
|
28
|
+
- **Revenue multiple**: 0.5–1× annual revenue for service businesses.
|
|
29
|
+
- **Earnings multiple**: 3–5× EBITDA for stable small businesses.
|
|
30
|
+
- Use conservatively and note the uncertainty.
|
|
31
|
+
|
|
32
|
+
## Collectibles & Valuables
|
|
33
|
+
- Use recent auction results or certified appraisals.
|
|
34
|
+
- Only include if you would realistically sell.
|
|
35
|
+
- Do not include sentimental items unless they have clear market value.
|
|
36
|
+
|
|
37
|
+
## What NOT to Include
|
|
38
|
+
- Future earnings or bonuses (not yet received).
|
|
39
|
+
- Value of pension promises (present value is complex — note separately).
|
|
40
|
+
- Life insurance death benefit (only include cash surrender value if applicable).
|
package/selected-skills/financeskills/skills/net-worth-tracker/references/net-worth-benchmarks.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Net Worth Benchmarks
|
|
2
|
+
|
|
3
|
+
## The Millionaire Next Door Formula
|
|
4
|
+
From Stanley & Danko (1996), a rule of thumb for expected net worth at a given age:
|
|
5
|
+
|
|
6
|
+
`Expected Net Worth = Age × Annual Pre-Tax Income / 10`
|
|
7
|
+
|
|
8
|
+
- **Prodigious Accumulator of Wealth (PAW)**: Net worth > 2× expected.
|
|
9
|
+
- **Average Accumulator of Wealth (AAW)**: Net worth ≈ expected.
|
|
10
|
+
- **Under Accumulator of Wealth (UAW)**: Net worth < 0.5× expected.
|
|
11
|
+
|
|
12
|
+
## US Net Worth Percentiles by Age (Federal Reserve SCF, 2022)
|
|
13
|
+
|
|
14
|
+
| Age Group | Median NW | 75th Percentile | 90th Percentile |
|
|
15
|
+
|---|---|---|---|
|
|
16
|
+
| Under 35 | $39,000 | $136,000 | $321,000 |
|
|
17
|
+
| 35–44 | $135,000 | $404,000 | $854,000 |
|
|
18
|
+
| 45–54 | $247,000 | $704,000 | $1,500,000 |
|
|
19
|
+
| 55–64 | $365,000 | $1,000,000 | $2,400,000 |
|
|
20
|
+
| 65–74 | $410,000 | $1,200,000 | $2,900,000 |
|
|
21
|
+
|
|
22
|
+
## Healthy Ratio Targets
|
|
23
|
+
|
|
24
|
+
| Ratio | Healthy Range |
|
|
25
|
+
|---|---|
|
|
26
|
+
| Debt-to-Asset Ratio | < 50% (ideally < 30%) |
|
|
27
|
+
| Liquid Asset Ratio | ≥ 10% of total assets |
|
|
28
|
+
| Investment Asset Ratio | ≥ 40% of total assets (by mid-career) |
|
|
29
|
+
| Emergency Fund | 3–6 months of expenses in liquid form |
|
|
30
|
+
|
|
31
|
+
## Sources
|
|
32
|
+
- Stanley, T. J., & Danko, W. D. (1996). *The Millionaire Next Door*. Longstreet Press.
|
|
33
|
+
- Federal Reserve Board (2022). *Survey of Consumer Finances*.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Worked Example - nlp-earnings-sentiment
|
|
2
|
+
|
|
3
|
+
## Ask
|
|
4
|
+
|
|
5
|
+
> Analyze the sentiment of this earnings call transcript. Management keeps using words like 'challenging' and 'headwinds' but says the outlook is 'positive'.
|
|
6
|
+
|
|
7
|
+
## What a correct response contains
|
|
8
|
+
|
|
9
|
+
Should identify a potential 'Tone Shift' or mismatch between specific negative descriptors and general positive outlook. Should focus on the Q&A section for reveal. Should mention uncertainty mapping (tracking 'challenging', 'headwinds'). Should provide a Sentiment Scorecard.
|
|
10
|
+
|
|
11
|
+
## File-driven variant
|
|
12
|
+
|
|
13
|
+
With fixture(s) `evals/files/earnings_call_excerpt.txt`:
|
|
14
|
+
|
|
15
|
+
> Analyze the attached earnings-call excerpt (evals/files/earnings_call_excerpt.txt): overall tone, the specific hedging/uncertainty language, the quantitative signals that cut against the positive headline, and what a sentiment model should weight most.
|
|
16
|
+
|
|
17
|
+
Expected: Surface tone positive (record OCF, 18% growth, guidance reiterated) but hedged: 'prudent to assume', 'admittedly uncertain', 'yet'. Negative quant signals: contract assets growing faster than revenue, DSO +6 days, inventory build, margin low-end cut 50bps, deal discounting. Net: cautiously positive with deteriorating quality-of-revenue markers.
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: nlp-earnings-sentiment
|
|
3
|
+
description: When the user wants to analyze earnings call transcripts or financial news for sentiment shifts. Also use when the user mentions "analyzing earnings calls," "management tone," "sentiment score," "Q&A analysis," "detecting bullishness," or "transcripts NLP."
|
|
4
|
+
metadata:
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# NLP Earnings Sentiment
|
|
9
|
+
|
|
10
|
+
You are an AI Quant Analyst. Your goal is to use Natural Language Processing to detect subtle shifts in management confidence that quantitative data might miss.
|
|
11
|
+
|
|
12
|
+
## Initial Assessment
|
|
13
|
+
|
|
14
|
+
1. **Source Material**
|
|
15
|
+
- Do we have the full transcript of the earnings call?
|
|
16
|
+
- Do we have transcripts from the previous 4 quarters for comparison?
|
|
17
|
+
|
|
18
|
+
2. **Target Metrics**
|
|
19
|
+
- Are we looking at the "Prepared Remarks" or the "Q&A Section"? (Q&A is often more revealing).
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## NLP Framework
|
|
24
|
+
|
|
25
|
+
### Technical Limitation
|
|
26
|
+
**Context Matters.**
|
|
27
|
+
Generic sentiment libraries (like VADER) often fail in finance because words like "tax" or "cost" are neutral/standard but labeled as negative. This skill uses **FinBERT** or custom financial lexicons.
|
|
28
|
+
|
|
29
|
+
### Priority Order
|
|
30
|
+
1. **Linguistic Pre-processing** (Cleaning transcripts, removing legal disclaimers).
|
|
31
|
+
2. **Sentiment Scoring** (Applying financial-specific NLP models).
|
|
32
|
+
3. **Comparative Analysis** (Measuring "Tone Shift" vs. previous quarters).
|
|
33
|
+
4. **Keyword Extraction** (Identifying what management is talking about *more* or *less*).
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## Technical NLP Steps
|
|
38
|
+
|
|
39
|
+
### 1. Tone Shift Detection
|
|
40
|
+
- Calculate the ratio of positive to negative words in the Q&A section.
|
|
41
|
+
- Compare this ratio to the historical average for this management team.
|
|
42
|
+
|
|
43
|
+
### 2. Uncertainty Mapping
|
|
44
|
+
- Track the frequency of words like "uncertain," "volatile," "might," and "assume."
|
|
45
|
+
- A spike in these words often precedes a stock price correction.
|
|
46
|
+
|
|
47
|
+
### 3. Management vs. Analyst Sentiment
|
|
48
|
+
- Compare the sentiment of management's answers to the sentiment of the analysts' questions to detect friction.
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## Output Format
|
|
53
|
+
|
|
54
|
+
### Sentiment Analysis Report Structure
|
|
55
|
+
|
|
56
|
+
**Sentiment Scorecard**
|
|
57
|
+
- **Overall Score**: (e.g., +0.75 - Very Bullish).
|
|
58
|
+
- **Tone Shift**: (e.g., -15% decline from last quarter).
|
|
59
|
+
|
|
60
|
+
**Key Findings**
|
|
61
|
+
- Top 3 "Stress Points" discussed in the Q&A.
|
|
62
|
+
- Areas where management was unusually vague or evasive.
|
|
63
|
+
|
|
64
|
+
**Quantitative Overlay**
|
|
65
|
+
- Correlation between sentiment shifts and stock price movement in previous quarters.
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## References
|
|
70
|
+
- [FinBERT Overview](./references/finbert-guide.md): Why specialized models matter.
|
|
71
|
+
- [Tone Analysis Basics](./references/linguistic-finance.md): Detecting management evasiveness.
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## Related Skills
|
|
76
|
+
- **investment-analysis**: To add qualitative context to a valuation.
|
|
77
|
+
- **financial-analysis**: To see if the sentiment aligns with the hard numbers.
|
package/selected-skills/financeskills/skills/nlp-earnings-sentiment/references/finbert-guide.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# FinBERT and Financial NLP Models
|
|
2
|
+
|
|
3
|
+
## Why Domain Models
|
|
4
|
+
General sentiment models misread finance: "liability decreased" is positive; "beat expectations despite headwinds" is positive; "in line with guidance" is neutral-positive. Finance-tuned models (FinBERT variants, e.g., ProsusAI/finbert, yiyanghkust/finbert-tone) are trained on analyst reports and earnings text.
|
|
5
|
+
|
|
6
|
+
## Usage Pattern
|
|
7
|
+
```python
|
|
8
|
+
from transformers import pipeline
|
|
9
|
+
clf = pipeline("text-classification", model="yiyanghkust/finbert-tone")
|
|
10
|
+
scores = clf(sentences) # labels: Positive / Negative / Neutral
|
|
11
|
+
```
|
|
12
|
+
- Sentence-level scoring, then aggregate: `net tone = (pos − neg) / total sentences`.
|
|
13
|
+
- Chunk transcripts ≤ 512 tokens; split on sentence boundaries, never mid-sentence.
|
|
14
|
+
|
|
15
|
+
## Earnings Call Structure Matters
|
|
16
|
+
- **Prepared remarks**: scripted, uniformly positive — low signal. Compare vs. the company's own historical baseline, not absolute tone.
|
|
17
|
+
- **Q&A section**: highest signal. Analyze separately. Evasive answers (deflection, non-answers, "we don't guide on that") and question-answer tone gaps are stronger predictors than raw sentiment.
|
|
18
|
+
- Track **tone delta vs. prior quarters**, not levels.
|
|
19
|
+
|
|
20
|
+
## Beyond Sentiment
|
|
21
|
+
- Hedging density: counts of "approximately", "we believe", "subject to" per 100 words.
|
|
22
|
+
- Numeric specificity: ratio of quantified statements to total claims (specificity drops before bad news).
|
|
23
|
+
- Topic shift: new risk topics vs. prior call (embedding distance per section).
|
|
24
|
+
|
|
25
|
+
## Validation
|
|
26
|
+
Backtest tone deltas against post-call abnormal returns or subsequent guidance revisions before trusting any signal. Report correlation, not causation.
|
package/selected-skills/financeskills/skills/nlp-earnings-sentiment/references/linguistic-finance.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Linguistic Markers in Financial Disclosure
|
|
2
|
+
|
|
3
|
+
## Loughran-McDonald Word Lists (the finance standard)
|
|
4
|
+
General-purpose lexicons (Harvard-IV) misclassify ~75% of finance "negative" words (e.g., "tax", "cost", "liability" are routine). Use L-M categories:
|
|
5
|
+
- **Negative** (loss, impairment, litigation, restated), **Positive** (achieve, improve, strong), **Uncertainty** (approximately, contingent, may), **Litigious** (claimant, plaintiff), **Weak/Strong modal** (could/might vs. will/must), **Constraining** (covenant, restrict).
|
|
6
|
+
|
|
7
|
+
Metric: `category density = category word count / total words`, compared against the same company's history and sector peers.
|
|
8
|
+
|
|
9
|
+
## Documented Red-Flag Patterns (research-backed)
|
|
10
|
+
1. **Rising uncertainty + weak modal density** ahead of negative revisions.
|
|
11
|
+
2. **Fog/complexity increase**: longer sentences, more passive voice in 10-K MD&A precede underperformance (Li 2008).
|
|
12
|
+
3. **Pronoun shifts**: "I/we" ownership language dropping in favor of impersonal constructions during deteriorating quarters.
|
|
13
|
+
4. **Disclosure length spikes** in risk factors and critical accounting estimates sections.
|
|
14
|
+
5. **Non-answers in Q&A**: answer length ≪ question complexity; topic deflection.
|
|
15
|
+
6. **Scripted Q&A**: unusually fluent answers to hostile questions (pre-seeded questions).
|
|
16
|
+
|
|
17
|
+
## Quantitative Measures
|
|
18
|
+
- Gunning Fog index on MD&A year-over-year.
|
|
19
|
+
- Cosine similarity of consecutive 10-K risk sections: a sudden DROP means new risks added — read the diff.
|
|
20
|
+
- Negation handling: "not expecting growth" — apply 3-word negation windows when using lexicons.
|
|
21
|
+
|
|
22
|
+
## Caveats
|
|
23
|
+
Language signals are weak individually; combine ≥ 3 markers and always tie to the numbers (does tone diverge from reported results? divergence IS the signal).
|
|
@@ -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)
|