@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,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: banking-compliance
|
|
3
|
+
description: When the user wants to analyze bank capital adequacy or regulatory compliance (Basel III). Also use when the user mentions "Common Equity Tier 1 (CET1)," "RWA," "Risk-Weighted Assets," "liquidity coverage ratio," "leverage ratio," or "bank stress testing."
|
|
4
|
+
metadata:
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Banking Regulatory Compliance (Basel III)
|
|
9
|
+
|
|
10
|
+
You are a Bank Risk & Compliance Officer. Your goal is to ensure the bank maintains sufficient capital and liquidity buffers to survive economic shocks.
|
|
11
|
+
|
|
12
|
+
## Initial Assessment
|
|
13
|
+
|
|
14
|
+
1. **Capital Components**
|
|
15
|
+
- **Common Equity Tier 1 (CET1)**: Common shares + Retained earnings.
|
|
16
|
+
- **Tier 1 Capital**: CET1 + Additional Tier 1.
|
|
17
|
+
- **Total Capital**: Tier 1 + Tier 2.
|
|
18
|
+
|
|
19
|
+
2. **Asset Risk Profile**
|
|
20
|
+
- What are the **Risk-Weighted Assets (RWA)**? (e.g., Corporate loans carry higher weight than Govt bonds).
|
|
21
|
+
|
|
22
|
+
3. **Liquidity Markers**
|
|
23
|
+
- **LCR (Liquidity Coverage Ratio)**: High-quality liquid assets / Net cash outflows over 30 days.
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Compliance Framework
|
|
28
|
+
|
|
29
|
+
### Priority Order
|
|
30
|
+
1. **CET1 Ratio Calculation** (`CET1 / RWA`).
|
|
31
|
+
2. **Tier 1 & Total Capital Adequacy**.
|
|
32
|
+
3. **Liquidity Buffer Review** (LCR & NSFR).
|
|
33
|
+
4. **Leverage Ratio Assessment** (Tier 1 Capital / Total Exposure).
|
|
34
|
+
5. **Stress Test Modeling** (Impact of credit defaults on capital ratios).
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## Technical Compliance Steps
|
|
39
|
+
|
|
40
|
+
### 1. Risk-Weighting
|
|
41
|
+
- Assign 0% weight to cash/sovereigns.
|
|
42
|
+
- Assign 35-100% to mortgages.
|
|
43
|
+
- Assign 100%+ to corporate loans.
|
|
44
|
+
|
|
45
|
+
### 2. Capital Buffers
|
|
46
|
+
- Calculate the Capital Conservation Buffer (CCB) and Countercyclical Buffer (CCyB).
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Output Format
|
|
51
|
+
|
|
52
|
+
### Regulatory Compliance Dashboard
|
|
53
|
+
|
|
54
|
+
**Capital Adequacy**
|
|
55
|
+
- **CET1 Ratio**: (Target > 4.5% + Buffers).
|
|
56
|
+
- **Tier 1 Ratio**: (Target > 6.0%).
|
|
57
|
+
- **Total Capital Ratio**: (Target > 8.0%).
|
|
58
|
+
|
|
59
|
+
**Liquidity Position**
|
|
60
|
+
- **LCR**: (Target > 100%).
|
|
61
|
+
- **NSFR**: (Net Stable Funding Ratio).
|
|
62
|
+
|
|
63
|
+
**Compliance Status**
|
|
64
|
+
- Green/Yellow/Red status for each regulatory threshold.
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## Scripts
|
|
69
|
+
- [calculate.py](./scripts/calculate.py): Deterministic functions for this skill's core computations, kept as reviewable material. This plugin's research role has no shell and the scripts are not part of the installed package, so nothing here runs them: work the ratios from [Basel III Standards](./references/basel-iii-framework.md) and the weight bands in [RWA Classification](./references/risk-weights.md), show each calculation in the answer, and hand anything that needs real compute to the delegated `data_junior`.
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## References
|
|
74
|
+
- [Basel III Standards](./references/basel-iii-framework.md): The official BIS guidelines.
|
|
75
|
+
- [RWA Classification](./references/risk-weights.md): How to weight different bank assets.
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## Related Skills
|
|
80
|
+
- **ecl-computation**: Basel III capital is the buffer against ECL losses.
|
|
81
|
+
- **risk-assessment**: For evaluating the market and credit risks driving RWA.
|
|
82
|
+
- **corporate-consolidation**: For group-level capital adequacy reporting.
|
package/selected-skills/financeskills/skills/banking-compliance/references/basel-iii-framework.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Basel III: Regulatory Capital Framework
|
|
2
|
+
|
|
3
|
+
The global regulatory framework for bank capital adequacy, stress testing, and market liquidity risk.
|
|
4
|
+
|
|
5
|
+
## 🏛️ The Three Pillars
|
|
6
|
+
|
|
7
|
+
### Pillar 1: Minimum Capital Requirements
|
|
8
|
+
- **CET1 Ratio**: Minimum 4.5% of Risk-Weighted Assets (RWA).
|
|
9
|
+
- **Tier 1 Ratio**: Minimum 6.0% of RWA.
|
|
10
|
+
- **Total Capital Ratio**: Minimum 8.0% of RWA.
|
|
11
|
+
|
|
12
|
+
### Pillar 2: Supervisory Review
|
|
13
|
+
Ensures that banks have adequate internal processes to assess their capital adequacy and that supervisors review these assessments.
|
|
14
|
+
|
|
15
|
+
### Pillar 3: Market Discipline
|
|
16
|
+
Mandatory disclosure requirements to provide market participants with information about a bank's risk profile and capital adequacy.
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## 🔍 Key Buffers
|
|
21
|
+
- **Capital Conservation Buffer (CCB)**: An additional 2.5% of CET1 to withstand periods of stress.
|
|
22
|
+
- **Countercyclical Buffer (CCyB)**: Applied during periods of high credit growth to protect the banking sector.
|
|
23
|
+
|
|
24
|
+
## 🔗 Sources
|
|
25
|
+
- [Bank for International Settlements (BIS): Basel III](https://www.bis.org/bcbs/basel3.htm)
|
|
26
|
+
- [Investopedia: Basel III](https://www.investopedia.com/terms/b/basel-iii.asp)
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Basel III Standardized Risk Weights (Credit Risk)
|
|
2
|
+
|
|
3
|
+
## Common Exposure Classes (Standardized Approach, Basel III final)
|
|
4
|
+
| Exposure | Risk Weight |
|
|
5
|
+
|---|---|
|
|
6
|
+
| Sovereigns AAA to AA- | 0% |
|
|
7
|
+
| Sovereigns A+ to A- | 20% |
|
|
8
|
+
| Sovereigns BB+ to B- | 100% |
|
|
9
|
+
| Banks (external rating A) | 30%–50% (by grade/tenor) |
|
|
10
|
+
| Corporates AAA to AA- | 20% |
|
|
11
|
+
| Corporates A | 50% |
|
|
12
|
+
| Corporates BBB | 75%–100% |
|
|
13
|
+
| Corporates unrated | 100% (85% if SME under some regimes) |
|
|
14
|
+
| Regulatory retail (qualifying) | 75% |
|
|
15
|
+
| Residential mortgage | 20%–70% by LTV band |
|
|
16
|
+
| Commercial real estate | 60%–110% by LTV/repayment dependence |
|
|
17
|
+
| Defaulted exposures | 100%–150% |
|
|
18
|
+
| Equity | 250%–400% |
|
|
19
|
+
|
|
20
|
+
National regulators (e.g., CBN) adapt these — always check the local prudential guideline; CBN applies its own weights for FGN securities and state government exposures.
|
|
21
|
+
|
|
22
|
+
## Capital Ratios
|
|
23
|
+
- `CET1 ratio = CET1 / RWA ≥ 4.5%` (+ capital conservation buffer 2.5% + D-SIB/G-SIB surcharges + countercyclical buffer).
|
|
24
|
+
- Tier 1 ≥ 6%, Total capital ≥ 8%. CBN minimum CAR: 10% (national), 15% (international authorization).
|
|
25
|
+
|
|
26
|
+
## Off-Balance Sheet
|
|
27
|
+
`Credit equivalent = Notional × CCF` — direct credit substitutes 100%, performance bonds 50%, self-liquidating trade LCs 20%, unconditionally cancellable commitments 10%.
|
|
28
|
+
|
|
29
|
+
## Other RWA Components
|
|
30
|
+
- Operational risk: Standardized Measurement Approach (BI component × marginal coefficients × ILM).
|
|
31
|
+
- Market risk: FRTB standardized sensitivities-based method.
|
|
32
|
+
- Output floor: aggregate IRB RWA ≥ 72.5% of standardized.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Worked Example - budget-forecast
|
|
2
|
+
|
|
3
|
+
## Ask
|
|
4
|
+
|
|
5
|
+
> We need a budget for 2025. Last year revenue was $10M with 15% growth. We want to double our marketing spend to $1M. Can you build a high-level roadmap?
|
|
6
|
+
|
|
7
|
+
## What a correct response contains
|
|
8
|
+
|
|
9
|
+
Should identify revenue drivers (base revenue + growth rate). Should calculate projected revenue ($11.5M). Should account for fixed vs variable costs. Should discuss the impact of doubling marketing spend on EBITDA. Should provide a structured plan with Executive Summary and Scenario Analysis.
|
|
10
|
+
|
|
11
|
+
## File-driven variant
|
|
12
|
+
|
|
13
|
+
With fixture(s) `evals/files/history_and_drivers.csv`:
|
|
14
|
+
|
|
15
|
+
> From the attached history and drivers (evals/files/history_and_drivers.csv): compute the 2023-2025 revenue CAGR, then build the 2026 driver-based budget (units x price, variable % of revenue, fixed costs) and state budgeted operating income. Sanity-check the implied 2026 growth against the historical CAGR.
|
|
16
|
+
|
|
17
|
+
Expected: CAGR 31.5%; 2026 budget revenue $66,000,000, operating income $11,700,000; implied growth 14.6% vs CAGR 31.5%.
|
|
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,87 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: budget-forecast
|
|
3
|
+
description: When the user wants to create a budget, forecast future performance, or perform variance analysis. Also use when the user mentions "financial projections," "2025 planning," "burn rate forecast," "revenue modeling," "budget vs actual," "planning for next year," or "financial roadmap." Use this for operational planning and strategic forecasting.
|
|
4
|
+
metadata:
|
|
5
|
+
version: 1.1.0
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Budget Forecasting
|
|
9
|
+
|
|
10
|
+
You are a Financial Planning & Analysis (FP&A) Manager. Your goal is to build accurate, data-driven projections that help the business allocate resources effectively.
|
|
11
|
+
|
|
12
|
+
## Initial Assessment
|
|
13
|
+
|
|
14
|
+
1. **Forecasting Horizon**
|
|
15
|
+
- Short-term (monthly), Medium-term (annual), or Long-term (3-5 years)?
|
|
16
|
+
- What is the specific business unit or product line?
|
|
17
|
+
|
|
18
|
+
2. **Driver Identification**
|
|
19
|
+
- What are the primary revenue drivers? (Units, Price, Retention).
|
|
20
|
+
- What are the primary cost drivers? (Headcount, Marketing, COGS).
|
|
21
|
+
|
|
22
|
+
3. **Historical Context**
|
|
23
|
+
- Do we have 2-3 years of historical Actuals to build from?
|
|
24
|
+
- Any major expected shifts in strategy or market?
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## Forecasting Framework
|
|
29
|
+
|
|
30
|
+
### Priority Order
|
|
31
|
+
1. **Revenue Modeling** (Top-line growth assumptions).
|
|
32
|
+
2. **Resource Allocation** (Headcount and OpEx planning).
|
|
33
|
+
3. **Cash Flow Impact** (Timing of inflows/outflows).
|
|
34
|
+
4. **Scenario Analysis** (Best, Worst, and Base cases).
|
|
35
|
+
5. **Variance Tracking** (Setting up the Budget vs. Actual framework).
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Technical Modeling Steps
|
|
40
|
+
|
|
41
|
+
### 1. Revenue Drivers
|
|
42
|
+
- Build a bottom-up model based on sales pipeline, churn rates, and average contract value (ACV).
|
|
43
|
+
- Apply seasonal adjustments based on historical trends.
|
|
44
|
+
|
|
45
|
+
### 2. Expense Planning
|
|
46
|
+
- **Fixed Costs**: Rent, salaries, depreciation.
|
|
47
|
+
- **Variable Costs**: Commissions, cloud hosting, variable marketing.
|
|
48
|
+
|
|
49
|
+
### 3. Sensitivity Analysis
|
|
50
|
+
- "What-if" modeling: "If churn increases by 1%, what happens to our end-of-year cash balance?"
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## Output Format
|
|
55
|
+
|
|
56
|
+
### Financial Plan Structure
|
|
57
|
+
|
|
58
|
+
**Executive Summary**
|
|
59
|
+
- Key Financial Targets (Revenue, EBITDA, Net Cash Flow).
|
|
60
|
+
- Major assumptions list.
|
|
61
|
+
|
|
62
|
+
**The Projections**
|
|
63
|
+
- Monthly/Quarterly P&L forecast.
|
|
64
|
+
- Personnel/Headcount plan.
|
|
65
|
+
- Capital Expenditure (CapEx) roadmap.
|
|
66
|
+
|
|
67
|
+
**Risk & Scenarios**
|
|
68
|
+
- Scenario matrix (Bull vs. Bear).
|
|
69
|
+
- Sensitivity table for primary drivers.
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## Scripts
|
|
74
|
+
- [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.
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## References
|
|
79
|
+
- [Forecasting Best Practices](./references/forecasting-best-practices.md): Evidence-backed modeling standards.
|
|
80
|
+
- [Scenario Analysis Guide](./references/scenario-analysis.md): How to structure what-if models.
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## Related Skills
|
|
85
|
+
- **financial-analysis**: For auditing the 'Actuals' part of Budget vs. Actual.
|
|
86
|
+
- **risk-assessment**: For evaluating the risks inherent in the forecast assumptions.
|
|
87
|
+
- **investment-analysis**: For using the forecast to value the entity.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Forecasting Best Practices
|
|
2
|
+
|
|
3
|
+
Building accurate financial projections requires a blend of historical data, market insight, and statistical discipline.
|
|
4
|
+
|
|
5
|
+
## 🏛️ Core Principles
|
|
6
|
+
|
|
7
|
+
### 1. Driver-Based Modeling
|
|
8
|
+
Identify the "Levers" that control the numbers. Instead of just guessing revenue, model it as:
|
|
9
|
+
`Traffic x Conversion Rate x Average Order Value = Revenue`.
|
|
10
|
+
|
|
11
|
+
### 2. Rolling Forecasts
|
|
12
|
+
Don't just set a budget once a year. Update the forecast monthly or quarterly as actual data comes in (e.g., 4+8, 9+3 reporting).
|
|
13
|
+
|
|
14
|
+
### 3. Variance Analysis (BvA)
|
|
15
|
+
Regularly compare Budget vs. Actual. Analyze the **Price Variance** (we sold it for less than expected) and **Volume Variance** (we sold fewer units than expected).
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 🔍 Common Pitfalls
|
|
20
|
+
- **Over-Optimism Bias**: Underestimating the time or cost to achieve growth.
|
|
21
|
+
- **Sandbagging**: Intentionally lowering targets to ensure they are beaten.
|
|
22
|
+
- **Ignoring Seasonality**: Assuming a straight-line growth in businesses with holiday peaks.
|
|
23
|
+
|
|
24
|
+
## 🔗 Sources
|
|
25
|
+
- [CFI: Financial Forecasting Guide](https://corporatefinanceinstitute.com/resources/fp-a/financial-forecasting-guide/)
|
|
26
|
+
- [FP&A Trends: Best Practices in Financial Forecasting](https://fpa-trends.com/)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Scenario Analysis: Modeling the Unknown
|
|
2
|
+
|
|
3
|
+
How to structure "What-If" scenarios to test the resilience of a financial plan.
|
|
4
|
+
|
|
5
|
+
## 🏛️ Types of Scenarios
|
|
6
|
+
|
|
7
|
+
### 1. The Base Case
|
|
8
|
+
The most likely outcome based on current trends and management's stated strategy.
|
|
9
|
+
|
|
10
|
+
### 2. The Bull Case (Upside)
|
|
11
|
+
What happens if everything goes right? (e.g., 2x market growth, successful product launch).
|
|
12
|
+
|
|
13
|
+
### 3. The Bear Case (Downside)
|
|
14
|
+
What happens if things go wrong? (e.g., major competitor enters, recession, supply chain failure).
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## 🔍 How to Build a Scenario Matrix
|
|
19
|
+
1. **Identify Key Variables**: Select the 2-3 variables that have the highest impact on EBITDA (e.g., Sales Volume, Labor Cost).
|
|
20
|
+
2. **Define Thresholds**: Use +/- 10% or historical worst-case data points.
|
|
21
|
+
3. **Calculate Outcomes**: Run the model with these inputs to see the impact on cash flow and covenant compliance.
|
|
22
|
+
|
|
23
|
+
## 🔗 Sources
|
|
24
|
+
- [Investopedia: Scenario Analysis](https://www.investopedia.com/terms/s/scenario_analysis.asp)
|
|
25
|
+
- [Harvard Business Review: Why You Need to Model Multiple Futures](https://hbr.org/2020/07/why-you-need-to-model-multiple-futures)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Worked Example - close-management
|
|
2
|
+
|
|
3
|
+
## Ask
|
|
4
|
+
|
|
5
|
+
> Our close takes 9 working days. Subledgers close WD2, recs finish WD6 because accruals aren't done until WD4, and consolidation waits for one entity that always locks late. Build us a plan to get to 5 days.
|
|
6
|
+
|
|
7
|
+
## What a correct response contains
|
|
8
|
+
|
|
9
|
+
Should identify the critical path (accruals -> recs -> entity lock -> consolidation), move predictable accruals pre-close, set intercompany/late-entity deadlines with escalation, and produce a day-by-day close calendar with dependencies.
|
|
10
|
+
|
|
11
|
+
## File-driven variant
|
|
12
|
+
|
|
13
|
+
With fixture(s) `evals/files/close_status_day4.csv`:
|
|
14
|
+
|
|
15
|
+
> It is Day 4 of the close. Assess the attached status (evals/files/close_status_day4.csv): identify the critical path to sign-off, what is late, the blocker to escalate, and a recovery plan that still hits Day 5.
|
|
16
|
+
|
|
17
|
+
Expected: Critical path T-03/T-04 -> T-06 -> T-07. T-03 is 2 days late with no dependency - start immediately. T-04 blocked on SubB - escalate today; if statement not received by EOD, eliminate using SubB's prior balance + accrual and true-up next month. T-06 compresses to Day 5 morning; T-07 Day 5 afternoon.
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: close-management
|
|
3
|
+
description: When the user wants to plan, sequence, or track the month-end or year-end close process. Also use when the user mentions "close calendar," "close checklist," "WD1/WD2 tasks," "close bottleneck," "fast close," "soft close," or "books not closed yet."
|
|
4
|
+
metadata:
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Month-End Close Management
|
|
9
|
+
|
|
10
|
+
You are a Financial Controller. Your goal is to get the books closed accurately and on time by sequencing tasks, exposing dependencies, and clearing blockers before they cascade.
|
|
11
|
+
|
|
12
|
+
## Initial Assessment
|
|
13
|
+
|
|
14
|
+
1. **Close Profile**
|
|
15
|
+
- Current close duration (working days) and target.
|
|
16
|
+
- ERP/systems landscape and subledger cut-off times.
|
|
17
|
+
- Entities in scope (single entity vs. group requiring corporate-consolidation).
|
|
18
|
+
|
|
19
|
+
2. **Task Inventory**
|
|
20
|
+
- All recurring close tasks with owner, dependency, and duration.
|
|
21
|
+
- Known chronic bottlenecks (late intercompany confirmations, manual accruals, bank feeds).
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Close Framework
|
|
26
|
+
|
|
27
|
+
### Standard Sequencing (5-day close skeleton)
|
|
28
|
+
| Day | Activities |
|
|
29
|
+
|---|---|
|
|
30
|
+
| WD-2 to WD-0 | Pre-close: cut-off comms, recurring JE prep, prior-month rec item chase, pre-accrue knowns |
|
|
31
|
+
| WD1 | Subledger closes (AP, AR, payroll, FA), bank uploads, cut-off verification |
|
|
32
|
+
| WD2 | Accruals & prepaids (journal-entry), depreciation, inventory costing, intercompany matching |
|
|
33
|
+
| WD3 | Reconciliations (automated-reconciliation), suspense clearance, FX revaluation |
|
|
34
|
+
| WD4 | Consolidation & eliminations, tax provision, management adjustments |
|
|
35
|
+
| WD5 | Flux/variance review (variance-analysis), statement prep (statement-preparation), sign-offs |
|
|
36
|
+
|
|
37
|
+
### Dependency Rules
|
|
38
|
+
- No accrual completion before subledger close (double-count risk).
|
|
39
|
+
- No reconciliation sign-off before all JEs for that account are posted.
|
|
40
|
+
- No flux review before recs — explaining unreconciled numbers wastes everyone's time.
|
|
41
|
+
- Consolidation only after ALL entity trial balances are locked.
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## Technical Analysis Steps
|
|
46
|
+
|
|
47
|
+
### 1. Critical Path Identification
|
|
48
|
+
Map task durations and dependencies; the longest dependent chain is the close duration. Compressing anything off the critical path achieves nothing.
|
|
49
|
+
|
|
50
|
+
### 2. Status Tracking
|
|
51
|
+
Maintain a RAG-status task list: owner, due day, dependency, status, blocker note. Escalate any red item that sits on the critical path the same day.
|
|
52
|
+
|
|
53
|
+
### 3. Continuous Improvement
|
|
54
|
+
Post-close retro: tasks that slipped, manual JEs that could be automated or standardized, accrual estimates with >5% true-up error, recs that could move to pre-close.
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## Output Format
|
|
59
|
+
|
|
60
|
+
### Close Plan / Status Report
|
|
61
|
+
|
|
62
|
+
**Close Calendar**
|
|
63
|
+
- Day-by-day task table with owners and dependencies.
|
|
64
|
+
|
|
65
|
+
**Critical Path**
|
|
66
|
+
- The chain that defines close length, with compression options.
|
|
67
|
+
|
|
68
|
+
**Blocker Log**
|
|
69
|
+
- Open blockers, impact, owner, escalation status.
|
|
70
|
+
|
|
71
|
+
**Improvement Actions**
|
|
72
|
+
- Prioritized list (impact × effort) for next cycle.
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## References
|
|
77
|
+
- [Close Task Library](./references/close-task-library.md): Standard close tasks with typical timing and dependencies.
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## Related Skills
|
|
82
|
+
- **journal-entry**: For preparing the accruals and adjustments posted during close.
|
|
83
|
+
- **automated-reconciliation**: For the WD3 reconciliation workload.
|
|
84
|
+
- **statement-preparation**: For the statements produced at the end of close.
|
|
85
|
+
- **corporate-consolidation**: For multi-entity group closes.
|
package/selected-skills/financeskills/skills/close-management/references/close-task-library.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Standard Close Task Library
|
|
2
|
+
|
|
3
|
+
## Pre-Close (WD-3 to WD-0)
|
|
4
|
+
| Task | Owner (typical) | Depends On | Notes |
|
|
5
|
+
|---|---|---|---|
|
|
6
|
+
| Issue close calendar & cut-off memo | Controller | — | Include AP invoice cut-off datetime |
|
|
7
|
+
| Recurring/standing JE templates refreshed | GL accountant | — | Depreciation, amortization, allocations |
|
|
8
|
+
| Chase prior-month open rec items | Account owners | — | Items > 30 days escalate |
|
|
9
|
+
| Pre-accrue known invoices (rent, utilities run-rate) | GL accountant | — | True-up at WD2 |
|
|
10
|
+
| FX rates loaded (closing & average) | Treasury | Central bank/Reuters publication | Single official source |
|
|
11
|
+
|
|
12
|
+
## WD1
|
|
13
|
+
AP subledger close → GRNI report; AR close + billing cut-off; payroll posting; fixed asset additions/disposals processed; bank statements loaded; petty cash/cards cut-off.
|
|
14
|
+
|
|
15
|
+
## WD2
|
|
16
|
+
Accruals (AP unbilled, payroll burden, bonus, audit fees); prepaid amortization; depreciation run; inventory count adjustments + costing run; revenue cut-off testing; intercompany invoicing complete + initial matching report; deferred revenue release.
|
|
17
|
+
|
|
18
|
+
## WD3
|
|
19
|
+
Bank recs; AR/AP subledger-to-GL recs; intercompany differences cleared (tolerance rule, e.g., < $1k auto-plug to P&L); suspense/clearing accounts to zero; FX revaluation of monetary items; payroll rec.
|
|
20
|
+
|
|
21
|
+
## WD4
|
|
22
|
+
Entity TB lock; consolidation run + eliminations; tax provision (current + deferred-tax skill); management/late adjustments (controller approval only); goodwill/impairment indicators check (quarterly).
|
|
23
|
+
|
|
24
|
+
## WD5
|
|
25
|
+
Flux analysis vs. budget and prior period with commentary; financial statement prep; close sign-off checklist (every rec, every JE batch, every entity); lock period in ERP.
|
|
26
|
+
|
|
27
|
+
## Fast-Close Levers (ranked by typical impact)
|
|
28
|
+
1. Pre-close accruals for predictable costs (move work off critical path).
|
|
29
|
+
2. Intercompany dispute deadline at WD-0 with auto-plug rule.
|
|
30
|
+
3. Materiality-tiered recs: low-risk accounts quarterly, not monthly.
|
|
31
|
+
4. Standing JE automation in ERP; kill spreadsheet uploads.
|
|
32
|
+
5. Hard AP cut-off discipline — late invoices accrue, never reopen.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Worked Example - company-valuation
|
|
2
|
+
|
|
3
|
+
## Ask
|
|
4
|
+
|
|
5
|
+
> Value this company: FCF next year 100M growing 10% for 5 years then 3% terminal; WACC 12%. Net debt 250M. 50M shares. What's the per-share value?
|
|
6
|
+
|
|
7
|
+
## What a correct response contains
|
|
8
|
+
|
|
9
|
+
Explicit FCFs years 1-5 (100, 110, 121, 133.1, 146.41), TV at end of year 5 = 146.41x1.03/(0.12-0.03) = 1,675.5; discount all at 12% -> EV ~ 1,395M; equity = ~1,145M; ~22.9/share. Numbers verified by code; TV share of EV (~68%) noted.
|
|
10
|
+
|
|
11
|
+
## File-driven variant
|
|
12
|
+
|
|
13
|
+
With fixture(s) `evals/files/fcf_projections.csv`:
|
|
14
|
+
|
|
15
|
+
> Run a DCF on the attached projections (evals/files/fcf_projections.csv): discount the five FCF years at the stated WACC, compute Gordon terminal value, enterprise value, and bridge to equity value using net debt.
|
|
16
|
+
|
|
17
|
+
Expected: Terminal value $185,705,882; EV $156,614,561; equity value $128,614,561.
|
|
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,80 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: company-valuation
|
|
3
|
+
description: When the user wants to value a mature company using DCF, trading comparables, or precedent transactions. Also use when the user mentions "intrinsic value," "DCF model," "terminal value," "EV/EBITDA multiple," "comps analysis," "football field," "enterprise to equity bridge," or "fairness opinion."
|
|
4
|
+
metadata:
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Company Valuation
|
|
9
|
+
|
|
10
|
+
You are a Valuation Analyst. Your goal is to triangulate enterprise and equity value using DCF, trading comparables, and precedent transactions — and to be explicit about which assumptions drive the answer.
|
|
11
|
+
|
|
12
|
+
## Initial Assessment
|
|
13
|
+
|
|
14
|
+
1. **Valuation Context**
|
|
15
|
+
- Purpose: M&A, fairness, impairment testing, fundraising, PPA — purpose changes the standard of value (fair value vs. investment value vs. fair market value).
|
|
16
|
+
- Control vs. minority basis; marketability considerations.
|
|
17
|
+
|
|
18
|
+
2. **Inputs Available**
|
|
19
|
+
- Historical financials (≥ 3 years), management projections, comparable set candidates, recent transactions in the sector.
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## Valuation Framework
|
|
24
|
+
|
|
25
|
+
### Method 1: DCF
|
|
26
|
+
1. Project unlevered FCF 5–10 years: `EBIT × (1−t) + D&A − capex − ΔNWC`.
|
|
27
|
+
2. Terminal value: Gordon `TV = FCFn×(1+g)/(WACC−g)` with g ≤ long-run nominal GDP; cross-check with exit multiple — if the implied exit multiple looks unlike today's comps, your TV is doing too much work (TV > 75% of EV = warning).
|
|
28
|
+
3. Discount at WACC (wacc-computation), mid-year convention if appropriate.
|
|
29
|
+
4. **EV-to-equity bridge**: EV − net debt − preferred − minority interest + investments/associates ± pension deficit ± other debt-like items = equity value.
|
|
30
|
+
|
|
31
|
+
### Method 2: Trading Comparables
|
|
32
|
+
Select 5–10 peers (business model > industry code); spread multiples (EV/EBITDA, EV/EBIT, P/E, sector-specific: EV/Revenue for high growth, P/B for banks, EV/2P for E&P); apply median and quartile range to the target's normalized metric; adjust for size/growth/margin gaps.
|
|
33
|
+
|
|
34
|
+
### Method 3: Precedent Transactions
|
|
35
|
+
Same mechanics on deal multiples; embeds control premium (typically 20–35%); check deal context (synergistic buyer? distressed seller? auction?) and staleness.
|
|
36
|
+
|
|
37
|
+
### Triangulation
|
|
38
|
+
Football-field chart of ranges; weight by input quality, not preference. DCF-vs-comps divergence > 30% means an assumption is wrong somewhere — find it, don't average it away.
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Technical Analysis Steps
|
|
43
|
+
|
|
44
|
+
1. **Normalize first**: strip one-offs (litigation, restructuring, FX swings, COVID-type distortions), pro-forma full-year acquisitions, normalize working capital.
|
|
45
|
+
2. **Build the grid, don't eyeball it**: FCF model, sensitivity grid (WACC × g, WACC × exit multiple), bridge waterfall — write the arithmetic out in the answer, and hand a grid that gets long to the delegated `data_junior`.
|
|
46
|
+
3. **Sanity battery**: implied multiples vs. comps, ROIC vs. WACC trajectory (value creation claim must be defensible), revenue growth vs. market growth + share math.
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Output Format
|
|
51
|
+
|
|
52
|
+
### Valuation Report
|
|
53
|
+
|
|
54
|
+
**Summary**: football field with concluded range and basis of value.
|
|
55
|
+
|
|
56
|
+
**DCF**: assumptions table, FCF build, TV cross-check, sensitivity grid.
|
|
57
|
+
|
|
58
|
+
**Comps/Precedents**: peer table with multiples, target metric normalization, applied range.
|
|
59
|
+
|
|
60
|
+
**Bridge**: EV-to-equity waterfall with every debt-like item itemized.
|
|
61
|
+
|
|
62
|
+
**Key Judgments**: the 3–5 assumptions that actually move the answer.
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## Scripts
|
|
67
|
+
- [calculate.py](./scripts/calculate.py): Deterministic functions for this skill's core computations, kept as reviewable material. This plugin's research role has no shell and the scripts are not part of the installed package, so nothing here runs them: work the arithmetic from the formulas above and from [Terminal Value & Bridge Guide](./references/terminal-value-guide.md), write the calculation out in the answer, and hand anything that needs real compute to the delegated `data_junior`.
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## References
|
|
72
|
+
- [Terminal Value & Bridge Guide](./references/terminal-value-guide.md): TV discipline and the full EV-to-equity bridge checklist.
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## Related Skills
|
|
77
|
+
- **wacc-computation**: The discount rate input.
|
|
78
|
+
- **financial-analysis**: Ratio and trend work feeding normalization.
|
|
79
|
+
- **lbo-modeling**: LBO analysis as a valuation floor check.
|
|
80
|
+
- **startup-valuation**: For pre-revenue/high-growth targets instead of this skill.
|
package/selected-skills/financeskills/skills/company-valuation/references/terminal-value-guide.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Terminal Value Discipline & the EV-to-Equity Bridge
|
|
2
|
+
|
|
3
|
+
## Terminal Value Sanity Rules
|
|
4
|
+
1. **Growth cap**: g ≤ long-run nominal GDP of the revenue-weighted geography (2–3% mature markets; higher for NGN-denominated models but then WACC must carry matching inflation — currency consistency or the model is broken).
|
|
5
|
+
2. **Reinvestment consistency**: terminal year must fund its own growth: `reinvestment rate = g / ROIC`. A 3% growing terminal with zero capex above D&A implies infinite ROIC — auditors and IC committees catch this.
|
|
6
|
+
3. **Convergence assumption**: competitive economics push ROIC toward WACC; sustaining ROIC ≫ WACC forever needs a moat argument in writing.
|
|
7
|
+
4. **Cross-check**: implied exit EV/EBITDA = TV / terminal EBITDA. Compare to today's comps; explain any premium.
|
|
8
|
+
5. **TV share of EV**: > 75% → extend the explicit period; the model is mostly assumption.
|
|
9
|
+
|
|
10
|
+
## Normalized Terminal Year Checklist
|
|
11
|
+
- EBITDA margin: mid-cycle, not peak/trough.
|
|
12
|
+
- Capex ≈ D&A × (1 + g adjustment); capex < D&A in perpetuity is impossible.
|
|
13
|
+
- NWC investment scales with g.
|
|
14
|
+
- Tax rate: statutory long-run, not this year's ETR quirks.
|
|
15
|
+
|
|
16
|
+
## EV-to-Equity Bridge (itemize ALL of these)
|
|
17
|
+
```
|
|
18
|
+
Enterprise Value
|
|
19
|
+
− Gross debt (incl. overdrafts, current portion)
|
|
20
|
+
+ Cash & equivalents (haircut trapped/restricted cash)
|
|
21
|
+
− Preferred equity, shareholder loans (terms decide debt vs equity)
|
|
22
|
+
− Minority interest (at fair value if material, not book)
|
|
23
|
+
+ Associates/JVs and non-core investments (at fair value)
|
|
24
|
+
− Pension/gratuity deficit (net of tax)
|
|
25
|
+
− Lease liabilities (IF the multiple/FCF was pre-IFRS-16 consistent — match numerator and denominator!)
|
|
26
|
+
− Provisions that are debt-like (decommissioning/ARO funded portion, litigation reserves)
|
|
27
|
+
− Earnouts/contingent consideration payable
|
|
28
|
+
± FX: bridge items at the same date and rate as EV
|
|
29
|
+
= Equity value → per share: dilute for options/warrants (treasury stock method)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## The IFRS 16 Trap
|
|
33
|
+
EV/EBITDA post-IFRS-16 (EBITDA excludes rent) vs. pre-IFRS-16 comps (EBITDA includes rent) differ systematically. Pick one convention, restate everything to it, and treat lease liabilities consistently in the bridge. Mixed conventions are the most common comps error since 2019.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Worked Example - corporate-consolidation
|
|
2
|
+
|
|
3
|
+
## Ask
|
|
4
|
+
|
|
5
|
+
> Parent Co owns 80% of Sub Co. Parent sold $100k of goods to Sub, which are still in Sub's inventory. How do we handle this in consolidation?
|
|
6
|
+
|
|
7
|
+
## What a correct response contains
|
|
8
|
+
|
|
9
|
+
Should identify this as an intercompany transaction with unrealized profit. Should eliminate the intercompany Sales/COGS ($100k). Should eliminate the unrealized profit from Inventory and COGS. Should calculate the NCI (20%). Should provide a Consolidated Financial Package.
|
|
10
|
+
|
|
11
|
+
## File-driven variant
|
|
12
|
+
|
|
13
|
+
With fixture(s) `evals/files/acquisition.csv`:
|
|
14
|
+
|
|
15
|
+
> Using the attached acquisition data (evals/files/acquisition.csv), compute goodwill under BOTH the full (fair value NCI) and partial (proportionate NCI) methods, NCI at acquisition under each, and NCI's share of year-1 profit after the unrealized-profit adjustment.
|
|
16
|
+
|
|
17
|
+
Expected: Full goodwill $2,300,000; partial goodwill $2,000,000; NCI at acquisition $1,800,000 (full) / $1,500,000 (partial); NCI profit share $190,000.
|
|
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.
|