@v587d/capital-generation 2.10.1 → 2.11.0
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 +47 -0
- package/README.md +19 -10
- package/THIRD_PARTY_NOTICES.md +29 -28
- package/chart-ui/package.json +1 -1
- package/config/client.js +36 -31
- package/config/client.src.cjs +185 -139
- package/config/package.json +1 -1
- package/lib/data-contract.d.ts +15 -0
- package/lib/data-contract.js +26 -0
- package/lib/selected-skills-entry.d.ts +3 -3
- package/lib/selected-skills-entry.js +9 -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/InvestSkill/UPSTREAM.md +8 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/10k-digest/SKILL.md +11 -4
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/10k-digest/references/10-retrieving-the-filing.md +24 -15
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/10k-digest/references/11-key-metrics-table.md +3 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/bear-case/SKILL.md +9 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/catalyst-calendar/SKILL.md +9 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/competitor-analysis/SKILL.md +9 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/competitor-analysis/references/13-input-formats.md +2 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dividend-analysis/SKILL.md +9 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dividend-analysis/references/13-fcf-deployment-scorecard.md +13 -21
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-call-analysis/SKILL.md +9 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-call-analysis/references/11-data-sources.md +18 -45
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-preview/SKILL.md +9 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/economics-analysis/SKILL.md +10 -3
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/etf-analysis/SKILL.md +9 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fact-check/SKILL.md +11 -4
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fact-check/references/10-overview.md +1 -1
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fact-check/references/11-phase-2-source-hierarchy.md +9 -3
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fact-check/references/13-notes.md +1 -1
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/financial-report-analyst/SKILL.md +9 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/financial-report-analyst/references/10-overview.md +9 -8
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/industry-map/SKILL.md +9 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/industry-map/references/10-overview.md +2 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/industry-map/references/12-visualization-support.md +1 -1
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/insider-trading/SKILL.md +9 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/insider-trading/references/11-pattern-recognition.md +9 -24
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/insider-trading/references/12-interpretation-guidelines.md +1 -1
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/institutional-ownership/SKILL.md +9 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/institutional-ownership/references/11-ownership-concentration-analysis.md +5 -8
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/institutional-ownership/references/12-red-flags-warning-signs.md +2 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/learning-coach/SKILL.md +9 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/learning-coach/references/10-overview.md +6 -4
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/learning-coach/references/11-phase-2-explanation-card.md +2 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/learning-coach/references/12-output-format.md +1 -1
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/options-analysis/SKILL.md +9 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/portfolio-review/SKILL.md +9 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/position-ladder/SKILL.md +9 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/result-validator/SKILL.md +7 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/risk-stress-test/SKILL.md +9 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/sector-analysis/SKILL.md +9 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/sector-analysis/references/11-sector-correlation-matrix.md +4 -4
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/sector-analysis/references/12-peer-benchmarking-within-sector.md +1 -1
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/short-interest/SKILL.md +9 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/short-interest/references/12-data-sources.md +9 -15
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/SKILL.md +9 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/references/11-dupont-decomposition.md +1 -1
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-screener/SKILL.md +9 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-valuation/SKILL.md +9 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/tax-lens/SKILL.md +9 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/SKILL.md +9 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/references/11-chart-visualization-support.md +1 -1
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/thesis-tracker/SKILL.md +9 -2
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/thesis-tracker/references/10-overview.md +1 -1
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/thesis-tracker/references/11-phase-5-the-pre.md +1 -1
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/thesis-tracker/references/12-example.md +2 -2
- package/selected-skills/README.md +29 -19
- package/selected-skills/ROUTING.md +5 -3
- package/selected-skills/catalog.js +38 -0
- package/selected-skills/china-stock-research-skills/UPSTREAM.md +8 -0
- package/selected-skills/china-stock-research-skills/skills/business-decomposition-order-quality/SKILL.md +7 -0
- package/selected-skills/china-stock-research-skills/skills/business-decomposition-order-quality/references/idc-order-ledger-guide.md +11 -9
- package/selected-skills/china-stock-research-skills/skills/financial-health/SKILL.md +7 -0
- package/selected-skills/china-stock-research-skills/skills/financial-health/references/idc-balance-sheet-stress-guide.md +10 -8
- package/selected-skills/china-stock-research-skills/skills/industry-competition-moat/SKILL.md +7 -0
- package/selected-skills/china-stock-research-skills/skills/industry-competition-moat/references/idc-value-chain-and-peers.md +9 -7
- package/selected-skills/china-stock-research-skills/skills/risk-warning-catalysts/SKILL.md +7 -0
- package/selected-skills/china-stock-research-skills/skills/risk-warning-catalysts/references/idc-monitoring-indicators.md +9 -7
- package/selected-skills/china-stock-research-skills/skills/shared/references/asset-heavy-ramp-overlay.md +7 -5
- package/selected-skills/china-stock-research-skills/skills/shared/references/business-model-transition-overlay.md +7 -5
- package/selected-skills/china-stock-research-skills/skills/shared/references/citation-standard.md +7 -7
- package/selected-skills/china-stock-research-skills/skills/shared/references/consumer-channel-brand-overlay.md +8 -6
- package/selected-skills/china-stock-research-skills/skills/shared/references/cyclical-price-driven-overlay.md +8 -6
- package/selected-skills/china-stock-research-skills/skills/shared/references/export-manufacturing-supply-chain-overlay.md +8 -6
- package/selected-skills/china-stock-research-skills/skills/shared/references/idc-heavy-asset-transition-overlay.md +16 -14
- package/selected-skills/china-stock-research-skills/skills/shared/references/project-order-business-overlay.md +7 -5
- package/selected-skills/china-stock-research-skills/skills/shared/references/regulated-healthcare-policy-overlay.md +8 -6
- package/selected-skills/china-stock-research-skills/skills/shared/references/source-registry.md +45 -47
- package/selected-skills/china-stock-research-skills/skills/strategy-business-transition/SKILL.md +7 -0
- package/selected-skills/china-stock-research-skills/skills/strategy-business-transition/references/idc-transition-markers.md +8 -6
- package/selected-skills/china-stock-research-skills/skills/valuation-investment-strategy/SKILL.md +7 -0
- package/selected-skills/china-stock-research-skills/skills/valuation-investment-strategy/references/idc-valuation-overlays.md +8 -6
- package/selected-skills/claude-for-financial-services-cn/UPSTREAM.md +9 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-break-trace/SKILL.md +1 -1
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-catalyst-calendar/SKILL.md +1 -1
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-comps-analysis/SKILL.md +3 -3
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-dcf/SKILL.md +1 -1
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-earnings-analysis/SKILL.md +1 -1
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-earnings-preview/SKILL.md +1 -1
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-idea-generation/SKILL.md +1 -1
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-initiating-coverage/SKILL.md +2 -2
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-morning-note/SKILL.md +1 -1
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-sector-overview/SKILL.md +2 -2
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-thesis-tracker/SKILL.md +1 -1
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-variance-commentary/SKILL.md +1 -1
- package/selected-skills/filter.js +70 -0
- package/selected-skills/financeskills/UPSTREAM.md +10 -0
- package/selected-skills/financeskills/skills/banking-compliance/SKILL.md +9 -2
- package/selected-skills/financeskills/skills/company-valuation/SKILL.md +9 -2
- package/selected-skills/financeskills/skills/credit-analysis/SKILL.md +9 -2
- package/selected-skills/financeskills/skills/ecl-computation/SKILL.md +9 -2
- package/selected-skills/financeskills/skills/forensic-accounting/SKILL.md +9 -2
- package/selected-skills/financeskills/skills/insurance-reserving/SKILL.md +9 -2
- package/selected-skills/financeskills/skills/three-statement-modeling/SKILL.md +9 -2
- package/selected-skills/financeskills/skills/wacc-computation/SKILL.md +9 -2
- package/selected-skills/investment-skills/UPSTREAM.md +9 -0
- package/selected-skills/investment-skills/skills/buffett-investment-framework/SKILL.md +7 -0
- package/selected-skills/investment-skills/skills/buffett-investment-framework/references/00-source-key.md +25 -25
- package/selected-skills/investment-skills/skills/buffett-investment-framework/references/11-deterministic-router.md +40 -9
- package/selected-skills/peter-lynch-skill/UPSTREAM.md +7 -0
- package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/SKILL.md +9 -2
- package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/10-workflow.md +1 -1
- package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/deep/system-prompt.md +5 -5
- package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/deep/web-research-1.md +1 -1
- package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/deep/web-research-2.md +4 -7
- package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/quick/system-prompt.md +1 -1
- package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/quick/web-research-1.md +50 -49
- package/selected-skills/quant-agent-skills/UPSTREAM.md +8 -0
- package/selected-skills/quant-agent-skills/skills/cross-market-listing-choice/SKILL.md +1 -1
- package/selected-skills/routing.js +52 -1
- package/selected-skills/trading-skills/UPSTREAM.md +10 -0
- package/selected-skills/trading-skills/skills/catalyst-map/SKILL.md +7 -0
- package/selected-skills/trading-skills/skills/evidence-gap-check/SKILL.md +7 -0
- package/selected-skills/trading-skills/skills/execution-plan-check/SKILL.md +7 -0
- package/selected-skills/trading-skills/skills/journal-pattern-analyzer/SKILL.md +7 -0
- package/selected-skills/trading-skills/skills/macro-event-analysis/SKILL.md +6 -9
- package/selected-skills/trading-skills/skills/macro-event-analysis/references/interpretation-guide.md +1 -1
- package/selected-skills/trading-skills/skills/market-regime-analysis/SKILL.md +5 -8
- package/selected-skills/trading-skills/skills/portfolio-concentration/SKILL.md +7 -0
- package/selected-skills/trading-skills/skills/position-management/SKILL.md +7 -0
- package/selected-skills/trading-skills/skills/position-sizing/SKILL.md +7 -0
- package/selected-skills/trading-skills/skills/post-trade-review/SKILL.md +7 -0
- package/selected-skills/trading-skills/skills/risk-reward-sanity-check/SKILL.md +7 -0
- package/selected-skills/trading-skills/skills/thesis-validation/SKILL.md +7 -0
- package/selected-skills/trading-skills/skills/watchlist-review/SKILL.md +7 -0
- package/watchlist/package.json +1 -1
- package/selected-skills/InvestSkill/install.sh +0 -212
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/chart-master/SKILL.md +0 -648
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dcf-valuation/SKILL.md +0 -109
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/full-report/SKILL.md +0 -301
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fundamental-analysis/SKILL.md +0 -67
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/report-generator/SKILL.md +0 -857
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/research-bundle/SKILL.md +0 -94
- package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/SKILL.md +0 -75
- package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/references/final-output-contract.md +0 -62
- package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/references/routing-matrix.md +0 -34
- package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/references/sector-overlay-escalation-rules.md +0 -38
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-3-statement-model/SKILL.md +0 -287
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-accrual-schedule/SKILL.md +0 -182
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-audit-xls/SKILL.md +0 -231
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-clean-data-xls/SKILL.md +0 -237
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-comps/SKILL.md +0 -104
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-dcf-model/SKILL.md +0 -68
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-deal-screening/SKILL.md +0 -212
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-deck-refresh/SKILL.md +0 -221
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-gl-recon/SKILL.md +0 -232
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-ib-check-deck/SKILL.md +0 -252
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-lbo-model/SKILL.md +0 -273
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-market-data/SKILL.md +0 -229
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-model-update/SKILL.md +0 -219
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-ppt-template-creator/SKILL.md +0 -231
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-pptx-author/SKILL.md +0 -240
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-roll-forward/SKILL.md +0 -189
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-skill-creator/SKILL.md +0 -304
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-tax-loss-harvesting/SKILL.md +0 -200
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-xlsx-author/SKILL.md +0 -256
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-accrual-schedule/SKILL.md +0 -190
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-break-trace/SKILL.md +0 -182
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-gl-recon/SKILL.md +0 -200
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-nav-tieout/SKILL.md +0 -233
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-roll-forward/SKILL.md +0 -178
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-variance-commentary/SKILL.md +0 -190
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-buyer-list/SKILL.md +0 -198
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-cim-builder/SKILL.md +0 -223
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-competitive-analysis/SKILL.md +0 -233
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-datapack-builder/SKILL.md +0 -232
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-deal-tracker/SKILL.md +0 -151
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-merger-model/SKILL.md +0 -226
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-pitch-deck/SKILL.md +0 -231
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-process-letter/SKILL.md +0 -249
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-strip-profile/SKILL.md +0 -196
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-teaser/SKILL.md +0 -235
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/operations/skills/china-kyc-doc-parse/SKILL.md +0 -252
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/operations/skills/china-kyc-rules/SKILL.md +0 -223
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-ai-readiness/SKILL.md +0 -184
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-dd-checklist/SKILL.md +0 -217
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-dd-meeting-prep/SKILL.md +0 -290
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-deal-sourcing/SKILL.md +0 -224
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-ic-memo/SKILL.md +0 -230
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-portfolio-monitoring/SKILL.md +0 -214
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-returns-analysis/SKILL.md +0 -176
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-unit-economics/SKILL.md +0 -192
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-value-creation-plan/SKILL.md +0 -193
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-client-report/SKILL.md +0 -205
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-client-review/SKILL.md +0 -218
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-financial-plan/SKILL.md +0 -259
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-investment-proposal/SKILL.md +0 -271
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-portfolio-rebalance/SKILL.md +0 -191
- package/selected-skills/financeskills/skills/ai-anomaly-detection/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/ai-anomaly-detection/SKILL.md +0 -84
- package/selected-skills/financeskills/skills/ai-anomaly-detection/references/feature-engineering.md +0 -20
- package/selected-skills/financeskills/skills/ai-anomaly-detection/references/ml-algorithms.md +0 -28
- package/selected-skills/financeskills/skills/aro-computation/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/aro-computation/SKILL.md +0 -82
- package/selected-skills/financeskills/skills/aro-computation/references/aro-standards.md +0 -22
- package/selected-skills/financeskills/skills/aro-computation/references/pv-math.md +0 -27
- package/selected-skills/financeskills/skills/audit-checklist/EXAMPLE.md +0 -17
- package/selected-skills/financeskills/skills/audit-checklist/SKILL.md +0 -77
- package/selected-skills/financeskills/skills/audit-checklist/references/internal-controls.md +0 -36
- package/selected-skills/financeskills/skills/audit-checklist/references/isa-standards.md +0 -26
- package/selected-skills/financeskills/skills/automated-reconciliation/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/automated-reconciliation/SKILL.md +0 -87
- package/selected-skills/financeskills/skills/automated-reconciliation/assets/reconciliation-statement-template.md +0 -31
- package/selected-skills/financeskills/skills/automated-reconciliation/references/fuzzy-logic.md +0 -27
- package/selected-skills/financeskills/skills/automated-reconciliation/references/rec-controls.md +0 -28
- package/selected-skills/financeskills/skills/budget-forecast/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/budget-forecast/SKILL.md +0 -87
- package/selected-skills/financeskills/skills/budget-forecast/references/forecasting-best-practices.md +0 -26
- package/selected-skills/financeskills/skills/budget-forecast/references/scenario-analysis.md +0 -25
- package/selected-skills/financeskills/skills/close-management/EXAMPLE.md +0 -17
- package/selected-skills/financeskills/skills/close-management/SKILL.md +0 -85
- package/selected-skills/financeskills/skills/close-management/references/close-task-library.md +0 -32
- package/selected-skills/financeskills/skills/corporate-consolidation/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/corporate-consolidation/SKILL.md +0 -84
- package/selected-skills/financeskills/skills/corporate-consolidation/references/consolidation-standard.md +0 -28
- package/selected-skills/financeskills/skills/corporate-consolidation/references/minority-interest.md +0 -25
- package/selected-skills/financeskills/skills/crypto-accounting/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/crypto-accounting/SKILL.md +0 -81
- package/selected-skills/financeskills/skills/crypto-accounting/references/fasb-crypto.md +0 -26
- package/selected-skills/financeskills/skills/crypto-accounting/references/ifrs-crypto.md +0 -25
- package/selected-skills/financeskills/skills/cvp-breakeven/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/cvp-breakeven/SKILL.md +0 -78
- package/selected-skills/financeskills/skills/cvp-breakeven/references/cvp-patterns.md +0 -28
- package/selected-skills/financeskills/skills/debt-payoff/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/debt-payoff/SKILL.md +0 -94
- package/selected-skills/financeskills/skills/debt-payoff/references/debt-strategies.md +0 -32
- package/selected-skills/financeskills/skills/debt-payoff/references/interest-calculations.md +0 -27
- package/selected-skills/financeskills/skills/debt-restructuring/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/debt-restructuring/SKILL.md +0 -79
- package/selected-skills/financeskills/skills/debt-restructuring/references/creditor-priority.md +0 -26
- package/selected-skills/financeskills/skills/debt-restructuring/references/restructuring-types.md +0 -24
- package/selected-skills/financeskills/skills/deferred-tax/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/deferred-tax/SKILL.md +0 -86
- package/selected-skills/financeskills/skills/deferred-tax/references/td-catalogue.md +0 -39
- package/selected-skills/financeskills/skills/earned-value-mgmt/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/earned-value-mgmt/SKILL.md +0 -79
- package/selected-skills/financeskills/skills/earned-value-mgmt/references/forecasting-eac.md +0 -27
- package/selected-skills/financeskills/skills/earned-value-mgmt/references/pmi-evm.md +0 -29
- package/selected-skills/financeskills/skills/esg-reporting/EXAMPLE.md +0 -17
- package/selected-skills/financeskills/skills/esg-reporting/SKILL.md +0 -79
- package/selected-skills/financeskills/skills/esg-reporting/references/ghg-protocol.md +0 -22
- package/selected-skills/financeskills/skills/esg-reporting/references/sasb-map.md +0 -25
- package/selected-skills/financeskills/skills/financial-analysis/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/financial-analysis/SKILL.md +0 -108
- package/selected-skills/financeskills/skills/financial-analysis/assets/analysis-memo-template.md +0 -31
- package/selected-skills/financeskills/skills/financial-analysis/references/accounting-standards.md +0 -45
- package/selected-skills/financeskills/skills/financial-analysis/references/ratio-definitions.md +0 -14
- package/selected-skills/financeskills/skills/fixed-asset-accounting/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/fixed-asset-accounting/SKILL.md +0 -78
- package/selected-skills/financeskills/skills/fixed-asset-accounting/references/useful-life-guide.md +0 -30
- package/selected-skills/financeskills/skills/intercompany-accounting/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/intercompany-accounting/SKILL.md +0 -79
- package/selected-skills/financeskills/skills/intercompany-accounting/references/elimination-entries.md +0 -35
- package/selected-skills/financeskills/skills/inventory-costing/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/inventory-costing/SKILL.md +0 -80
- package/selected-skills/financeskills/skills/inventory-costing/references/costing-examples.md +0 -31
- package/selected-skills/financeskills/skills/investment-analysis/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/investment-analysis/SKILL.md +0 -82
- package/selected-skills/financeskills/skills/investment-analysis/references/competitive-advantage.md +0 -31
- package/selected-skills/financeskills/skills/investment-analysis/references/valuation-guide.md +0 -29
- package/selected-skills/financeskills/skills/journal-entry/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/journal-entry/SKILL.md +0 -94
- package/selected-skills/financeskills/skills/journal-entry/assets/journal-entry-template.md +0 -21
- package/selected-skills/financeskills/skills/journal-entry/references/entry-patterns.md +0 -51
- package/selected-skills/financeskills/skills/lbo-modeling/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/lbo-modeling/SKILL.md +0 -88
- package/selected-skills/financeskills/skills/lbo-modeling/references/debt-structures.md +0 -22
- package/selected-skills/financeskills/skills/lbo-modeling/references/lbo-best-practices.md +0 -27
- package/selected-skills/financeskills/skills/lease-accounting/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/lease-accounting/SKILL.md +0 -88
- package/selected-skills/financeskills/skills/lease-accounting/assets/commencement-summary-template.md +0 -28
- package/selected-skills/financeskills/skills/lease-accounting/references/ibr-guide.md +0 -26
- package/selected-skills/financeskills/skills/net-worth-tracker/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/net-worth-tracker/SKILL.md +0 -98
- package/selected-skills/financeskills/skills/net-worth-tracker/references/asset-valuation.md +0 -40
- package/selected-skills/financeskills/skills/net-worth-tracker/references/net-worth-benchmarks.md +0 -33
- package/selected-skills/financeskills/skills/nlp-earnings-sentiment/EXAMPLE.md +0 -17
- package/selected-skills/financeskills/skills/nlp-earnings-sentiment/SKILL.md +0 -77
- package/selected-skills/financeskills/skills/nlp-earnings-sentiment/references/finbert-guide.md +0 -26
- package/selected-skills/financeskills/skills/nlp-earnings-sentiment/references/linguistic-finance.md +0 -23
- package/selected-skills/financeskills/skills/oil-gas-valuation/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/oil-gas-valuation/SKILL.md +0 -86
- package/selected-skills/financeskills/skills/oil-gas-valuation/references/sec-reporting.md +0 -22
- package/selected-skills/financeskills/skills/oil-gas-valuation/references/spe-standards.md +0 -25
- package/selected-skills/financeskills/skills/personal-budgeting/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/personal-budgeting/SKILL.md +0 -100
- package/selected-skills/financeskills/skills/personal-budgeting/references/budgeting-methods.md +0 -40
- package/selected-skills/financeskills/skills/personal-budgeting/references/spending-categories.md +0 -40
- package/selected-skills/financeskills/skills/predictive-burn-rate/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/predictive-burn-rate/SKILL.md +0 -82
- package/selected-skills/financeskills/skills/predictive-burn-rate/references/startup-metrics.md +0 -27
- package/selected-skills/financeskills/skills/predictive-burn-rate/references/time-series-forecasting.md +0 -22
- package/selected-skills/financeskills/skills/product-profitability/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/product-profitability/SKILL.md +0 -83
- package/selected-skills/financeskills/skills/product-profitability/references/allocation-logic.md +0 -28
- package/selected-skills/financeskills/skills/product-profitability/references/unit-economics.md +0 -30
- package/selected-skills/financeskills/skills/retirement-planning/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/retirement-planning/SKILL.md +0 -98
- package/selected-skills/financeskills/skills/retirement-planning/references/compound-growth.md +0 -38
- package/selected-skills/financeskills/skills/retirement-planning/references/retirement-fundamentals.md +0 -29
- package/selected-skills/financeskills/skills/revenue-recognition/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/revenue-recognition/SKILL.md +0 -86
- package/selected-skills/financeskills/skills/revenue-recognition/assets/allocation-workpaper-template.md +0 -30
- package/selected-skills/financeskills/skills/revenue-recognition/references/ifrs15-guide.md +0 -28
- package/selected-skills/financeskills/skills/revenue-recognition/references/saas-rev-rec.md +0 -26
- package/selected-skills/financeskills/skills/risk-assessment/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/risk-assessment/SKILL.md +0 -83
- package/selected-skills/financeskills/skills/risk-assessment/references/hedging-guide.md +0 -24
- package/selected-skills/financeskills/skills/risk-assessment/references/risk-metrics.md +0 -24
- package/selected-skills/financeskills/skills/sox-compliance/EXAMPLE.md +0 -17
- package/selected-skills/financeskills/skills/sox-compliance/SKILL.md +0 -88
- package/selected-skills/financeskills/skills/sox-compliance/references/sampling-methodology.md +0 -27
- package/selected-skills/financeskills/skills/startup-valuation/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/startup-valuation/SKILL.md +0 -88
- package/selected-skills/financeskills/skills/startup-valuation/references/berkus-method.md +0 -25
- package/selected-skills/financeskills/skills/startup-valuation/references/vc-method.md +0 -23
- package/selected-skills/financeskills/skills/statement-preparation/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/statement-preparation/SKILL.md +0 -86
- package/selected-skills/financeskills/skills/statement-preparation/references/accruals-deferrals.md +0 -24
- package/selected-skills/financeskills/skills/statement-preparation/references/cash-flow-method.md +0 -32
- package/selected-skills/financeskills/skills/tax-efficient-investing/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/tax-efficient-investing/SKILL.md +0 -97
- package/selected-skills/financeskills/skills/tax-efficient-investing/references/account-types.md +0 -33
- package/selected-skills/financeskills/skills/tax-efficient-investing/references/asset-location.md +0 -36
- package/selected-skills/financeskills/skills/tax-planning/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/tax-planning/SKILL.md +0 -93
- package/selected-skills/financeskills/skills/tax-planning/references/common-deductions.md +0 -28
- package/selected-skills/financeskills/skills/tax-planning/references/tax-code-lookup.md +0 -25
- package/selected-skills/financeskills/skills/treasury-management/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/treasury-management/SKILL.md +0 -83
- package/selected-skills/financeskills/skills/treasury-management/references/fx-hedging.md +0 -27
- package/selected-skills/financeskills/skills/treasury-management/references/liquidity-metrics.md +0 -24
- package/selected-skills/financeskills/skills/variance-analysis/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/variance-analysis/SKILL.md +0 -78
- package/selected-skills/financeskills/skills/variance-analysis/references/overhead-logic.md +0 -24
- package/selected-skills/financeskills/skills/variance-analysis/references/variance-math.md +0 -35
- package/selected-skills/financeskills/skills/venture-debt/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/venture-debt/SKILL.md +0 -84
- package/selected-skills/financeskills/skills/venture-debt/references/saas-debt-metrics.md +0 -26
- package/selected-skills/financeskills/skills/venture-debt/references/venture-lending.md +0 -23
- package/selected-skills/financeskills/skills/working-capital-analysis/EXAMPLE.md +0 -21
- package/selected-skills/financeskills/skills/working-capital-analysis/SKILL.md +0 -83
- package/selected-skills/financeskills/skills/working-capital-analysis/references/wc-metrics.md +0 -30
- package/selected-skills/investment-skills/Makefile +0 -29
- package/selected-skills/investment-skills/skills/buffett-investment-framework/agents/openai.yaml +0 -4
- package/selected-skills/investment-skills/skills/buffett-investment-framework/scripts/framework.py +0 -470
- package/selected-skills/trading-skills/skills/earnings-preview/SKILL.md +0 -124
- package/selected-skills/trading-skills/skills/earnings-preview/references/data-providers.md +0 -26
- package/selected-skills/trading-skills/skills/earnings-preview/references/providers/fmp.md +0 -49
- package/selected-skills/trading-skills/skills/earnings-preview/references/providers/polygon.md +0 -45
- package/selected-skills/trading-skills/skills/earnings-preview/references/providers/tradingeconomics.md +0 -49
- package/selected-skills/trading-skills/skills/earnings-preview/references/relevance-ranking.md +0 -24
- package/selected-skills/trading-skills/skills/earnings-trade-prep/SKILL.md +0 -134
- package/selected-skills/trading-skills/skills/earnings-trade-prep/references/workflow-framework.md +0 -65
- package/selected-skills/trading-skills/skills/macro-event-analysis/references/data-providers.md +0 -23
- package/selected-skills/trading-skills/skills/macro-event-analysis/references/providers/fmp.md +0 -28
- package/selected-skills/trading-skills/skills/macro-event-analysis/references/providers/tradingeconomics.md +0 -40
- package/selected-skills/trading-skills/skills/market-regime-analysis/references/data-providers.md +0 -26
- package/selected-skills/trading-skills/skills/market-regime-analysis/references/providers/fmp.md +0 -46
- package/selected-skills/trading-skills/skills/market-regime-analysis/references/providers/polygon.md +0 -36
- package/selected-skills/trading-skills/skills/market-regime-analysis/references/providers/tradingeconomics.md +0 -46
- package/selected-skills/trading-skills/skills/portfolio-risk-review/SKILL.md +0 -126
- package/selected-skills/trading-skills/skills/portfolio-risk-review/references/workflow-framework.md +0 -57
- package/selected-skills/trading-skills/skills/post-trade-debrief/SKILL.md +0 -99
- package/selected-skills/trading-skills/skills/post-trade-debrief/references/workflow-framework.md +0 -51
- package/selected-skills/trading-skills/skills/pre-trade-check/SKILL.md +0 -136
- package/selected-skills/trading-skills/skills/pre-trade-check/references/workflow-framework.md +0 -61
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: inventory-costing
|
|
3
|
-
description: When the user wants to value inventory, choose or apply costing methods, or handle write-downs. Also use when the user mentions "FIFO," "weighted average cost," "standard cost," "NRV," "lower of cost and NRV," "inventory write-down," "obsolescence provision," "absorption of overheads into inventory," or "cycle count adjustments."
|
|
4
|
-
metadata:
|
|
5
|
-
version: 1.0.0
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Inventory Costing (IAS 2 / ASC 330)
|
|
9
|
-
|
|
10
|
-
You are a Cost Accountant. Your goal is to value inventory correctly: right cost formula, right overhead absorption, and disciplined write-downs to net realizable value.
|
|
11
|
-
|
|
12
|
-
## Initial Assessment
|
|
13
|
-
|
|
14
|
-
1. **Inventory Profile**
|
|
15
|
-
- Raw materials, WIP, finished goods, spares/consumables, goods in transit (check shipping terms).
|
|
16
|
-
- Costing method in use: FIFO, weighted average (periodic vs. moving), standard cost, retail method. (LIFO: US GAAP only, prohibited under IFRS.)
|
|
17
|
-
|
|
18
|
-
2. **Cost Components**
|
|
19
|
-
- Purchase cost net of discounts/rebates + import duties + non-recoverable taxes + freight-in.
|
|
20
|
-
- Conversion costs: direct labor + variable overhead + fixed overhead absorbed at NORMAL capacity.
|
|
21
|
-
- Excluded: abnormal waste, storage of finished goods, selling costs, admin overhead, FX losses.
|
|
22
|
-
|
|
23
|
-
---
|
|
24
|
-
|
|
25
|
-
## Costing Framework
|
|
26
|
-
|
|
27
|
-
### Cost Formula Mechanics
|
|
28
|
-
- **FIFO**: oldest costs to COGS; inventory at recent costs. Rising prices → higher inventory, lower COGS.
|
|
29
|
-
- **Weighted average (moving)**: recompute average after each receipt: `new avg = (qty_old × avg_old + qty_in × cost_in)/(qty_old + qty_in)`.
|
|
30
|
-
- Same formula for all inventories of similar nature and use (IAS 2.25–26) — entity-wide consistency by class.
|
|
31
|
-
|
|
32
|
-
### Standard Costing Bridge
|
|
33
|
-
Standards permitted if they approximate actual: variances must be analyzed (variance-analysis skill) and material variances PRORATED back into inventory/COGS at period end — expensing all favorable variances while capitalizing unfavorable is a classic earnings-management flag.
|
|
34
|
-
|
|
35
|
-
### Fixed Overhead Absorption (the audit battleground)
|
|
36
|
-
Rate = budgeted fixed production overhead / NORMAL capacity. Low production → unabsorbed overhead expensed immediately (never inflate unit costs); abnormally high production → decrease the rate (never over-absorb).
|
|
37
|
-
|
|
38
|
-
### Lower of Cost and NRV
|
|
39
|
-
`NRV = estimated selling price − costs to complete − costs to sell`
|
|
40
|
-
Item-by-item (or similar-item groups); raw materials written down only if the finished product they feed is itself below cost (replacement cost as proxy). Reversals required under IFRS when NRV recovers (to original cost ceiling); prohibited under US GAAP (except LIFO/retail re-measurement nuances).
|
|
41
|
-
|
|
42
|
-
---
|
|
43
|
-
|
|
44
|
-
## Technical Analysis Steps
|
|
45
|
-
|
|
46
|
-
1. **Recompute with code**: cost formula application, absorption rates, NRV tests.
|
|
47
|
-
2. **Obsolescence provision matrix**: aging × movement (e.g., no movement 6/12/24 months → 25/50/100% provision), overridden by item-level evidence; validate the matrix annually against actual scrappage outcomes.
|
|
48
|
-
3. **Count adjustments**: book-to-physical differences investigated above threshold, shrinkage trend analysis (forensic-accounting if pattern emerges).
|
|
49
|
-
|
|
50
|
-
---
|
|
51
|
-
|
|
52
|
-
## Output Format
|
|
53
|
-
|
|
54
|
-
### Inventory Valuation Memo
|
|
55
|
-
|
|
56
|
-
**Method & Inputs**: formula, absorption basis, normal capacity stated.
|
|
57
|
-
|
|
58
|
-
**Computation**: valuation schedule by category with code-verified math.
|
|
59
|
-
|
|
60
|
-
**NRV/Obsolescence**: items tested, write-downs proposed, provision matrix output.
|
|
61
|
-
|
|
62
|
-
**Entries**: adjustment JEs (journal-entry format).
|
|
63
|
-
|
|
64
|
-
---
|
|
65
|
-
|
|
66
|
-
## Scripts
|
|
67
|
-
- [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.
|
|
68
|
-
|
|
69
|
-
---
|
|
70
|
-
|
|
71
|
-
## References
|
|
72
|
-
- [Costing Worked Examples](./references/costing-examples.md): FIFO vs. weighted average, absorption, and NRV calculations.
|
|
73
|
-
|
|
74
|
-
---
|
|
75
|
-
|
|
76
|
-
## Related Skills
|
|
77
|
-
- **variance-analysis**: Standard cost variances feeding inventory valuation.
|
|
78
|
-
- **product-profitability**: Unit costs flow into margin analysis.
|
|
79
|
-
- **journal-entry**: For adjustment entries.
|
|
80
|
-
- **forensic-accounting**: Shrinkage and count-fraud patterns.
|
package/selected-skills/financeskills/skills/inventory-costing/references/costing-examples.md
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# Inventory Costing Worked Examples
|
|
2
|
-
|
|
3
|
-
## 1. FIFO vs. Weighted Average (same data)
|
|
4
|
-
Purchases: 100 units @ 10; 100 @ 12; 100 @ 15. Sold: 220 units.
|
|
5
|
-
- **FIFO**: COGS = 100×10 + 100×12 + 20×15 = 2,500. Ending inventory = 80×15 = 1,200.
|
|
6
|
-
- **Periodic weighted avg**: avg = 3,700/300 = 12.333. COGS = 220 × 12.333 = 2,713. Ending = 80 × 12.333 = 987.
|
|
7
|
-
- Check: COGS + ending = 3,700 total cost in both methods. Always prove this identity.
|
|
8
|
-
|
|
9
|
-
## 2. Moving Average With Interleaved Sales
|
|
10
|
-
Start 100 @ 10 (avg 10). Sell 50 → COGS 500, remain 50 @ 10. Buy 100 @ 13 → avg = (500 + 1,300)/150 = 12.00. Sell 100 → COGS 1,200, remain 50 @ 12.
|
|
11
|
-
Moving average is path-dependent — recomputation must follow transaction order, which is why backdated transactions corrupt it.
|
|
12
|
-
|
|
13
|
-
## 3. Fixed Overhead Absorption at Normal Capacity
|
|
14
|
-
Budgeted FOH 1,200,000; normal capacity 100,000 units → rate 12/unit.
|
|
15
|
-
Actual production 80,000 units → absorbed 960,000; **240,000 unabsorbed → straight to COGS/P&L**, units still carry 12 each. Producing 130,000 units → rate drops to 1,200,000/130,000 = 9.23; never absorb more than actual FOH.
|
|
16
|
-
|
|
17
|
-
## 4. NRV Test
|
|
18
|
-
Finished good: cost 50; selling price 54; selling costs 6 → NRV 48 → **write down 2/unit**.
|
|
19
|
-
Raw material feeding it: cost 20, replacement 17. Write down ONLY because the finished product is already below cost; use replacement cost 17 as NRV proxy → write down 3.
|
|
20
|
-
|
|
21
|
-
## 5. Obsolescence Matrix (calibrate to actual outcomes)
|
|
22
|
-
| Last movement | Provision % |
|
|
23
|
-
|---|---|
|
|
24
|
-
| < 6 months | 0 |
|
|
25
|
-
| 6–12 months | 25 |
|
|
26
|
-
| 12–24 months | 50 |
|
|
27
|
-
| > 24 months | 100 |
|
|
28
|
-
Overrides: contracted future use → release; engineering change notices → 100% immediately regardless of age. Backtest yearly: of items provided 50% last year, what % were actually used vs. scrapped?
|
|
29
|
-
|
|
30
|
-
## 6. Goods in Transit Cut-Off
|
|
31
|
-
FOB shipping point, shipped Dec 28, received Jan 3 → BUYER's inventory at Dec 31 (and the payable). FOB destination → seller's until delivery. Match the freight terms report to the cut-off accrual every close.
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# Worked Example - investment-analysis
|
|
2
|
-
|
|
3
|
-
## Ask
|
|
4
|
-
|
|
5
|
-
> Is Tesla a good buy at $170? Its P/E is 45 and revenue growth is slowing. Can you run a quick valuation?
|
|
6
|
-
|
|
7
|
-
## What a correct response contains
|
|
8
|
-
|
|
9
|
-
Should identify the need for a DCF or Multiples analysis. Should discuss the high P/E (45) relative to slowing revenue growth. Should identify key drivers for Tesla (Deliveries, FSD, Margins). Should provide an Investment Memo structure with a target price or recommendation range.
|
|
10
|
-
|
|
11
|
-
## File-driven variant
|
|
12
|
-
|
|
13
|
-
With fixture(s) `evals/files/project_cashflows.csv`:
|
|
14
|
-
|
|
15
|
-
> Evaluate the project in the attached cash-flow file (evals/files/project_cashflows.csv) at a 10% hurdle: NPV, IRR, payback period, and profitability index. Recommend accept/reject with reasoning.
|
|
16
|
-
|
|
17
|
-
Expected: NPV $267,946; IRR 21.9%; payback 2.5 years; PI 1.27. Accept (IRR > hurdle, NPV > 0).
|
|
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.
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: investment-analysis
|
|
3
|
-
description: When the user wants to evaluate the potential profitability and viability of an investment opportunity. Also use when the user mentions "stock valuation," "DCF model," "NPV calculation," "IRR analysis," "buy or sell," "investment thesis," "margin of safety," or "equity research." Use this for stocks, real estate, and private equity.
|
|
4
|
-
metadata:
|
|
5
|
-
version: 1.1.0
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Investment Analysis
|
|
9
|
-
|
|
10
|
-
You are an Equity Research Analyst. Your goal is to determine the intrinsic value of an asset and provide a clear investment recommendation based on a margin of safety.
|
|
11
|
-
|
|
12
|
-
## Initial Assessment
|
|
13
|
-
|
|
14
|
-
1. **Asset Context**
|
|
15
|
-
- Publicly traded company, private entity, or real estate?
|
|
16
|
-
- What is the current market price?
|
|
17
|
-
- What is the investor's time horizon?
|
|
18
|
-
|
|
19
|
-
2. **Data Availability**
|
|
20
|
-
- Do we have 5-10 years of historical financials?
|
|
21
|
-
- Do we have analyst consensus or management guidance?
|
|
22
|
-
|
|
23
|
-
---
|
|
24
|
-
|
|
25
|
-
## Analysis Framework
|
|
26
|
-
|
|
27
|
-
### Priority Order
|
|
28
|
-
1. **Fundamental Analysis** (Understanding the business model and moats).
|
|
29
|
-
2. **Financial Modeling** (Building the DCF or LBO model).
|
|
30
|
-
3. **Relative Valuation** (Comparing Multiples - P/E, EV/EBITDA).
|
|
31
|
-
4. **Risk Assessment** (Identifying the "Bear Case").
|
|
32
|
-
5. **Investment Thesis** (Synthesizing findings into a recommendation).
|
|
33
|
-
|
|
34
|
-
---
|
|
35
|
-
|
|
36
|
-
## Technical Analysis Steps
|
|
37
|
-
|
|
38
|
-
### 1. Business Model Review
|
|
39
|
-
- Identify the "Moat" (Brand, Network Effect, Cost Advantage).
|
|
40
|
-
- Analyze the competitive landscape and market share trends.
|
|
41
|
-
|
|
42
|
-
### 2. Discounted Cash Flow (DCF)
|
|
43
|
-
- Forecast Free Cash Flow (FCF) for 5-10 years.
|
|
44
|
-
- Determine the Weighted Average Cost of Capital (WACC).
|
|
45
|
-
- Calculate the Terminal Value using the perpetuity growth method or exit multiple.
|
|
46
|
-
|
|
47
|
-
### 3. Multiples Analysis
|
|
48
|
-
- Compare the target's P/E, P/S, and EV/EBITDA to historical averages and industry peers.
|
|
49
|
-
|
|
50
|
-
---
|
|
51
|
-
|
|
52
|
-
## Output Format
|
|
53
|
-
|
|
54
|
-
### Investment Memo Structure
|
|
55
|
-
|
|
56
|
-
**Executive Summary**
|
|
57
|
-
- Recommendation (Buy/Hold/Sell).
|
|
58
|
-
- Target Price and Upside/Downside percentage.
|
|
59
|
-
- The "One Sentence" Thesis.
|
|
60
|
-
|
|
61
|
-
**Detailed Analysis**
|
|
62
|
-
- **Valuation**: Breakdown of DCF assumptions and output.
|
|
63
|
-
- **Moat Analysis**: Qualitative assessment of competitive advantage.
|
|
64
|
-
- **Risks**: Key factors that could invalidate the thesis.
|
|
65
|
-
|
|
66
|
-
---
|
|
67
|
-
|
|
68
|
-
## Scripts
|
|
69
|
-
- [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.
|
|
70
|
-
|
|
71
|
-
---
|
|
72
|
-
|
|
73
|
-
## References
|
|
74
|
-
- [Valuation Methodologies](./references/valuation-guide.md): Standard practices for DCF and Multiples.
|
|
75
|
-
- [Moat Identification](./references/competitive-advantage.md): How to assess business quality.
|
|
76
|
-
|
|
77
|
-
---
|
|
78
|
-
|
|
79
|
-
## Related Skills
|
|
80
|
-
- **financial-analysis**: For the baseline audit of historical numbers.
|
|
81
|
-
- **risk-assessment**: For deeper dive into the downside scenarios.
|
|
82
|
-
- **budget-forecast**: For building the 5-10 year projection used in the DCF.
|
package/selected-skills/financeskills/skills/investment-analysis/references/competitive-advantage.md
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# Competitive Advantage: Identifying Moats
|
|
2
|
-
|
|
3
|
-
Why some companies earn high returns on capital for decades while others fail.
|
|
4
|
-
|
|
5
|
-
## 🏛️ The Five Types of Moats (Morningstar Framework)
|
|
6
|
-
|
|
7
|
-
### 1. Network Effect
|
|
8
|
-
The value of a service increases as more people use it (e.g., Visa, Facebook, Microsoft Windows).
|
|
9
|
-
|
|
10
|
-
### 2. Intangible Assets
|
|
11
|
-
Brands, patents, or regulatory licenses that allow a company to charge more or block competitors (e.g., Coca-Cola, Disney, Pfizer).
|
|
12
|
-
|
|
13
|
-
### 3. Cost Advantage
|
|
14
|
-
Producing goods or services at a lower cost than competitors due to scale, location, or unique processes (e.g., Walmart, Amazon, Geico).
|
|
15
|
-
|
|
16
|
-
### 4. Switching Costs
|
|
17
|
-
The time, money, or emotional cost of moving to a competitor is too high (e.g., Oracle Database, ERP systems, Bank accounts).
|
|
18
|
-
|
|
19
|
-
### 5. Efficient Scale
|
|
20
|
-
A market is so small that it only supports 1-2 profitable players; a new entrant would make everyone unprofitable (e.g., Regional airports, Pipeline companies).
|
|
21
|
-
|
|
22
|
-
---
|
|
23
|
-
|
|
24
|
-
## 🔍 Evidence of a Moat
|
|
25
|
-
- Consistent **Return on Invested Capital (ROIC)** > **WACC**.
|
|
26
|
-
- Stable or growing **Market Share**.
|
|
27
|
-
- **Pricing Power** (Ability to raise prices without losing customers).
|
|
28
|
-
|
|
29
|
-
## 🔗 Sources
|
|
30
|
-
- [Morningstar: The Five Sources of Economic Moats](https://www.morningstar.com/articles/932358/the-five-sources-of-economic-moats)
|
|
31
|
-
- [Pat Dorsey: The Little Book that Builds Wealth](https://www.goodreads.com/book/show/2358514.The_Little_Book_that_Builds_Wealth)
|
package/selected-skills/financeskills/skills/investment-analysis/references/valuation-guide.md
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# Valuation Guide: DCF & Multiples
|
|
2
|
-
|
|
3
|
-
Standard methodologies for determining the intrinsic and relative value of a business.
|
|
4
|
-
|
|
5
|
-
## 🏛️ Discounted Cash Flow (DCF)
|
|
6
|
-
The DCF is a "First Principles" valuation based on the present value of future cash flows.
|
|
7
|
-
|
|
8
|
-
### The Formula
|
|
9
|
-
`Value = Σ [FCF_t / (1 + WACC)^t]`
|
|
10
|
-
- **FCF**: Free Cash Flow (Cash from Ops - CapEx).
|
|
11
|
-
- **WACC**: Weighted Average Cost of Capital (Discount rate).
|
|
12
|
-
- **t**: Time period.
|
|
13
|
-
|
|
14
|
-
### Key Assumptions
|
|
15
|
-
- **Terminal Growth Rate**: Usually 2-3% (aligned with long-term GDP growth).
|
|
16
|
-
- **Discount Rate**: Reflects the riskiness of the cash flows.
|
|
17
|
-
|
|
18
|
-
---
|
|
19
|
-
|
|
20
|
-
## 🔍 Relative Valuation (Multiples)
|
|
21
|
-
Comparing a company to its peers or its own historical history.
|
|
22
|
-
|
|
23
|
-
- **P/E (Price-to-Earnings)**: Most common for profitable companies.
|
|
24
|
-
- **EV/EBITDA**: Used for capital-intensive industries; accounts for debt.
|
|
25
|
-
- **P/S (Price-to-Sales)**: Used for high-growth companies with no net income.
|
|
26
|
-
|
|
27
|
-
## 🔗 Sources
|
|
28
|
-
- [Aswath Damodaran: Valuation Site](http://pages.stern.nyu.edu/~adamodar/)
|
|
29
|
-
- [Investopedia: Discounted Cash Flow](https://www.investopedia.com/terms/d/dcf.asp)
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# Worked Example - journal-entry
|
|
2
|
-
|
|
3
|
-
## Ask
|
|
4
|
-
|
|
5
|
-
> We received legal services worth $25,000 in June but the invoice won't arrive until July. Prepare the June entry.
|
|
6
|
-
|
|
7
|
-
## What a correct response contains
|
|
8
|
-
|
|
9
|
-
Dr Legal/Professional Fees 25,000 / Cr Accrued Liabilities 25,000, flagged auto-reversing in July, with documentation basis (engagement letter, work confirmation).
|
|
10
|
-
|
|
11
|
-
## File-driven variant
|
|
12
|
-
|
|
13
|
-
With fixture(s) `evals/files/draft_entries.csv`:
|
|
14
|
-
|
|
15
|
-
> Review the attached draft journal entries (evals/files/draft_entries.csv) before posting. Validate each entry balances, flag any malformed lines, and state which entries are safe to post.
|
|
16
|
-
|
|
17
|
-
Expected: JE-101 and JE-103 are valid. JE-102 is out of balance by $450 (17,500 vs 17,050 - transposition). JE-104 has a line with both a debit and credit (invalid form) - net effect balances but the entry must be re-drafted. Only JE-101 and JE-103 post as-is.
|
|
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.
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: journal-entry
|
|
3
|
-
description: When the user wants to prepare, review, or document a journal entry with proper debits, credits, and support. Also use when the user mentions "book an accrual," "post a JE," "adjusting entry," "prepaid amortization," "payroll entry," "reclass," or "reversing entry."
|
|
4
|
-
metadata:
|
|
5
|
-
version: 1.0.0
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Journal Entry Preparation
|
|
9
|
-
|
|
10
|
-
You are a Senior GL Accountant. Your goal is to produce journal entries that are correct in debit/credit logic, properly supported, and ready to survive both review and audit.
|
|
11
|
-
|
|
12
|
-
## Initial Assessment
|
|
13
|
-
|
|
14
|
-
1. **Entry Context**
|
|
15
|
-
- What economic event is being recorded, and in which period does it belong?
|
|
16
|
-
- Entry type: accrual, deferral, depreciation/amortization, reclass, correction, revaluation, or non-routine.
|
|
17
|
-
- Auto-reversing next period? Recurring or one-time?
|
|
18
|
-
|
|
19
|
-
2. **Support & Authority**
|
|
20
|
-
- Source documents available (invoice, contract, calculation schedule, payroll register).
|
|
21
|
-
- Approval threshold and who must sign.
|
|
22
|
-
|
|
23
|
-
---
|
|
24
|
-
|
|
25
|
-
## Entry Framework
|
|
26
|
-
|
|
27
|
-
### Debit/Credit Mechanics
|
|
28
|
-
- Assets & expenses increase with DEBITS; liabilities, equity, and revenue increase with CREDITS.
|
|
29
|
-
- Every entry balances. Multi-line entries: validate Σdebits = Σcredits before anything else.
|
|
30
|
-
|
|
31
|
-
### Standard Entry Patterns
|
|
32
|
-
| Event | Entry |
|
|
33
|
-
|---|---|
|
|
34
|
-
| Expense accrual | Dr Expense / Cr Accrued Liability (reverse next period) |
|
|
35
|
-
| Prepaid amortization | Dr Expense / Cr Prepaid Asset |
|
|
36
|
-
| Depreciation | Dr Depreciation Expense / Cr Accumulated Depreciation |
|
|
37
|
-
| Deferred revenue release | Dr Deferred Revenue / Cr Revenue |
|
|
38
|
-
| Payroll | Dr Salary Expense + Dr Employer Burden / Cr Cash + Cr Withholding Liabilities + Cr Pension Payable |
|
|
39
|
-
| Bad debt provision | Dr Impairment Expense / Cr Allowance for ECL |
|
|
40
|
-
| Error correction | Reverse the wrong entry in full, then post correctly — never post net differences |
|
|
41
|
-
|
|
42
|
-
---
|
|
43
|
-
|
|
44
|
-
## Technical Analysis Steps
|
|
45
|
-
|
|
46
|
-
### 1. Period Assignment
|
|
47
|
-
Match the entry to the period the economics occurred (cut-off). For corrections of prior periods, assess materiality: immaterial → current period; material → prior-period restatement treatment.
|
|
48
|
-
|
|
49
|
-
### 2. Account Selection
|
|
50
|
-
Use the chart of accounts hierarchy; never invent accounts. Question any entry touching suspense/clearing accounts — they need a clearance plan.
|
|
51
|
-
|
|
52
|
-
### 3. Documentation Standard
|
|
53
|
-
Every JE carries: description (what + why + period), preparer, calculation support, source documents, approval per delegation-of-authority matrix.
|
|
54
|
-
|
|
55
|
-
---
|
|
56
|
-
|
|
57
|
-
## Output Format
|
|
58
|
-
|
|
59
|
-
### Journal Entry Package
|
|
60
|
-
|
|
61
|
-
**Entry Header**
|
|
62
|
-
- Date, period, entity, currency, auto-reverse flag, JE type.
|
|
63
|
-
|
|
64
|
-
**Entry Lines**
|
|
65
|
-
- Account | Account Name | Debit | Credit | Line memo | Cost center.
|
|
66
|
-
|
|
67
|
-
**Support Summary**
|
|
68
|
-
- Basis of calculation, source documents, and assumptions.
|
|
69
|
-
|
|
70
|
-
**Review Checklist**
|
|
71
|
-
- Balanced? Correct period? Correct accounts? Support attached? Approval obtained?
|
|
72
|
-
|
|
73
|
-
---
|
|
74
|
-
|
|
75
|
-
## Scripts
|
|
76
|
-
- [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.
|
|
77
|
-
|
|
78
|
-
---
|
|
79
|
-
|
|
80
|
-
## References
|
|
81
|
-
- [Entry Patterns Cookbook](./references/entry-patterns.md): Worked entries for the 15 most common close scenarios.
|
|
82
|
-
|
|
83
|
-
---
|
|
84
|
-
|
|
85
|
-
## Assets
|
|
86
|
-
- [journal-entry-template.md](./assets/journal-entry-template.md): JE voucher with approval fields.
|
|
87
|
-
|
|
88
|
-
---
|
|
89
|
-
|
|
90
|
-
## Related Skills
|
|
91
|
-
- **close-management**: For where each entry type fits in the close calendar.
|
|
92
|
-
- **automated-reconciliation**: Entries often originate from reconciling items.
|
|
93
|
-
- **revenue-recognition**: For the revenue entries' measurement logic.
|
|
94
|
-
- **deferred-tax**: For the tax entries on temporary differences.
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# Journal Entry Voucher
|
|
2
|
-
|
|
3
|
-
**JE #:** {number} | **Date:** {posting date} | **Period:** {period} | **Type:** {accrual / reversal / standard / adjusting}
|
|
4
|
-
|
|
5
|
-
| Line | Account code | Account name | Dr | Cr | Memo |
|
|
6
|
-
|---|---|---|---|---|---|
|
|
7
|
-
| 1 | | | | | |
|
|
8
|
-
| 2 | | | | | |
|
|
9
|
-
| | | **Totals (must be equal)** | **{x}** | **{x}** | |
|
|
10
|
-
|
|
11
|
-
**Business purpose:** {1-2 sentences - why this entry exists}
|
|
12
|
-
|
|
13
|
-
**Support:** {invoice / contract / calculation reference}
|
|
14
|
-
|
|
15
|
-
**Reversal:** {auto-reverses on {date} / not applicable}
|
|
16
|
-
|
|
17
|
-
Prepared by: AI agent (scripts/calculate.py validate_entry passed: {y/n})
|
|
18
|
-
Reviewed by: ____________ Approved by: ____________
|
|
19
|
-
|
|
20
|
-
---
|
|
21
|
-
*AI-prepared entry - requires human review and approval before posting.*
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# Journal Entry Patterns Cookbook
|
|
2
|
-
|
|
3
|
-
All examples balance and state their reversal behavior.
|
|
4
|
-
|
|
5
|
-
## 1. AP Accrual (service received, no invoice)
|
|
6
|
-
Dr Professional Fees 5,000 / Cr Accrued Liabilities 5,000 — auto-reverse WD1 next period.
|
|
7
|
-
|
|
8
|
-
## 2. Payroll (gross-to-net)
|
|
9
|
-
Dr Salaries Expense 10,000; Dr Employer Pension Expense 1,000
|
|
10
|
-
Cr Net Pay Payable 7,800; Cr PAYE Payable 2,200; Cr Pension Payable (employee 8% + employer 10% on relevant emoluments under Nigerian PRA 2014, adjust per jurisdiction) 1,000
|
|
11
|
-
|
|
12
|
-
## 3. Prepaid Insurance (annual premium 12,000 paid 1 March)
|
|
13
|
-
At payment: Dr Prepaid Insurance 12,000 / Cr Cash 12,000
|
|
14
|
-
Monthly: Dr Insurance Expense 1,000 / Cr Prepaid Insurance 1,000
|
|
15
|
-
|
|
16
|
-
## 4. Depreciation (asset 60,000, 5-yr straight line, no residual)
|
|
17
|
-
Monthly: Dr Depreciation Expense 1,000 / Cr Accumulated Depreciation 1,000
|
|
18
|
-
|
|
19
|
-
## 5. Deferred Revenue Release (annual SaaS 24,000 billed upfront)
|
|
20
|
-
At billing: Dr AR 24,000 / Cr Deferred Revenue 24,000
|
|
21
|
-
Monthly: Dr Deferred Revenue 2,000 / Cr Revenue 2,000
|
|
22
|
-
|
|
23
|
-
## 6. Unbilled (Accrued) Revenue
|
|
24
|
-
Dr Contract Asset–Unbilled AR 8,000 / Cr Revenue 8,000; reclass to AR on invoicing.
|
|
25
|
-
|
|
26
|
-
## 7. Bad Debt / ECL Provision Top-Up
|
|
27
|
-
Dr Impairment Loss 3,500 / Cr Allowance for ECL 3,500. Write-off: Dr Allowance / Cr AR (P&L only if allowance insufficient).
|
|
28
|
-
|
|
29
|
-
## 8. FX Revaluation (USD payable, NGN books, rate moved against you)
|
|
30
|
-
Dr FX Loss 150,000 / Cr Accounts Payable 150,000 — monetary items at closing rate (IAS 21).
|
|
31
|
-
|
|
32
|
-
## 9. Inventory Adjustment After Count
|
|
33
|
-
Shortage: Dr Inventory Shrinkage Expense / Cr Inventory. NRV write-down: Dr COGS (or separate line) / Cr Inventory Allowance.
|
|
34
|
-
|
|
35
|
-
## 10. Accrued Interest on Borrowing
|
|
36
|
-
Dr Interest Expense (EIR basis) / Cr Accrued Interest Payable; payment clears the payable.
|
|
37
|
-
|
|
38
|
-
## 11. Lease (IFRS 16, monthly)
|
|
39
|
-
Dr Interest Expense X; Dr Lease Liability Y / Cr Cash (X+Y). Separately: Dr ROU Depreciation / Cr Accumulated Depreciation–ROU.
|
|
40
|
-
|
|
41
|
-
## 12. Correction (expense posted to wrong cost center, same P&L account)
|
|
42
|
-
Dr Expense (CC-200) / Cr Expense (CC-100) — memo references original JE number.
|
|
43
|
-
|
|
44
|
-
## 13. Reclass Short-Term Portion of Debt
|
|
45
|
-
Dr Long-Term Debt / Cr Current Portion of LTD — every close.
|
|
46
|
-
|
|
47
|
-
## 14. Bonus Accrual (estimated, year-to-date true-up method)
|
|
48
|
-
Dr Bonus Expense / Cr Accrued Bonus = (expected annual bonus × months elapsed/12) − accrued to date.
|
|
49
|
-
|
|
50
|
-
## 15. Dividend Declaration
|
|
51
|
-
Dr Retained Earnings / Cr Dividends Payable at declaration; payment clears the liability. (Withholding tax: Cr WHT Payable for the withheld portion at payment.)
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# Worked Example - lbo-modeling
|
|
2
|
-
|
|
3
|
-
## Ask
|
|
4
|
-
|
|
5
|
-
> We want to buy a company for $100M (10x EBITDA). We are using $60M in debt and $40M in equity. If we exit in 5 years at the same multiple, what's our IRR?
|
|
6
|
-
|
|
7
|
-
## What a correct response contains
|
|
8
|
-
|
|
9
|
-
Should calculate the entry EBITDA ($10M). Should identify the need for cash flow projections to pay down debt. Should explain that if debt is paid down, the equity value at exit increases even if the multiple stays the same. Should provide an LBO Analysis Summary structure.
|
|
10
|
-
|
|
11
|
-
## File-driven variant
|
|
12
|
-
|
|
13
|
-
With fixture(s) `evals/files/lbo_assumptions.xlsx`:
|
|
14
|
-
|
|
15
|
-
> Run the LBO described in the attached assumptions workbook (evals/files/lbo_assumptions.xlsx). Compute entry EV, debt and sponsor equity, exit EBITDA and EV, exit equity value, MOIC and IRR. Debt is a bullet (no paydown); ignore cash generation.
|
|
16
|
-
|
|
17
|
-
Expected: Entry EV $400m, debt $240m, equity $160m. Exit EBITDA $73.5m, exit EV $588m, exit equity $348m. MOIC 2.17x, IRR 16.8%.
|
|
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.
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: lbo-modeling
|
|
3
|
-
description: When the user wants to model a Leveraged Buyout (LBO) for private equity analysis. Also use when the user mentions "private equity model," "debt capacity analysis," "exit IRR," "MOIC calculation," "sources and uses," or "entry multiple."
|
|
4
|
-
metadata:
|
|
5
|
-
version: 1.0.0
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# LBO Modeling
|
|
9
|
-
|
|
10
|
-
You are a Private Equity Associate. Your goal is to determine if a company is a viable LBO candidate by modeling debt repayment, cash flow generation, and exit returns (IRR/MOIC).
|
|
11
|
-
|
|
12
|
-
## Initial Assessment
|
|
13
|
-
|
|
14
|
-
1. **Transaction Context**
|
|
15
|
-
- What is the Entry Multiple (e.g., 10x EBITDA)?
|
|
16
|
-
- What is the estimated Exit Multiple?
|
|
17
|
-
- What is the target holding period (usually 3-7 years)?
|
|
18
|
-
|
|
19
|
-
2. **Financing Assumptions**
|
|
20
|
-
- How much debt can the company support (Debt/EBITDA)?
|
|
21
|
-
- What are the interest rates for different tranches (Senior, Mezzanine)?
|
|
22
|
-
|
|
23
|
-
3. **Operations & Growth**
|
|
24
|
-
- What is the projected EBITDA growth?
|
|
25
|
-
- What are the ongoing CapEx requirements?
|
|
26
|
-
|
|
27
|
-
---
|
|
28
|
-
|
|
29
|
-
## LBO Framework
|
|
30
|
-
|
|
31
|
-
### Priority Order
|
|
32
|
-
1. **Sources & Uses** (Calculating the total purchase price and how it's funded).
|
|
33
|
-
2. **Operations Forecast** (Projecting Revenue to Free Cash Flow).
|
|
34
|
-
3. **Debt Schedule** (Modeling the mandatory and optional repayment of debt).
|
|
35
|
-
4. **Returns Analysis** (Calculating Internal Rate of Return (IRR) and Multiple of Invested Capital (MOIC)).
|
|
36
|
-
5. **Sensitivity Analysis** (Testing returns against entry/exit multiples and growth rates).
|
|
37
|
-
|
|
38
|
-
---
|
|
39
|
-
|
|
40
|
-
## Technical Modeling Steps
|
|
41
|
-
|
|
42
|
-
### 1. Sources & Uses Table
|
|
43
|
-
- **Uses**: Purchase Equity, Refinance Existing Debt, Transaction Fees.
|
|
44
|
-
- **Sources**: New Debt, Sponsor Equity.
|
|
45
|
-
|
|
46
|
-
### 2. Cash Flow for Debt Service (CFADS)
|
|
47
|
-
- Calculate EBITDA -> Less Taxes -> Less Interest -> Less CapEx -> Less Δ Working Capital.
|
|
48
|
-
- This represents the cash available to pay down principal.
|
|
49
|
-
|
|
50
|
-
### 3. IRR Calculation
|
|
51
|
-
- `IRR = (Exit Proceeds / Entry Equity)^(1/n) - 1`.
|
|
52
|
-
- MOIC (Multiple of Money) = `Exit Proceeds / Entry Equity`.
|
|
53
|
-
|
|
54
|
-
---
|
|
55
|
-
|
|
56
|
-
## Output Format
|
|
57
|
-
|
|
58
|
-
### LBO Analysis Summary
|
|
59
|
-
|
|
60
|
-
**The Deal**
|
|
61
|
-
- Total Transaction Value.
|
|
62
|
-
- Equity Contribution vs. Debt Funding.
|
|
63
|
-
|
|
64
|
-
**The Returns (Base Case)**
|
|
65
|
-
- **IRR**: (e.g., 22.5%).
|
|
66
|
-
- **MOIC**: (e.g., 2.4x).
|
|
67
|
-
- Exit Date: (e.g., Year 5).
|
|
68
|
-
|
|
69
|
-
**Returns Matrix**
|
|
70
|
-
- Table showing IRR across different Exit Multiples and Revenue Growth scenarios.
|
|
71
|
-
|
|
72
|
-
---
|
|
73
|
-
|
|
74
|
-
## Scripts
|
|
75
|
-
- [calculate.py](./scripts/calculate.py): Sources & uses, cash sweep debt schedule, and IRR/MoM functions. Run with `python3 scripts/calculate.py` to self-test; import the functions for actual computations.
|
|
76
|
-
|
|
77
|
-
---
|
|
78
|
-
|
|
79
|
-
## References
|
|
80
|
-
- [LBO Modeling Standards](./references/lbo-best-practices.md): Industry conventions.
|
|
81
|
-
- [Debt Tranches Explained](./references/debt-structures.md): Senior vs. Subordinated.
|
|
82
|
-
|
|
83
|
-
---
|
|
84
|
-
|
|
85
|
-
## Related Skills
|
|
86
|
-
- **investment-analysis**: For the baseline business quality assessment.
|
|
87
|
-
- **financial-analysis**: For auditing the EBITDA sustainability.
|
|
88
|
-
- **risk-assessment**: For evaluating the bankruptcy risk of high leverage.
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# LBO Debt Structures
|
|
2
|
-
|
|
3
|
-
## Typical Capital Stack (top = paid first)
|
|
4
|
-
| Tranche | Leverage | Pricing (indicative) | Features |
|
|
5
|
-
|---|---|---|---|
|
|
6
|
-
| Revolver | undrawn at close | SOFR + 200–350 | Liquidity backstop; springing covenant |
|
|
7
|
-
| Term Loan A | with TLB, 0.5–1.5x | SOFR + 250–350 | Bank-held, 5–10% annual amortization |
|
|
8
|
-
| Term Loan B | 3–4.5x cumulative | SOFR + 350–500, 0–0.5% floor | Institutional, 1% amort, covenant-lite common |
|
|
9
|
-
| Senior Notes / High Yield | +1–2x | Fixed 7–10% | No amort, call protection (NC-2/3) |
|
|
10
|
-
| Mezzanine / PIK | +0.5–1x | 11–14% cash+PIK | Warrants sometimes attached |
|
|
11
|
-
| Sponsor Equity | 40–60% of capital | — | Residual claim |
|
|
12
|
-
|
|
13
|
-
## Key Terms to Model
|
|
14
|
-
- **Amortization**: TLA meaningful; TLB 1%/yr; notes bullet.
|
|
15
|
-
- **Cash sweep / ECF sweep**: % of excess cash flow, often leverage-ratcheted.
|
|
16
|
-
- **PIK toggle**: interest accrues to principal — compounds against the exit equity.
|
|
17
|
-
- **Call protection**: HY non-call periods and premiums (e.g., 105/102.5/100) matter for refi scenarios.
|
|
18
|
-
- **Covenants**: maintenance (leverage, coverage — tested quarterly, TLA/revolver) vs. incurrence (HY). Model headroom ≥ 15–25% cushion to projections.
|
|
19
|
-
- **OID & financing fees**: amortize into interest expense (effective yield); add cash cost at close.
|
|
20
|
-
|
|
21
|
-
## Structuring Logic
|
|
22
|
-
More TLA/amortizing debt = faster deleveraging, better IRR from paydown but tighter covenants. More HY/PIK = flexibility, higher cost, returns lean on growth. Match amortization burden to FCF stability of the business.
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# LBO Modeling Best Practices
|
|
2
|
-
|
|
3
|
-
## Model Architecture (order matters)
|
|
4
|
-
1. Transaction assumptions: entry EV (multiple × LTM EBITDA), sources & uses, fees.
|
|
5
|
-
2. Debt schedule with mandatory amortization + cash sweep.
|
|
6
|
-
3. Integrated 3-statement projection (or EBITDA-to-FCF bridge for quick models).
|
|
7
|
-
4. Exit: exit multiple × exit-year EBITDA → equity proceeds → IRR/MoM.
|
|
8
|
-
5. Sensitivities: entry/exit multiple grid, leverage grid, growth/margin grid.
|
|
9
|
-
|
|
10
|
-
## Sources & Uses Discipline
|
|
11
|
-
- Uses: equity purchase price + refinanced debt + transaction fees (2–3% of EV) + financing fees (2–3% of debt, capitalized and amortized).
|
|
12
|
-
- Sources: each debt tranche + sponsor equity + management rollover. Must balance to the dollar.
|
|
13
|
-
- Minimum cash to balance sheet — never fund the deal to zero cash.
|
|
14
|
-
|
|
15
|
-
## Cash Sweep Mechanics
|
|
16
|
-
`FCF available = EBITDA − cash interest − cash taxes − capex − ΔNWC − mandatory amort`
|
|
17
|
-
Sweep order: revolver first, then tranches by seniority (check covenants — some TLBs have 50%/25%/0% ECF sweep tiers by leverage).
|
|
18
|
-
|
|
19
|
-
## Returns Math
|
|
20
|
-
- `MoM = Exit equity / Entry equity`; `IRR = MoM^(1/years) − 1` for single-flow deals.
|
|
21
|
-
- Value creation bridge at exit: EBITDA growth + multiple expansion + debt paydown = total equity gain. Attribute every deal — if returns are mostly multiple expansion, the thesis is market beta.
|
|
22
|
-
- Target: 20–25% IRR / 2.0–3.0x MoM over 5 years.
|
|
23
|
-
|
|
24
|
-
## Sanity Checks
|
|
25
|
-
- Leverage: 4–6x total debt/EBITDA typical; interest coverage (EBITDA/cash interest) ≥ 2x in all projection years.
|
|
26
|
-
- Credit stats improve over hold or the model has a problem.
|
|
27
|
-
- Circularity (interest ↔ cash) — use opening-balance interest convention or iterative solve; document which.
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# Worked Example - lease-accounting
|
|
2
|
-
|
|
3
|
-
## Ask
|
|
4
|
-
|
|
5
|
-
> We signed a 5-year office lease: 10,000,000 NGN per year paid annually in arrears, IBR 18%, no incentives, no restoration. Compute the initial lease liability and ROU asset and give me year-1 entries.
|
|
6
|
-
|
|
7
|
-
## What a correct response contains
|
|
8
|
-
|
|
9
|
-
Liability = PV of 5 payments of 10M at 18% = ~31,272,000 NGN. ROU = same. Year 1: interest = ~5,629,000, payment 10M reduces liability to ~26,901,000; ROU depreciation = ~6,254,400/yr straight-line.
|
|
10
|
-
|
|
11
|
-
## File-driven variant
|
|
12
|
-
|
|
13
|
-
With fixture(s) `evals/files/lease_portfolio.csv`:
|
|
14
|
-
|
|
15
|
-
> Using the attached lease portfolio (evals/files/lease_portfolio.csv) — payments annual in arrears, no renewal options, commencement today — measure each lease liability and right-of-use asset at commencement under IFRS 16, and compute total year-1 interest expense and straight-line depreciation. Produce a commencement summary table and the initial journal entry.
|
|
16
|
-
|
|
17
|
-
Expected: Liabilities: L-01 $1,025,049, L-02 $689,597, L-03 $194,383; total $1,909,029 (ROU assets equal liabilities here). Year-1 interest $144,416; year-1 depreciation $339,805.
|
|
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.
|