@v587d/capital-generation 2.10.2 → 2.11.1

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.
Files changed (393) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +3 -3
  3. package/THIRD_PARTY_NOTICES.md +29 -28
  4. package/chart-ui/package.json +1 -1
  5. package/config/client.js +1 -1
  6. package/config/package.json +1 -1
  7. package/lib/data-contract.d.ts +15 -0
  8. package/lib/data-contract.js +26 -0
  9. package/lib/selected-skills-entry.d.ts +3 -3
  10. package/lib/selected-skills-entry.js +9 -1
  11. package/lib/sources/fuyao-rest.js +1 -1
  12. package/lib/web-retriever/local-fetch.d.ts +1 -1
  13. package/lib/web-retriever/local-fetch.js +1 -1
  14. package/lib/web-retriever/sources.d.ts +4 -0
  15. package/lib/web-retriever/sources.js +21 -7
  16. package/lib/web-retriever/wind-client.d.ts +1 -1
  17. package/lib/web-retriever/wind-client.js +1 -1
  18. package/package.json +1 -1
  19. package/selected-skills/InvestSkill/UPSTREAM.md +8 -0
  20. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/10k-digest/SKILL.md +11 -4
  21. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/10k-digest/references/10-retrieving-the-filing.md +24 -15
  22. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/10k-digest/references/11-key-metrics-table.md +3 -2
  23. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/bear-case/SKILL.md +9 -2
  24. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/catalyst-calendar/SKILL.md +9 -2
  25. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/competitor-analysis/SKILL.md +9 -2
  26. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/competitor-analysis/references/13-input-formats.md +2 -2
  27. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dividend-analysis/SKILL.md +9 -2
  28. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dividend-analysis/references/13-fcf-deployment-scorecard.md +13 -21
  29. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-call-analysis/SKILL.md +9 -2
  30. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-call-analysis/references/11-data-sources.md +18 -45
  31. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-preview/SKILL.md +9 -2
  32. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/economics-analysis/SKILL.md +10 -3
  33. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/etf-analysis/SKILL.md +9 -2
  34. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fact-check/SKILL.md +11 -4
  35. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fact-check/references/10-overview.md +1 -1
  36. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fact-check/references/11-phase-2-source-hierarchy.md +9 -3
  37. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fact-check/references/13-notes.md +1 -1
  38. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/financial-report-analyst/SKILL.md +9 -2
  39. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/financial-report-analyst/references/10-overview.md +9 -8
  40. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/industry-map/SKILL.md +9 -2
  41. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/industry-map/references/10-overview.md +2 -2
  42. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/industry-map/references/12-visualization-support.md +1 -1
  43. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/insider-trading/SKILL.md +9 -2
  44. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/insider-trading/references/11-pattern-recognition.md +9 -24
  45. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/insider-trading/references/12-interpretation-guidelines.md +1 -1
  46. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/institutional-ownership/SKILL.md +9 -2
  47. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/institutional-ownership/references/11-ownership-concentration-analysis.md +5 -8
  48. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/institutional-ownership/references/12-red-flags-warning-signs.md +2 -2
  49. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/learning-coach/SKILL.md +9 -2
  50. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/learning-coach/references/10-overview.md +6 -4
  51. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/learning-coach/references/11-phase-2-explanation-card.md +2 -2
  52. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/learning-coach/references/12-output-format.md +1 -1
  53. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/options-analysis/SKILL.md +9 -2
  54. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/portfolio-review/SKILL.md +9 -2
  55. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/position-ladder/SKILL.md +9 -2
  56. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/result-validator/SKILL.md +7 -0
  57. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/risk-stress-test/SKILL.md +9 -2
  58. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/sector-analysis/SKILL.md +9 -2
  59. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/sector-analysis/references/11-sector-correlation-matrix.md +4 -4
  60. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/sector-analysis/references/12-peer-benchmarking-within-sector.md +1 -1
  61. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/short-interest/SKILL.md +9 -2
  62. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/short-interest/references/12-data-sources.md +9 -15
  63. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/SKILL.md +9 -2
  64. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/references/11-dupont-decomposition.md +1 -1
  65. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-screener/SKILL.md +9 -2
  66. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-valuation/SKILL.md +9 -2
  67. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/tax-lens/SKILL.md +9 -2
  68. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/SKILL.md +9 -2
  69. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/references/11-chart-visualization-support.md +1 -1
  70. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/thesis-tracker/SKILL.md +9 -2
  71. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/thesis-tracker/references/10-overview.md +1 -1
  72. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/thesis-tracker/references/11-phase-5-the-pre.md +1 -1
  73. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/thesis-tracker/references/12-example.md +2 -2
  74. package/selected-skills/README.md +26 -17
  75. package/selected-skills/ROUTING.md +5 -3
  76. package/selected-skills/catalog.js +38 -0
  77. package/selected-skills/china-stock-research-skills/UPSTREAM.md +8 -0
  78. package/selected-skills/china-stock-research-skills/skills/business-decomposition-order-quality/SKILL.md +7 -0
  79. package/selected-skills/china-stock-research-skills/skills/business-decomposition-order-quality/references/idc-order-ledger-guide.md +11 -9
  80. package/selected-skills/china-stock-research-skills/skills/financial-health/SKILL.md +7 -0
  81. package/selected-skills/china-stock-research-skills/skills/financial-health/references/idc-balance-sheet-stress-guide.md +10 -8
  82. package/selected-skills/china-stock-research-skills/skills/industry-competition-moat/SKILL.md +7 -0
  83. package/selected-skills/china-stock-research-skills/skills/industry-competition-moat/references/idc-value-chain-and-peers.md +9 -7
  84. package/selected-skills/china-stock-research-skills/skills/risk-warning-catalysts/SKILL.md +7 -0
  85. package/selected-skills/china-stock-research-skills/skills/risk-warning-catalysts/references/idc-monitoring-indicators.md +9 -7
  86. package/selected-skills/china-stock-research-skills/skills/shared/references/asset-heavy-ramp-overlay.md +7 -5
  87. package/selected-skills/china-stock-research-skills/skills/shared/references/business-model-transition-overlay.md +7 -5
  88. package/selected-skills/china-stock-research-skills/skills/shared/references/citation-standard.md +7 -7
  89. package/selected-skills/china-stock-research-skills/skills/shared/references/consumer-channel-brand-overlay.md +8 -6
  90. package/selected-skills/china-stock-research-skills/skills/shared/references/cyclical-price-driven-overlay.md +8 -6
  91. package/selected-skills/china-stock-research-skills/skills/shared/references/export-manufacturing-supply-chain-overlay.md +8 -6
  92. package/selected-skills/china-stock-research-skills/skills/shared/references/idc-heavy-asset-transition-overlay.md +16 -14
  93. package/selected-skills/china-stock-research-skills/skills/shared/references/project-order-business-overlay.md +7 -5
  94. package/selected-skills/china-stock-research-skills/skills/shared/references/regulated-healthcare-policy-overlay.md +8 -6
  95. package/selected-skills/china-stock-research-skills/skills/shared/references/source-registry.md +45 -47
  96. package/selected-skills/china-stock-research-skills/skills/strategy-business-transition/SKILL.md +7 -0
  97. package/selected-skills/china-stock-research-skills/skills/strategy-business-transition/references/idc-transition-markers.md +8 -6
  98. package/selected-skills/china-stock-research-skills/skills/valuation-investment-strategy/SKILL.md +7 -0
  99. package/selected-skills/china-stock-research-skills/skills/valuation-investment-strategy/references/idc-valuation-overlays.md +8 -6
  100. package/selected-skills/claude-for-financial-services-cn/UPSTREAM.md +9 -0
  101. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-break-trace/SKILL.md +1 -1
  102. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-catalyst-calendar/SKILL.md +1 -1
  103. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-comps-analysis/SKILL.md +3 -3
  104. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-dcf/SKILL.md +1 -1
  105. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-earnings-analysis/SKILL.md +1 -1
  106. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-earnings-preview/SKILL.md +1 -1
  107. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-idea-generation/SKILL.md +1 -1
  108. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-initiating-coverage/SKILL.md +2 -2
  109. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-morning-note/SKILL.md +1 -1
  110. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-sector-overview/SKILL.md +2 -2
  111. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-thesis-tracker/SKILL.md +1 -1
  112. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-variance-commentary/SKILL.md +1 -1
  113. package/selected-skills/financeskills/UPSTREAM.md +10 -0
  114. package/selected-skills/financeskills/skills/banking-compliance/SKILL.md +9 -2
  115. package/selected-skills/financeskills/skills/company-valuation/SKILL.md +9 -2
  116. package/selected-skills/financeskills/skills/credit-analysis/SKILL.md +9 -2
  117. package/selected-skills/financeskills/skills/ecl-computation/SKILL.md +9 -2
  118. package/selected-skills/financeskills/skills/forensic-accounting/SKILL.md +9 -2
  119. package/selected-skills/financeskills/skills/insurance-reserving/SKILL.md +9 -2
  120. package/selected-skills/financeskills/skills/three-statement-modeling/SKILL.md +9 -2
  121. package/selected-skills/financeskills/skills/wacc-computation/SKILL.md +9 -2
  122. package/selected-skills/investment-skills/UPSTREAM.md +9 -0
  123. package/selected-skills/investment-skills/skills/buffett-investment-framework/SKILL.md +7 -0
  124. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/00-source-key.md +25 -25
  125. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/11-deterministic-router.md +40 -9
  126. package/selected-skills/peter-lynch-skill/UPSTREAM.md +7 -0
  127. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/SKILL.md +9 -2
  128. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/10-workflow.md +1 -1
  129. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/deep/system-prompt.md +5 -5
  130. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/deep/web-research-1.md +1 -1
  131. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/deep/web-research-2.md +4 -7
  132. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/quick/system-prompt.md +1 -1
  133. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/quick/web-research-1.md +50 -49
  134. package/selected-skills/quant-agent-skills/UPSTREAM.md +8 -0
  135. package/selected-skills/quant-agent-skills/skills/cross-market-listing-choice/SKILL.md +1 -1
  136. package/selected-skills/routing.js +29 -1
  137. package/selected-skills/trading-skills/UPSTREAM.md +10 -0
  138. package/selected-skills/trading-skills/skills/catalyst-map/SKILL.md +7 -0
  139. package/selected-skills/trading-skills/skills/evidence-gap-check/SKILL.md +7 -0
  140. package/selected-skills/trading-skills/skills/execution-plan-check/SKILL.md +7 -0
  141. package/selected-skills/trading-skills/skills/journal-pattern-analyzer/SKILL.md +7 -0
  142. package/selected-skills/trading-skills/skills/macro-event-analysis/SKILL.md +6 -9
  143. package/selected-skills/trading-skills/skills/macro-event-analysis/references/interpretation-guide.md +1 -1
  144. package/selected-skills/trading-skills/skills/market-regime-analysis/SKILL.md +5 -8
  145. package/selected-skills/trading-skills/skills/portfolio-concentration/SKILL.md +7 -0
  146. package/selected-skills/trading-skills/skills/position-management/SKILL.md +7 -0
  147. package/selected-skills/trading-skills/skills/position-sizing/SKILL.md +7 -0
  148. package/selected-skills/trading-skills/skills/post-trade-review/SKILL.md +7 -0
  149. package/selected-skills/trading-skills/skills/risk-reward-sanity-check/SKILL.md +7 -0
  150. package/selected-skills/trading-skills/skills/thesis-validation/SKILL.md +7 -0
  151. package/selected-skills/trading-skills/skills/watchlist-review/SKILL.md +7 -0
  152. package/watchlist/package.json +1 -1
  153. package/selected-skills/InvestSkill/install.sh +0 -212
  154. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/chart-master/SKILL.md +0 -648
  155. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dcf-valuation/SKILL.md +0 -109
  156. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/full-report/SKILL.md +0 -301
  157. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fundamental-analysis/SKILL.md +0 -67
  158. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/report-generator/SKILL.md +0 -857
  159. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/research-bundle/SKILL.md +0 -94
  160. package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/SKILL.md +0 -75
  161. package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/references/final-output-contract.md +0 -62
  162. package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/references/routing-matrix.md +0 -34
  163. package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/references/sector-overlay-escalation-rules.md +0 -38
  164. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-3-statement-model/SKILL.md +0 -287
  165. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-accrual-schedule/SKILL.md +0 -182
  166. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-audit-xls/SKILL.md +0 -231
  167. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-clean-data-xls/SKILL.md +0 -237
  168. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-comps/SKILL.md +0 -104
  169. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-dcf-model/SKILL.md +0 -68
  170. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-deal-screening/SKILL.md +0 -212
  171. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-deck-refresh/SKILL.md +0 -221
  172. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-gl-recon/SKILL.md +0 -232
  173. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-ib-check-deck/SKILL.md +0 -252
  174. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-lbo-model/SKILL.md +0 -273
  175. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-market-data/SKILL.md +0 -229
  176. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-model-update/SKILL.md +0 -219
  177. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-ppt-template-creator/SKILL.md +0 -231
  178. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-pptx-author/SKILL.md +0 -240
  179. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-roll-forward/SKILL.md +0 -189
  180. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-skill-creator/SKILL.md +0 -304
  181. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-tax-loss-harvesting/SKILL.md +0 -200
  182. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-xlsx-author/SKILL.md +0 -256
  183. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-accrual-schedule/SKILL.md +0 -190
  184. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-break-trace/SKILL.md +0 -182
  185. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-gl-recon/SKILL.md +0 -200
  186. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-nav-tieout/SKILL.md +0 -233
  187. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-roll-forward/SKILL.md +0 -178
  188. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-variance-commentary/SKILL.md +0 -190
  189. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-buyer-list/SKILL.md +0 -198
  190. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-cim-builder/SKILL.md +0 -223
  191. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-competitive-analysis/SKILL.md +0 -233
  192. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-datapack-builder/SKILL.md +0 -232
  193. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-deal-tracker/SKILL.md +0 -151
  194. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-merger-model/SKILL.md +0 -226
  195. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-pitch-deck/SKILL.md +0 -231
  196. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-process-letter/SKILL.md +0 -249
  197. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-strip-profile/SKILL.md +0 -196
  198. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-teaser/SKILL.md +0 -235
  199. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/operations/skills/china-kyc-doc-parse/SKILL.md +0 -252
  200. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/operations/skills/china-kyc-rules/SKILL.md +0 -223
  201. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-ai-readiness/SKILL.md +0 -184
  202. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-dd-checklist/SKILL.md +0 -217
  203. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-dd-meeting-prep/SKILL.md +0 -290
  204. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-deal-sourcing/SKILL.md +0 -224
  205. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-ic-memo/SKILL.md +0 -230
  206. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-portfolio-monitoring/SKILL.md +0 -214
  207. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-returns-analysis/SKILL.md +0 -176
  208. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-unit-economics/SKILL.md +0 -192
  209. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-value-creation-plan/SKILL.md +0 -193
  210. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-client-report/SKILL.md +0 -205
  211. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-client-review/SKILL.md +0 -218
  212. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-financial-plan/SKILL.md +0 -259
  213. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-investment-proposal/SKILL.md +0 -271
  214. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-portfolio-rebalance/SKILL.md +0 -191
  215. package/selected-skills/financeskills/skills/ai-anomaly-detection/EXAMPLE.md +0 -21
  216. package/selected-skills/financeskills/skills/ai-anomaly-detection/SKILL.md +0 -84
  217. package/selected-skills/financeskills/skills/ai-anomaly-detection/references/feature-engineering.md +0 -20
  218. package/selected-skills/financeskills/skills/ai-anomaly-detection/references/ml-algorithms.md +0 -28
  219. package/selected-skills/financeskills/skills/aro-computation/EXAMPLE.md +0 -21
  220. package/selected-skills/financeskills/skills/aro-computation/SKILL.md +0 -82
  221. package/selected-skills/financeskills/skills/aro-computation/references/aro-standards.md +0 -22
  222. package/selected-skills/financeskills/skills/aro-computation/references/pv-math.md +0 -27
  223. package/selected-skills/financeskills/skills/audit-checklist/EXAMPLE.md +0 -17
  224. package/selected-skills/financeskills/skills/audit-checklist/SKILL.md +0 -77
  225. package/selected-skills/financeskills/skills/audit-checklist/references/internal-controls.md +0 -36
  226. package/selected-skills/financeskills/skills/audit-checklist/references/isa-standards.md +0 -26
  227. package/selected-skills/financeskills/skills/automated-reconciliation/EXAMPLE.md +0 -21
  228. package/selected-skills/financeskills/skills/automated-reconciliation/SKILL.md +0 -87
  229. package/selected-skills/financeskills/skills/automated-reconciliation/assets/reconciliation-statement-template.md +0 -31
  230. package/selected-skills/financeskills/skills/automated-reconciliation/references/fuzzy-logic.md +0 -27
  231. package/selected-skills/financeskills/skills/automated-reconciliation/references/rec-controls.md +0 -28
  232. package/selected-skills/financeskills/skills/budget-forecast/EXAMPLE.md +0 -21
  233. package/selected-skills/financeskills/skills/budget-forecast/SKILL.md +0 -87
  234. package/selected-skills/financeskills/skills/budget-forecast/references/forecasting-best-practices.md +0 -26
  235. package/selected-skills/financeskills/skills/budget-forecast/references/scenario-analysis.md +0 -25
  236. package/selected-skills/financeskills/skills/close-management/EXAMPLE.md +0 -17
  237. package/selected-skills/financeskills/skills/close-management/SKILL.md +0 -85
  238. package/selected-skills/financeskills/skills/close-management/references/close-task-library.md +0 -32
  239. package/selected-skills/financeskills/skills/corporate-consolidation/EXAMPLE.md +0 -21
  240. package/selected-skills/financeskills/skills/corporate-consolidation/SKILL.md +0 -84
  241. package/selected-skills/financeskills/skills/corporate-consolidation/references/consolidation-standard.md +0 -28
  242. package/selected-skills/financeskills/skills/corporate-consolidation/references/minority-interest.md +0 -25
  243. package/selected-skills/financeskills/skills/crypto-accounting/EXAMPLE.md +0 -21
  244. package/selected-skills/financeskills/skills/crypto-accounting/SKILL.md +0 -81
  245. package/selected-skills/financeskills/skills/crypto-accounting/references/fasb-crypto.md +0 -26
  246. package/selected-skills/financeskills/skills/crypto-accounting/references/ifrs-crypto.md +0 -25
  247. package/selected-skills/financeskills/skills/cvp-breakeven/EXAMPLE.md +0 -21
  248. package/selected-skills/financeskills/skills/cvp-breakeven/SKILL.md +0 -78
  249. package/selected-skills/financeskills/skills/cvp-breakeven/references/cvp-patterns.md +0 -28
  250. package/selected-skills/financeskills/skills/debt-payoff/EXAMPLE.md +0 -21
  251. package/selected-skills/financeskills/skills/debt-payoff/SKILL.md +0 -94
  252. package/selected-skills/financeskills/skills/debt-payoff/references/debt-strategies.md +0 -32
  253. package/selected-skills/financeskills/skills/debt-payoff/references/interest-calculations.md +0 -27
  254. package/selected-skills/financeskills/skills/debt-restructuring/EXAMPLE.md +0 -21
  255. package/selected-skills/financeskills/skills/debt-restructuring/SKILL.md +0 -79
  256. package/selected-skills/financeskills/skills/debt-restructuring/references/creditor-priority.md +0 -26
  257. package/selected-skills/financeskills/skills/debt-restructuring/references/restructuring-types.md +0 -24
  258. package/selected-skills/financeskills/skills/deferred-tax/EXAMPLE.md +0 -21
  259. package/selected-skills/financeskills/skills/deferred-tax/SKILL.md +0 -86
  260. package/selected-skills/financeskills/skills/deferred-tax/references/td-catalogue.md +0 -39
  261. package/selected-skills/financeskills/skills/earned-value-mgmt/EXAMPLE.md +0 -21
  262. package/selected-skills/financeskills/skills/earned-value-mgmt/SKILL.md +0 -79
  263. package/selected-skills/financeskills/skills/earned-value-mgmt/references/forecasting-eac.md +0 -27
  264. package/selected-skills/financeskills/skills/earned-value-mgmt/references/pmi-evm.md +0 -29
  265. package/selected-skills/financeskills/skills/esg-reporting/EXAMPLE.md +0 -17
  266. package/selected-skills/financeskills/skills/esg-reporting/SKILL.md +0 -79
  267. package/selected-skills/financeskills/skills/esg-reporting/references/ghg-protocol.md +0 -22
  268. package/selected-skills/financeskills/skills/esg-reporting/references/sasb-map.md +0 -25
  269. package/selected-skills/financeskills/skills/financial-analysis/EXAMPLE.md +0 -21
  270. package/selected-skills/financeskills/skills/financial-analysis/SKILL.md +0 -108
  271. package/selected-skills/financeskills/skills/financial-analysis/assets/analysis-memo-template.md +0 -31
  272. package/selected-skills/financeskills/skills/financial-analysis/references/accounting-standards.md +0 -45
  273. package/selected-skills/financeskills/skills/financial-analysis/references/ratio-definitions.md +0 -14
  274. package/selected-skills/financeskills/skills/fixed-asset-accounting/EXAMPLE.md +0 -21
  275. package/selected-skills/financeskills/skills/fixed-asset-accounting/SKILL.md +0 -78
  276. package/selected-skills/financeskills/skills/fixed-asset-accounting/references/useful-life-guide.md +0 -30
  277. package/selected-skills/financeskills/skills/intercompany-accounting/EXAMPLE.md +0 -21
  278. package/selected-skills/financeskills/skills/intercompany-accounting/SKILL.md +0 -79
  279. package/selected-skills/financeskills/skills/intercompany-accounting/references/elimination-entries.md +0 -35
  280. package/selected-skills/financeskills/skills/inventory-costing/EXAMPLE.md +0 -21
  281. package/selected-skills/financeskills/skills/inventory-costing/SKILL.md +0 -80
  282. package/selected-skills/financeskills/skills/inventory-costing/references/costing-examples.md +0 -31
  283. package/selected-skills/financeskills/skills/investment-analysis/EXAMPLE.md +0 -21
  284. package/selected-skills/financeskills/skills/investment-analysis/SKILL.md +0 -82
  285. package/selected-skills/financeskills/skills/investment-analysis/references/competitive-advantage.md +0 -31
  286. package/selected-skills/financeskills/skills/investment-analysis/references/valuation-guide.md +0 -29
  287. package/selected-skills/financeskills/skills/journal-entry/EXAMPLE.md +0 -21
  288. package/selected-skills/financeskills/skills/journal-entry/SKILL.md +0 -94
  289. package/selected-skills/financeskills/skills/journal-entry/assets/journal-entry-template.md +0 -21
  290. package/selected-skills/financeskills/skills/journal-entry/references/entry-patterns.md +0 -51
  291. package/selected-skills/financeskills/skills/lbo-modeling/EXAMPLE.md +0 -21
  292. package/selected-skills/financeskills/skills/lbo-modeling/SKILL.md +0 -88
  293. package/selected-skills/financeskills/skills/lbo-modeling/references/debt-structures.md +0 -22
  294. package/selected-skills/financeskills/skills/lbo-modeling/references/lbo-best-practices.md +0 -27
  295. package/selected-skills/financeskills/skills/lease-accounting/EXAMPLE.md +0 -21
  296. package/selected-skills/financeskills/skills/lease-accounting/SKILL.md +0 -88
  297. package/selected-skills/financeskills/skills/lease-accounting/assets/commencement-summary-template.md +0 -28
  298. package/selected-skills/financeskills/skills/lease-accounting/references/ibr-guide.md +0 -26
  299. package/selected-skills/financeskills/skills/net-worth-tracker/EXAMPLE.md +0 -21
  300. package/selected-skills/financeskills/skills/net-worth-tracker/SKILL.md +0 -98
  301. package/selected-skills/financeskills/skills/net-worth-tracker/references/asset-valuation.md +0 -40
  302. package/selected-skills/financeskills/skills/net-worth-tracker/references/net-worth-benchmarks.md +0 -33
  303. package/selected-skills/financeskills/skills/nlp-earnings-sentiment/EXAMPLE.md +0 -17
  304. package/selected-skills/financeskills/skills/nlp-earnings-sentiment/SKILL.md +0 -77
  305. package/selected-skills/financeskills/skills/nlp-earnings-sentiment/references/finbert-guide.md +0 -26
  306. package/selected-skills/financeskills/skills/nlp-earnings-sentiment/references/linguistic-finance.md +0 -23
  307. package/selected-skills/financeskills/skills/oil-gas-valuation/EXAMPLE.md +0 -21
  308. package/selected-skills/financeskills/skills/oil-gas-valuation/SKILL.md +0 -86
  309. package/selected-skills/financeskills/skills/oil-gas-valuation/references/sec-reporting.md +0 -22
  310. package/selected-skills/financeskills/skills/oil-gas-valuation/references/spe-standards.md +0 -25
  311. package/selected-skills/financeskills/skills/personal-budgeting/EXAMPLE.md +0 -21
  312. package/selected-skills/financeskills/skills/personal-budgeting/SKILL.md +0 -100
  313. package/selected-skills/financeskills/skills/personal-budgeting/references/budgeting-methods.md +0 -40
  314. package/selected-skills/financeskills/skills/personal-budgeting/references/spending-categories.md +0 -40
  315. package/selected-skills/financeskills/skills/predictive-burn-rate/EXAMPLE.md +0 -21
  316. package/selected-skills/financeskills/skills/predictive-burn-rate/SKILL.md +0 -82
  317. package/selected-skills/financeskills/skills/predictive-burn-rate/references/startup-metrics.md +0 -27
  318. package/selected-skills/financeskills/skills/predictive-burn-rate/references/time-series-forecasting.md +0 -22
  319. package/selected-skills/financeskills/skills/product-profitability/EXAMPLE.md +0 -21
  320. package/selected-skills/financeskills/skills/product-profitability/SKILL.md +0 -83
  321. package/selected-skills/financeskills/skills/product-profitability/references/allocation-logic.md +0 -28
  322. package/selected-skills/financeskills/skills/product-profitability/references/unit-economics.md +0 -30
  323. package/selected-skills/financeskills/skills/retirement-planning/EXAMPLE.md +0 -21
  324. package/selected-skills/financeskills/skills/retirement-planning/SKILL.md +0 -98
  325. package/selected-skills/financeskills/skills/retirement-planning/references/compound-growth.md +0 -38
  326. package/selected-skills/financeskills/skills/retirement-planning/references/retirement-fundamentals.md +0 -29
  327. package/selected-skills/financeskills/skills/revenue-recognition/EXAMPLE.md +0 -21
  328. package/selected-skills/financeskills/skills/revenue-recognition/SKILL.md +0 -86
  329. package/selected-skills/financeskills/skills/revenue-recognition/assets/allocation-workpaper-template.md +0 -30
  330. package/selected-skills/financeskills/skills/revenue-recognition/references/ifrs15-guide.md +0 -28
  331. package/selected-skills/financeskills/skills/revenue-recognition/references/saas-rev-rec.md +0 -26
  332. package/selected-skills/financeskills/skills/risk-assessment/EXAMPLE.md +0 -21
  333. package/selected-skills/financeskills/skills/risk-assessment/SKILL.md +0 -83
  334. package/selected-skills/financeskills/skills/risk-assessment/references/hedging-guide.md +0 -24
  335. package/selected-skills/financeskills/skills/risk-assessment/references/risk-metrics.md +0 -24
  336. package/selected-skills/financeskills/skills/sox-compliance/EXAMPLE.md +0 -17
  337. package/selected-skills/financeskills/skills/sox-compliance/SKILL.md +0 -88
  338. package/selected-skills/financeskills/skills/sox-compliance/references/sampling-methodology.md +0 -27
  339. package/selected-skills/financeskills/skills/startup-valuation/EXAMPLE.md +0 -21
  340. package/selected-skills/financeskills/skills/startup-valuation/SKILL.md +0 -88
  341. package/selected-skills/financeskills/skills/startup-valuation/references/berkus-method.md +0 -25
  342. package/selected-skills/financeskills/skills/startup-valuation/references/vc-method.md +0 -23
  343. package/selected-skills/financeskills/skills/statement-preparation/EXAMPLE.md +0 -21
  344. package/selected-skills/financeskills/skills/statement-preparation/SKILL.md +0 -86
  345. package/selected-skills/financeskills/skills/statement-preparation/references/accruals-deferrals.md +0 -24
  346. package/selected-skills/financeskills/skills/statement-preparation/references/cash-flow-method.md +0 -32
  347. package/selected-skills/financeskills/skills/tax-efficient-investing/EXAMPLE.md +0 -21
  348. package/selected-skills/financeskills/skills/tax-efficient-investing/SKILL.md +0 -97
  349. package/selected-skills/financeskills/skills/tax-efficient-investing/references/account-types.md +0 -33
  350. package/selected-skills/financeskills/skills/tax-efficient-investing/references/asset-location.md +0 -36
  351. package/selected-skills/financeskills/skills/tax-planning/EXAMPLE.md +0 -21
  352. package/selected-skills/financeskills/skills/tax-planning/SKILL.md +0 -93
  353. package/selected-skills/financeskills/skills/tax-planning/references/common-deductions.md +0 -28
  354. package/selected-skills/financeskills/skills/tax-planning/references/tax-code-lookup.md +0 -25
  355. package/selected-skills/financeskills/skills/treasury-management/EXAMPLE.md +0 -21
  356. package/selected-skills/financeskills/skills/treasury-management/SKILL.md +0 -83
  357. package/selected-skills/financeskills/skills/treasury-management/references/fx-hedging.md +0 -27
  358. package/selected-skills/financeskills/skills/treasury-management/references/liquidity-metrics.md +0 -24
  359. package/selected-skills/financeskills/skills/variance-analysis/EXAMPLE.md +0 -21
  360. package/selected-skills/financeskills/skills/variance-analysis/SKILL.md +0 -78
  361. package/selected-skills/financeskills/skills/variance-analysis/references/overhead-logic.md +0 -24
  362. package/selected-skills/financeskills/skills/variance-analysis/references/variance-math.md +0 -35
  363. package/selected-skills/financeskills/skills/venture-debt/EXAMPLE.md +0 -21
  364. package/selected-skills/financeskills/skills/venture-debt/SKILL.md +0 -84
  365. package/selected-skills/financeskills/skills/venture-debt/references/saas-debt-metrics.md +0 -26
  366. package/selected-skills/financeskills/skills/venture-debt/references/venture-lending.md +0 -23
  367. package/selected-skills/financeskills/skills/working-capital-analysis/EXAMPLE.md +0 -21
  368. package/selected-skills/financeskills/skills/working-capital-analysis/SKILL.md +0 -83
  369. package/selected-skills/financeskills/skills/working-capital-analysis/references/wc-metrics.md +0 -30
  370. package/selected-skills/investment-skills/Makefile +0 -29
  371. package/selected-skills/investment-skills/skills/buffett-investment-framework/agents/openai.yaml +0 -4
  372. package/selected-skills/investment-skills/skills/buffett-investment-framework/scripts/framework.py +0 -470
  373. package/selected-skills/trading-skills/skills/earnings-preview/SKILL.md +0 -124
  374. package/selected-skills/trading-skills/skills/earnings-preview/references/data-providers.md +0 -26
  375. package/selected-skills/trading-skills/skills/earnings-preview/references/providers/fmp.md +0 -49
  376. package/selected-skills/trading-skills/skills/earnings-preview/references/providers/polygon.md +0 -45
  377. package/selected-skills/trading-skills/skills/earnings-preview/references/providers/tradingeconomics.md +0 -49
  378. package/selected-skills/trading-skills/skills/earnings-preview/references/relevance-ranking.md +0 -24
  379. package/selected-skills/trading-skills/skills/earnings-trade-prep/SKILL.md +0 -134
  380. package/selected-skills/trading-skills/skills/earnings-trade-prep/references/workflow-framework.md +0 -65
  381. package/selected-skills/trading-skills/skills/macro-event-analysis/references/data-providers.md +0 -23
  382. package/selected-skills/trading-skills/skills/macro-event-analysis/references/providers/fmp.md +0 -28
  383. package/selected-skills/trading-skills/skills/macro-event-analysis/references/providers/tradingeconomics.md +0 -40
  384. package/selected-skills/trading-skills/skills/market-regime-analysis/references/data-providers.md +0 -26
  385. package/selected-skills/trading-skills/skills/market-regime-analysis/references/providers/fmp.md +0 -46
  386. package/selected-skills/trading-skills/skills/market-regime-analysis/references/providers/polygon.md +0 -36
  387. package/selected-skills/trading-skills/skills/market-regime-analysis/references/providers/tradingeconomics.md +0 -46
  388. package/selected-skills/trading-skills/skills/portfolio-risk-review/SKILL.md +0 -126
  389. package/selected-skills/trading-skills/skills/portfolio-risk-review/references/workflow-framework.md +0 -57
  390. package/selected-skills/trading-skills/skills/post-trade-debrief/SKILL.md +0 -99
  391. package/selected-skills/trading-skills/skills/post-trade-debrief/references/workflow-framework.md +0 -51
  392. package/selected-skills/trading-skills/skills/pre-trade-check/SKILL.md +0 -136
  393. package/selected-skills/trading-skills/skills/pre-trade-check/references/workflow-framework.md +0 -61
@@ -1,21 +0,0 @@
1
- # Worked Example - personal-budgeting
2
-
3
- ## Ask
4
-
5
- > My take-home is $4,500/month. I spend roughly $1,800 on rent, $600 on food, $300 on transport, $200 utilities, $400 subscriptions/dining/fun, and $200 on gym and hobbies. I never seem to save anything. Help me build a budget.
6
-
7
- ## What a correct response contains
8
-
9
- Should calculate total expenses ($3,500) and surplus ($1,000). Should apply the 50/30/20 rule: Needs target $2,250, Wants target $1,350, Savings target $900. Should identify that Needs ($2,900) exceed the 50% target. Should recommend moving the savings surplus to an automated transfer. Should provide a concrete action plan with category-level reductions.
10
-
11
- ## File-driven variant
12
-
13
- With fixture `evals/files/monthly_expenses.csv`:
14
-
15
- > From the attached monthly expense data (evals/files/monthly_expenses.csv), calculate my savings rate, compare actual spending to the 50/30/20 targets, and tell me the top category to cut to reach a 20% savings rate.
16
-
17
- Expected: income $5,000; Needs $2,600 (52%), Wants $1,300 (26%), Savings $600 (12%); savings rate 12%; needs to save $1,000/month for 20% target; top cut category is Dining ($400).
18
-
19
- ## Compute, don't estimate
20
-
21
- All figures above come from [`scripts/calculate.py`](./scripts/calculate.py) — import its functions rather than doing arithmetic in prose.
@@ -1,100 +0,0 @@
1
- ---
2
- name: personal-budgeting
3
- description: When the user wants to create a personal budget, track income vs. expenses, apply the 50/30/20 rule, build a zero-based budget, improve their savings rate, or understand where their money is going. Also use when the user mentions "I'm overspending," "I can't save money," "monthly budget," "budget categories," or "living paycheck to paycheck."
4
- metadata:
5
- version: 1.0.0
6
- ---
7
-
8
- # Personal Budgeting
9
-
10
- You are a Personal Finance Coach. Your goal is to help the user build a clear, realistic spending plan so that every dollar has a purpose and savings become non-negotiable.
11
-
12
- ## Initial Assessment
13
-
14
- 1. **Income Picture**
15
- - What is the user's monthly take-home (after-tax) income?
16
- - Are income streams fixed (salary) or variable (freelance, commission)?
17
-
18
- 2. **Spending Baseline**
19
- - Do they have 1–3 months of bank/card statements to analyze?
20
- - Are any expenses irregular (annual subscriptions, seasonal costs)?
21
-
22
- 3. **Goal Clarity**
23
- - What is the primary financial goal? (Emergency fund, debt payoff, vacation, house deposit.)
24
- - What is the target savings rate?
25
-
26
- ---
27
-
28
- ## Budgeting Framework
29
-
30
- ### Priority Order
31
- 1. **Income Capture** — confirmed monthly take-home.
32
- 2. **Fixed Essentials First** — rent/mortgage, utilities, insurance, minimum debt payments.
33
- 3. **Variable Essentials** — groceries, transport, medical.
34
- 4. **Discretionary Wants** — dining out, subscriptions, entertainment.
35
- 5. **Savings & Investments** — treat as a fixed expense, not a leftover.
36
-
37
- ### Two Approaches
38
-
39
- **50/30/20 Rule** (simple starting point)
40
- - 50% Needs (housing, utilities, food, transport, minimum debt payments)
41
- - 30% Wants (dining, subscriptions, hobbies, travel)
42
- - 20% Savings & debt repayment above minimums
43
-
44
- **Zero-Based Budget** (maximum control)
45
- - Allocate every dollar of income to a named category until Income − Expenses = 0.
46
- - Review and reallocate monthly.
47
-
48
- ---
49
-
50
- ## Technical Steps
51
-
52
- ### 1. Categorise All Spending
53
- Group every transaction into Needs, Wants, or Savings for the past 90 days.
54
-
55
- ### 2. Calculate Savings Rate
56
- `Savings Rate = (Monthly Savings / Monthly Income) × 100`
57
-
58
- A savings rate below 10% is a warning sign. Target ≥ 20% for long-term wealth building.
59
-
60
- ### 3. Identify Gaps
61
- - Where does spending exceed the 50/30/20 targets?
62
- - Which discretionary categories have the biggest reduction opportunity?
63
-
64
- ### 4. Build the Plan
65
- - Set category caps for the coming month.
66
- - Automate savings transfers on payday ("pay yourself first").
67
-
68
- ---
69
-
70
- ## Output Format
71
-
72
- **Budget Summary**
73
- - Monthly income and categorised totals (Needs / Wants / Savings).
74
- - Actual vs. 50/30/20 target comparison.
75
- - Surplus or deficit.
76
-
77
- **Action Plan**
78
- - Top 3 spending categories to reduce with specific targets.
79
- - Recommended savings automation schedule.
80
-
81
- **30-Day Check-in Template**
82
- - Simple tracking table to compare plan vs. actual.
83
-
84
- ---
85
-
86
- ## Scripts
87
- - [calculate.py](./scripts/calculate.py): Deterministic functions for this skill's core computations. Run `python3 scripts/calculate.py` to self-test; import the functions instead of doing mental math.
88
-
89
- ---
90
-
91
- ## References
92
- - [Budgeting Methods](./references/budgeting-methods.md): Comparison of 50/30/20, zero-based, envelope, and pay-yourself-first methods.
93
- - [Spending Categories Guide](./references/spending-categories.md): Standard category taxonomy for personal budgets.
94
-
95
- ---
96
-
97
- ## Related Skills
98
- - **debt-payoff**: Once a budget surplus is identified, apply it to a structured debt elimination plan.
99
- - **net-worth-tracker**: Use the budget as the input to a monthly net worth update.
100
- - **retirement-planning**: Translate the savings line in the budget into a long-term retirement projection.
@@ -1,40 +0,0 @@
1
- # Budgeting Methods
2
-
3
- A comparison of the four most widely used personal budgeting frameworks.
4
-
5
- ## 1. 50/30/20 Rule
6
- Popularised by Senator Elizabeth Warren in *All Your Worth* (2005).
7
- - **50% Needs**: rent, utilities, groceries, transport, minimum debt payments.
8
- - **30% Wants**: dining, entertainment, subscriptions, hobbies.
9
- - **20% Savings & extra debt repayment**.
10
-
11
- Best for: beginners who want a simple, low-maintenance system.
12
-
13
- ## 2. Zero-Based Budget
14
- Every dollar of income is assigned a category until Income − Expenses = $0.
15
- - Forces intentional spending decisions.
16
- - Requires monthly rebuilding of the budget.
17
-
18
- Best for: people with irregular spending or those aggressively paying off debt.
19
-
20
- ## 3. Envelope Method
21
- Cash is divided into physical (or digital) envelopes per category. When the envelope is empty, spending stops.
22
- - Eliminates overspending in variable categories.
23
- - Works well paired with zero-based budgeting.
24
-
25
- Best for: people who overspend on discretionary categories.
26
-
27
- ## 4. Pay-Yourself-First
28
- Savings are automated on payday before any other spending occurs. The remainder is spent freely.
29
- - Savings target is guaranteed regardless of discipline.
30
- - Does not control spending, only ensures savings.
31
-
32
- Best for: high earners who save enough but want more structure.
33
-
34
- ## Recommended Starting Point
35
- Begin with the 50/30/20 rule to establish a baseline. Transition to zero-based budgeting once the baseline reveals problem areas.
36
-
37
- ## Sources
38
- - Warren, E. & Warren Tyagi, A. (2005). *All Your Worth*. Free Press.
39
- - [NerdWallet: 50/30/20 Budget Rule](https://www.nerdwallet.com/article/finance/nerdwallet-budget-calculator)
40
- - [YNAB: Zero-Based Budgeting](https://www.ynab.com/zero-based-budgeting)
@@ -1,40 +0,0 @@
1
- # Spending Categories Guide
2
-
3
- Standard taxonomy for classifying personal expenses. Use consistently across months for valid trend analysis.
4
-
5
- ## Needs (Essential)
6
- | Category | Examples |
7
- |---|---|
8
- | Housing | Rent, mortgage, property tax, HOA |
9
- | Utilities | Electricity, gas, water, internet, phone |
10
- | Groceries | Supermarket food and household basics |
11
- | Transport | Fuel, public transit, car insurance, maintenance |
12
- | Insurance | Health, life, renters/home |
13
- | Minimum debt payments | Credit card minimums, student loan minimums |
14
- | Childcare / education | School fees, daycare |
15
-
16
- ## Wants (Discretionary)
17
- | Category | Examples |
18
- |---|---|
19
- | Dining & takeaway | Restaurants, cafes, food delivery |
20
- | Entertainment | Streaming, cinema, concerts, sports |
21
- | Subscriptions | Software, magazines, gym (if non-essential) |
22
- | Clothing | Non-essential apparel and accessories |
23
- | Hobbies | Sports equipment, crafts, gaming |
24
- | Travel | Holidays, weekend trips |
25
- | Personal care | Haircuts, cosmetics above basics |
26
-
27
- ## Savings & Debt Payoff
28
- | Category | Examples |
29
- |---|---|
30
- | Emergency fund | High-yield savings account contributions |
31
- | Retirement | 401(k), IRA, pension contributions |
32
- | Investments | Brokerage, ISA, index funds |
33
- | Extra debt repayment | Above-minimum payments on loans/cards |
34
- | Sinking funds | Car replacement, home repairs, annual expenses |
35
-
36
- ## Classification Tips
37
- - **Internet**: Needs if required for work/study; Wants if purely recreational.
38
- - **Gym membership**: Needs if medically required; Wants otherwise.
39
- - **Life insurance**: Always a Need.
40
- - **Streaming services**: Wants (one service could be debated as Need if it replaces more expensive entertainment).
@@ -1,21 +0,0 @@
1
- # Worked Example - predictive-burn-rate
2
-
3
- ## Ask
4
-
5
- > Our burn rate has been $100k, $120k, and $150k over the last 3 months. We have $1M in the bank. When do we run out of money?
6
-
7
- ## What a correct response contains
8
-
9
- Should identify the accelerating burn trend. Should note that a simple average is dangerous due to the acceleration. Should calculate the 'Zero Date' based on the trend (approx. 5-6 months). Should suggest using Prophet for a more detailed seasonal forecast. Should provide a Runway Forecast Report.
10
-
11
- ## File-driven variant
12
-
13
- With fixture(s) `evals/files/monthly_cash.csv`:
14
-
15
- > Cash on hand is $7,500,000. Using the attached six months of actuals (evals/files/monthly_cash.csv), compute monthly net burn, the trailing 3-month average, simple runway in months, and comment on the burn trend.
16
-
17
- Expected: Net burn rising from $510,000 to $584,000; trailing 3-month avg $569,667; simple runway 13.2 months; trend-adjusted runway is shorter - flag it.
18
-
19
- ## Compute, don't estimate
20
-
21
- All figures above come from [`scripts/calculate.py`](./scripts/calculate.py) - import its functions rather than doing arithmetic in prose.
@@ -1,82 +0,0 @@
1
- ---
2
- name: predictive-burn-rate
3
- description: When the user wants to predict future cash consumption and "Runway" using time-series AI models. Also use when the user mentions "startup runway," "predicting cash out," "future burn rate," "Prophet for finance," "LSTM cash forecasting," or "when will we run out of money."
4
- metadata:
5
- version: 1.0.0
6
- ---
7
-
8
- # Predictive Burn Rate
9
-
10
- You are a Startup Data Scientist. Your goal is to use time-series forecasting to predict exactly when a company will require more capital, accounting for seasonality and growth trends.
11
-
12
- ## Initial Assessment
13
-
14
- 1. **Cash Flow Data**
15
- - Do we have monthly net cash flow (Net Burn) for at least 12-24 months?
16
- - What are the major "lumpy" expenses? (e.g., Annual software renewals, bi-annual bonuses).
17
-
18
- 2. **Growth Assumptions**
19
- - Are headcount and marketing spend scaling linearly or exponentially?
20
- - Is there a "Target Zero" date for profitability?
21
-
22
- ---
23
-
24
- ## Predictive Framework
25
-
26
- ### Technical Limitation
27
- Linear extrapolations (Actuals / Average Burn) are often wrong because they ignore seasonality. This skill uses **Prophet** or **ARIMA** logic for more accurate modeling.
28
-
29
- ### Priority Order
30
- 1. **Decomposition** (Separating Trend, Seasonality, and Noise).
31
- 2. **Growth Modeling** (Adjusting the burn rate based on headcount growth).
32
- 3. **Runway Calculation** (Predicting the month the cash balance hits zero).
33
- 4. **Buffer Analysis** (Identifying the "Safety Zone" for fundraising).
34
-
35
- ---
36
-
37
- ## Technical Predictive Steps
38
-
39
- ### 1. Time-Series Decomposition
40
- - Identify if the burn rate is increasing due to a long-term trend or a one-time seasonal spike (e.g., Q4 marketing push).
41
-
42
- ### 2. Facebook Prophet Integration
43
- - Use the `Prophet` library to handle missing data and outliers while modeling complex seasonality (holiday effects).
44
-
45
- ### 3. Scenario Probability
46
- - Instead of one date, provide a probability distribution: "70% chance of cash out in Oct, 20% in Nov, 10% in Dec."
47
-
48
- ---
49
-
50
- ## Output Format
51
-
52
- ### Runway Forecast Report
53
-
54
- **The Prediction**
55
- - **Estimated Cash Out Date**: The "Zero Date."
56
- - **Current Runway**: Expressed in months.
57
- - **Trend Rating**: (e.g., "Accelerating Burn," "Stabilizing").
58
-
59
- **AI Visuals (Description)**
60
- - Confidence intervals for the next 12 months.
61
- - Breakdown of burn drivers (fixed vs. variable).
62
-
63
- **Actionable Insight**
64
- - "Fundraising Trigger": The date you must start your next round to avoid a cash crunch.
65
-
66
- ---
67
-
68
- ## Scripts
69
- - [calculate.py](./scripts/calculate.py): Runway, growth-adjusted burn, and collections curve functions. Run with `python3 scripts/calculate.py` to self-test; import the functions for actual computations.
70
-
71
- ---
72
-
73
- ## References
74
- - [Time Series Basics](./references/time-series-forecasting.md): ARIMA vs. Prophet.
75
- - [Startup Runway Metrics](./references/startup-metrics.md): How VCs look at burn.
76
-
77
- ---
78
-
79
- ## Related Skills
80
- - **budget-forecast**: For the manual planning of the burn rate.
81
- - **treasury-management**: For managing the cash reserves predicted here.
82
- - **investment-analysis**: For valuing the startup based on its burn and growth.
@@ -1,27 +0,0 @@
1
- # Startup Financial Metrics
2
-
3
- ## Burn and Runway
4
- - **Gross burn**: total monthly cash outflows.
5
- - **Net burn**: gross burn − cash collections. The runway number.
6
- - **Runway**: months until cash < safety floor. Investors expect 18–24 months post-raise.
7
- - **Default alive test** (Paul Graham): at current growth and burn trajectory, does the company reach profitability before cash-out?
8
-
9
- ## Efficiency Metrics
10
- - **Burn multiple** = Net burn / Net new ARR. < 1 excellent, 1–1.5 good, > 2 concerning (Sacks framework).
11
- - **CAC payback** = CAC / (new ARR per customer × gross margin), in months. < 12 strong, < 18 acceptable B2B.
12
- - **LTV:CAC** ≥ 3 healthy (but meaningless pre-churn-data).
13
- - **Magic number** = Net new ARR × 4 / prior-quarter S&M spend. > 0.75 → keep investing in sales.
14
- - **Rule of 40**: revenue growth % + FCF margin % ≥ 40 (later stage).
15
-
16
- ## Revenue Quality
17
- - **NRR (net revenue retention)**: > 110% B2B good, > 120% excellent.
18
- - **Gross margin**: SaaS benchmark 70–85%; services-heavy mix drags it.
19
- - **ARR vs. recognized revenue vs. billings**: never conflate (see SaaS rev rec).
20
-
21
- ## Fundraise Planning Inputs
22
- - Months-to-milestone vs. runway: raise must cover milestone + 6-month buffer.
23
- - Dilution math: target 15–25% per priced round.
24
- - Bridge triggers: < 9 months runway without a started process = act now.
25
-
26
- ## Reporting Cadence
27
- Monthly investor update: cash, net burn, runway, ARR, NRR, headcount vs. plan — consistency beats polish.
@@ -1,22 +0,0 @@
1
- # Time-Series Forecasting for Cash Burn
2
-
3
- ## Method Ladder (use the simplest that fits)
4
- 1. **Trailing average**: 3-month average net burn — baseline every model must beat.
5
- 2. **Linear trend / Holt's exponential smoothing**: captures burn growth; Holt-Winters if seasonality (annual insurance, 13th-month payroll).
6
- 3. **Driver-based decomposition** (preferred for runway): forecast components separately —
7
- `Net burn = Payroll (headcount plan × loaded cost) + Contracted opex (schedule) + Variable opex (% of activity) − Collections (bookings × collection curve)`
8
- 4. **ARIMA/SARIMA**: only with ≥ 24 months of clean history; rarely better than driver-based for startups.
9
- 5. **Monte Carlo**: simulate collections timing, hiring slippage, FX; report runway as a distribution (P10/P50/P90), not a point.
10
-
11
- ## Collections Curve
12
- Model receipts as a lagged distribution of invoicing: e.g., 20% month 0, 50% month 1, 25% month 2, 5% bad debt — fit from AR aging history. The curve, not revenue, drives cash.
13
-
14
- ## Runway Mathematics
15
- - Simple: `Runway = Cash / trailing 3-mo net burn`.
16
- - Honest: project monthly cash to the month balance < safety floor (≥ 1 payroll cycle + statutory obligations), including known one-offs (tax payments, annual renewals, severance).
17
- - Growing burn: if burn grows g monthly, runway solves `Cash = Σ burn×(1+g)^t` — materially shorter than the simple division.
18
-
19
- ## Discipline
20
- - Reforecast monthly; track forecast-vs-actual error (MAPE ≤ 10% is good for 3-month horizon).
21
- - Separate committed vs. discretionary spend so scenario levers are real.
22
- - Never net financing inflows into operating burn — report both.
@@ -1,21 +0,0 @@
1
- # Worked Example - product-profitability
2
-
3
- ## Ask
4
-
5
- > Our 'Premium' service has 80% gross margins but only 5% of our sales. Our 'Standard' service has 20% margins but 95% of sales. Should we shut down 'Standard'?
6
-
7
- ## What a correct response contains
8
-
9
- Should perform a Contribution Margin analysis. Should warn against shutting down 'Standard' if it covers the majority of fixed overhead. Should discuss the impact of fixed cost re-allocation. Should provide a Product Profitability Dashboard.
10
-
11
- ## File-driven variant
12
-
13
- With fixture(s) `evals/files/product_lines.csv`:
14
-
15
- > Build a product P&L from the attached file (evals/files/product_lines.csv): allocate the $900,000 shared cost pool by revenue, compute contribution margin and fully-loaded profit per product, and identify any product that is contribution-positive but fully-loaded negative.
16
-
17
- Expected: Alpha profit $1,860,000; Beta $630,000; Gamma $60,000 - Gamma is contribution-positive ($150,000) but fully-loaded negative.
18
-
19
- ## Compute, don't estimate
20
-
21
- All figures above come from [`scripts/calculate.py`](./scripts/calculate.py) - import its functions rather than doing arithmetic in prose.
@@ -1,83 +0,0 @@
1
- ---
2
- name: product-profitability
3
- description: When the user wants to break down revenue and costs by specific products, services, or segments. Also use when the user mentions "unit economics," "product-line P&L," "contribution margin," "SKU profitability," "segment reporting," or "cost allocation."
4
- metadata:
5
- version: 1.0.0
6
- ---
7
-
8
- # Product & Service Profitability Analysis
9
-
10
- You are a Management Accountant. Your goal is to identify which products or services are driving the most value and which are eroding margins.
11
-
12
- ## Initial Assessment
13
-
14
- 1. **Segment Definition**
15
- - Are we analyzing by SKU, Product Category, or Service Line?
16
- - What is the time period?
17
-
18
- 2. **Data Availability**
19
- - Can we track revenue directly to the segment?
20
- - Can we track variable costs (COGS) directly?
21
- - What is the total pool of indirect/fixed costs?
22
-
23
- ---
24
-
25
- ## Profitability Framework
26
-
27
- ### Priority Order
28
- 1. **Direct Revenue Attribution** (Matching sales to products).
29
- 2. **Variable Cost Assignment** (Calculating the Contribution Margin).
30
- 3. **Fixed Cost Allocation** (Determining the "Fully Burdened" margin).
31
- 4. **Variance Analysis** (Comparing actual product performance to budget).
32
- 5. **Strategic Recommendations** (e.g., "Kill product X," "Scale product Y").
33
-
34
- ---
35
-
36
- ## Technical Analysis Steps
37
-
38
- ### 1. Contribution Margin Analysis
39
- `CM = Revenue - Variable Costs`
40
- - This shows how much each product contributes to covering fixed overhead.
41
-
42
- ### 2. Allocation Methodologies
43
- - **Direct**: Costs mapped 1:1.
44
- - **Activity-Based (ABC)**: Costs allocated based on drivers (e.g., machine hours, customer service tickets).
45
- - **Step-Down**: Allocating support department costs to production departments.
46
-
47
- ### 3. Mix Variance
48
- - Analyze if a shift in the *proportion* of products sold (Product Mix) is impacting the overall gross margin.
49
-
50
- ---
51
-
52
- ## Output Format
53
-
54
- ### Product Profitability Dashboard
55
-
56
- **The Stack Rank**
57
- - Table of products ranked by Gross Margin and Contribution Margin %.
58
-
59
- **Segment P&L**
60
- - Columns for each product line showing Revenue, COGS, Direct OpEx, and Net Contribution.
61
-
62
- **Optimization Plan**
63
- - Identified "Laggards" (low margin/low volume).
64
- - Identified "Stars" (high margin/high volume).
65
- - Pricing or cost-cutting recommendations.
66
-
67
- ---
68
-
69
- ## Scripts
70
- - [calculate.py](./scripts/calculate.py): Deterministic functions for this skill's core computations. Run `python3 scripts/calculate.py` to self-test; import the functions instead of doing mental math.
71
-
72
- ---
73
-
74
- ## References
75
- - [Cost Allocation Methods](./references/allocation-logic.md): ABC vs. Traditional.
76
- - [Unit Economics Guide](./references/unit-economics.md): CAC, LTV, and Payback.
77
-
78
- ---
79
-
80
- ## Related Skills
81
- - **financial-analysis**: For the macro-level margin analysis.
82
- - **budget-forecast**: For setting product-level targets.
83
- - **statement-preparation**: For ensuring segment reporting matches the consolidated P&L.
@@ -1,28 +0,0 @@
1
- # Cost Allocation Logic
2
-
3
- ## Allocation Hierarchy (best to worst)
4
- 1. **Direct tracing**: costs unambiguously caused by the product (materials, dedicated labor, product-specific licenses) — assign, don't allocate.
5
- 2. **Causal drivers (ABC)**: allocate pooled costs on the activity that drives them.
6
- 3. **Ability-to-bear (revenue %)**: last resort — it distorts decisions because high-revenue products subsidize the rest.
7
-
8
- ## Activity-Based Costing in Five Steps
9
- 1. Identify activities (order processing, machine setup, QA inspection, customer support, deployment).
10
- 2. Pool costs per activity from the GL (salaries, systems, facilities split by time/space study).
11
- 3. Pick a driver per pool: setups → # of setups; support → tickets; warehousing → pallet-days; payment processing → transaction count.
12
- 4. Rate = pool cost / driver volume.
13
- 5. Charge products: usage × rate.
14
-
15
- ## Driver Selection Tests
16
- - Causality: does more of the driver actually cause more cost?
17
- - Measurability: is driver data captured reliably without manual heroics?
18
- - Materiality: pools < 5% of overhead can use a simple driver; don't gold-plate.
19
-
20
- ## What NOT to Allocate for Decisions
21
- - Sunk costs and corporate overhead that won't change with the decision (CEO salary doesn't vanish if you kill SKU #47).
22
- - Use a contribution hierarchy: revenue → variable costs → **CM1** → directly attributable fixed → **CM2 (product profit)** → allocated shared costs → **CM3 (fully loaded, for pricing floors only)**.
23
- - Kill/keep decisions: CM2 + avoidable cost test. Pricing floors: CM3. Never reverse them.
24
-
25
- ## Common Distortions
26
- - Volume-based allocation of batch costs (penalizes high-volume products, hides the cost of complexity).
27
- - Peanut-butter IT/facilities spreading on headcount when usage is wildly uneven.
28
- - Ignoring cost-to-serve variation by CHANNEL and CUSTOMER, not just product.
@@ -1,30 +0,0 @@
1
- # Unit Economics
2
-
3
- ## Define the Unit First
4
- Per product sold, per order, per customer, per active user, per ride/delivery, per bbl, per policy. Mixed units = meaningless math. State the unit on every analysis.
5
-
6
- ## The Core Ledger (per unit)
7
- ```
8
- Average revenue per unit
9
- − Variable COGS (materials, hosting, payment fees 1.5–3%, packaging)
10
- − Variable fulfillment (shipping, delivery, support cost per order)
11
- = Contribution margin 1 (CM1)
12
- − Direct marketing cost per acquired unit (CAC where unit = customer)
13
- = CM2 / fully variable profit
14
- ```
15
- CM1 must be positive at maturity or growth multiplies losses. CM2 payback determines cash needs.
16
-
17
- ## Customer-Level Economics
18
- - `LTV = CM1 per period × expected periods` (or `CM1 × 1/churn` for constant churn; discount if horizon > 2 yrs).
19
- - LTV:CAC ≥ 3 healthy; CAC payback < 12–18 months B2B, < 6–12 B2C.
20
- - Cohort discipline: compute by acquisition cohort and channel — blended numbers hide dying channels.
21
-
22
- ## Margin Bridge Habit
23
- When unit margin moves, decompose: price effect + mix effect + input cost effect + efficiency effect. (Pairs with variance-analysis skill.)
24
-
25
- ## Traps
26
- 1. Counting gross revenue when you're an agent (take-rate businesses: use net revenue).
27
- 2. Excluding payment fees, refunds, fraud, and free-tier costs from "variable".
28
- 3. LTV on projected retention with < 12 months of data.
29
- 4. Improving averages that mask a barbell (great cohort + terrible cohort): always plot distributions.
30
- 5. Fixed-cost amortization smuggled into unit costs to make a price look justified.
@@ -1,21 +0,0 @@
1
- # Worked Example - retirement-planning
2
-
3
- ## Ask
4
-
5
- > I'm 35 years old, have $45,000 saved for retirement, and contribute $500/month. I want to retire at 65 with $1.5M. My expected return is 7% per year. Am I on track? If not, how much more do I need to contribute?
6
-
7
- ## What a correct response contains
8
-
9
- Should project the future value of $45,000 + $500/month at 7% over 30 years. Should compare the projection to the $1.5M target. Should calculate the additional monthly contribution required to reach $1.5M. Should mention the 4% rule and the annual withdrawal $1.5M would support.
10
-
11
- ## File-driven variant
12
-
13
- With fixture `evals/files/retirement_inputs.csv`:
14
-
15
- > From the attached inputs (evals/files/retirement_inputs.csv), project the retirement nest egg, determine whether the target is met, and calculate the required monthly contribution to close any gap.
16
-
17
- Expected: Projected nest egg $975,228; gap $524,772; need to contribute approximately $930/month to hit $1.5M target; 4% withdrawal from $1.5M supports $60,000/year.
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,98 +0,0 @@
1
- ---
2
- name: retirement-planning
3
- description: When the user wants to plan for retirement, calculate how much to save, project a retirement nest egg, determine a safe withdrawal amount, or figure out whether they are on track. Also use when the user mentions "401k," "pension," "retirement age," "how much do I need to retire," "compound interest," "FIRE," or "retire early."
4
- metadata:
5
- version: 1.0.0
6
- ---
7
-
8
- # Retirement Planning
9
-
10
- You are a Retirement Planning Specialist. Your goal is to help the user understand exactly where they stand, how much they need, and what specific actions will close any gap.
11
-
12
- ## Initial Assessment
13
-
14
- 1. **Current Position**
15
- - Current retirement savings balance.
16
- - Monthly contribution amount and any employer match.
17
- - Current age and target retirement age.
18
-
19
- 2. **Target**
20
- - Desired annual retirement income (in today's dollars).
21
- - Expected Social Security / state pension / annuity income.
22
- - Expected retirement duration (target age to life expectancy).
23
-
24
- 3. **Assumptions**
25
- - Expected annual investment return (pre-retirement).
26
- - Expected annual return in retirement (typically more conservative).
27
- - Inflation rate assumption (default 2.5%).
28
-
29
- ---
30
-
31
- ## Planning Framework
32
-
33
- ### Priority Order
34
- 1. **Nest Egg Target** — calculate the lump sum needed at retirement.
35
- 2. **Current Trajectory** — project current savings + contributions forward.
36
- 3. **Gap Analysis** — identify the funding shortfall.
37
- 4. **Contribution Strategy** — determine the monthly contribution to close the gap.
38
- 5. **Withdrawal Planning** — model sustainable withdrawals in retirement.
39
-
40
- ### The 4% Rule (Safe Withdrawal Rate)
41
- A portfolio should sustain 30 years of withdrawals if the initial withdrawal rate is 4% or less.
42
- `Nest Egg Target = Annual Retirement Spending / 0.04`
43
-
44
- Example: $60,000/year needed → nest egg of $1,500,000.
45
-
46
- ---
47
-
48
- ## Technical Steps
49
-
50
- ### 1. Future Value of Current Savings
51
- `FV = P × (1 + r/12)^(n×12) + PMT × [((1 + r/12)^(n×12) − 1) / (r/12)]`
52
- where P = current balance, PMT = monthly contribution, r = annual return, n = years to retirement.
53
-
54
- ### 2. Months to Reach Target
55
- Iterate monthly until accumulated balance ≥ nest egg target.
56
-
57
- ### 3. Required Monthly Contribution
58
- Solve for PMT given a known FV target, P, r, and n.
59
-
60
- ### 4. Inflation Adjustment
61
- Express all targets in real (inflation-adjusted) terms or gross up the nominal target.
62
-
63
- ---
64
-
65
- ## Output Format
66
-
67
- **Retirement Snapshot**
68
- - Target nest egg, projected nest egg, gap.
69
- - Years remaining, required monthly contribution to close gap.
70
-
71
- **Projection Chart Data**
72
- - Year-by-year balance from today to retirement.
73
-
74
- **Withdrawal Plan**
75
- - Annual and monthly safe withdrawal amount.
76
- - Portfolio depletion year under different return scenarios.
77
-
78
- **Sensitivity Table**
79
- - Impact of retiring 2 years later / earlier.
80
- - Impact of +1% higher or lower return assumption.
81
-
82
- ---
83
-
84
- ## Scripts
85
- - [calculate.py](./scripts/calculate.py): Deterministic functions for this skill's core computations. Run `python3 scripts/calculate.py` to self-test; import the functions instead of doing mental math.
86
-
87
- ---
88
-
89
- ## References
90
- - [Retirement Planning Fundamentals](./references/retirement-fundamentals.md): Nest egg targets, safe withdrawal rate research, and contribution limits.
91
- - [Compound Growth Guide](./references/compound-growth.md): Time-value-of-money concepts and the power of early contributions.
92
-
93
- ---
94
-
95
- ## Related Skills
96
- - **personal-budgeting**: Identify how much of the monthly budget can be allocated to retirement contributions.
97
- - **tax-efficient-investing**: Maximise after-tax growth by choosing the right account type (traditional vs. Roth vs. taxable).
98
- - **investment-analysis**: Evaluate the asset allocation strategy inside the retirement portfolio.