@v587d/capital-generation 2.7.11 → 2.8.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.
Files changed (208) hide show
  1. package/CHANGELOG.md +76 -3
  2. package/README.md +4 -2
  3. package/chart-ui/package.json +1 -1
  4. package/config/package.json +1 -1
  5. package/lib/agents/bash-guard.d.ts +22 -17
  6. package/lib/agents/bash-guard.js +32 -28
  7. package/lib/agents/root-tool-policy.d.ts +29 -3
  8. package/lib/agents/root-tool-policy.js +100 -14
  9. package/lib/index.js +14 -8
  10. package/lib/web-retriever/local-fetch.d.ts +1 -1
  11. package/lib/web-retriever/local-fetch.js +1 -1
  12. package/lib/web-retriever/wind-client.d.ts +1 -1
  13. package/lib/web-retriever/wind-client.js +1 -1
  14. package/package.json +1 -1
  15. package/preset/capital-generation/README.md +22 -15
  16. package/preset/capital-generation/agent.patch.yml +20 -4
  17. package/preset/capital-generation/skills/capital-data-profile/SKILL.md +177 -0
  18. package/preset/capital-generation/skills/capital-data-protocol/SKILL.md +11 -269
  19. package/preset/capital-generation/skills/capital-data-query/SKILL.md +109 -0
  20. package/preset/capital-generation/skills/capital-equity-research/SKILL.md +2 -2
  21. package/preset/capital-generation/skills/capital-orchestration/SKILL.md +3 -2
  22. package/preset/capital-generation/skills/capital-web-evidence/SKILL.md +134 -0
  23. package/preset/capital-generation/skills/capital-web-protocol/SKILL.md +10 -130
  24. package/selected-skills/InvestSkill/UPSTREAM.md +18 -0
  25. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/10k-digest/SKILL.md +10 -296
  26. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/10k-digest/references/10-retrieving-the-filing.md +130 -0
  27. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/10k-digest/references/11-key-metrics-table.md +129 -0
  28. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/10k-digest/references/12-language-mode.md +60 -0
  29. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/bear-case/SKILL.md +13 -152
  30. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/bear-case/references/10-analysis-framework.md +75 -0
  31. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/bear-case/references/11-output-and-signal.md +51 -0
  32. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/bear-case/references/12-thesis-invalidation.md +44 -0
  33. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/catalyst-calendar/SKILL.md +10 -284
  34. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/catalyst-calendar/references/10-persona.md +113 -0
  35. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/catalyst-calendar/references/11-section-c-company-specific.md +108 -0
  36. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/catalyst-calendar/references/12-section-f-90-day.md +85 -0
  37. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/competitor-analysis/SKILL.md +11 -433
  38. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/competitor-analysis/references/10-overview.md +82 -0
  39. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/competitor-analysis/references/11-porter-s-five-forces.md +137 -0
  40. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/competitor-analysis/references/12-innovation-disruption-assessment.md +112 -0
  41. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/competitor-analysis/references/13-input-formats.md +130 -0
  42. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dividend-analysis/SKILL.md +12 -639
  43. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dividend-analysis/references/10-analysis-framework.md +138 -0
  44. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dividend-analysis/references/11-dividend-history-and-reliability.md +131 -0
  45. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dividend-analysis/references/12-share-buyback-analysis.md +125 -0
  46. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dividend-analysis/references/13-fcf-deployment-scorecard.md +133 -0
  47. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dividend-analysis/references/14-output.md +149 -0
  48. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-call-analysis/SKILL.md +10 -411
  49. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-call-analysis/references/10-analysis-framework.md +194 -0
  50. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-call-analysis/references/11-data-sources.md +196 -0
  51. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-call-analysis/references/12-thesis-invalidation.md +43 -0
  52. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-preview/SKILL.md +11 -234
  53. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-preview/references/10-overview.md +86 -0
  54. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-preview/references/11-phase-4-the-implied.md +60 -0
  55. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-preview/references/12-output-format.md +83 -0
  56. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-preview/references/13-standard-signal-output.md +34 -0
  57. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/economics-analysis/SKILL.md +10 -304
  58. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/economics-analysis/references/10-key-economic-indicators.md +98 -0
  59. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/economics-analysis/references/11-credit-market-indicators.md +114 -0
  60. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/economics-analysis/references/12-recession-probability-scoring.md +114 -0
  61. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/etf-analysis/SKILL.md +11 -236
  62. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/etf-analysis/references/10-overview.md +83 -0
  63. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/etf-analysis/references/11-phase-5-overlap-with.md +69 -0
  64. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/etf-analysis/references/12-output-format.md +79 -0
  65. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/etf-analysis/references/13-standard-signal-output.md +34 -0
  66. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fact-check/SKILL.md +11 -243
  67. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fact-check/references/10-overview.md +61 -0
  68. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fact-check/references/11-phase-2-source-hierarchy.md +54 -0
  69. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fact-check/references/12-phase-5-consistency.md +90 -0
  70. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fact-check/references/13-notes.md +68 -0
  71. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/financial-report-analyst/SKILL.md +11 -499
  72. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/financial-report-analyst/references/10-overview.md +143 -0
  73. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/financial-report-analyst/references/11-phase-3-financial-statement.md +167 -0
  74. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/financial-report-analyst/references/12-phase-6-management-tone.md +176 -0
  75. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/financial-report-analyst/references/13-thesis-invalidation.md +43 -0
  76. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/industry-map/SKILL.md +10 -291
  77. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/industry-map/references/10-overview.md +117 -0
  78. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/industry-map/references/11-step-3-position-locator.md +112 -0
  79. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/industry-map/references/12-visualization-support.md +84 -0
  80. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/insider-trading/SKILL.md +10 -457
  81. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/insider-trading/references/10-analysis-framework.md +185 -0
  82. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/insider-trading/references/11-pattern-recognition.md +175 -0
  83. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/insider-trading/references/12-interpretation-guidelines.md +120 -0
  84. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/institutional-ownership/SKILL.md +11 -503
  85. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/institutional-ownership/references/10-analysis-framework.md +132 -0
  86. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/institutional-ownership/references/11-ownership-concentration-analysis.md +166 -0
  87. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/institutional-ownership/references/12-red-flags-warning-signs.md +192 -0
  88. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/institutional-ownership/references/13-thesis-invalidation.md +43 -0
  89. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/learning-coach/SKILL.md +11 -264
  90. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/learning-coach/references/10-overview.md +63 -0
  91. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/learning-coach/references/11-phase-2-explanation-card.md +108 -0
  92. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/learning-coach/references/12-output-format.md +88 -0
  93. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/learning-coach/references/13-standard-signal-output.md +34 -0
  94. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/options-analysis/SKILL.md +11 -448
  95. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/options-analysis/references/10-analysis-framework.md +109 -0
  96. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/options-analysis/references/11-implied-volatility-iv-analysis.md +102 -0
  97. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/options-analysis/references/12-earnings-play-analysis.md +109 -0
  98. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/options-analysis/references/13-data-sources.md +159 -0
  99. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/portfolio-review/SKILL.md +11 -435
  100. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/portfolio-review/references/10-phase-1-portfolio-snapshot.md +124 -0
  101. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/portfolio-review/references/11-phase-6-correlation-diversification.md +124 -0
  102. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/portfolio-review/references/12-phase-9-rebalancing-decision.md +153 -0
  103. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/portfolio-review/references/13-data-verification.md +62 -0
  104. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/position-ladder/SKILL.md +11 -372
  105. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/position-ladder/references/10-overview.md +102 -0
  106. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/position-ladder/references/11-phase-3-the-trim.md +88 -0
  107. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/position-ladder/references/12-phase-6-the-thesis.md +105 -0
  108. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/position-ladder/references/13-input-formats.md +105 -0
  109. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/risk-stress-test/SKILL.md +10 -250
  110. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/risk-stress-test/references/10-overview.md +92 -0
  111. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/risk-stress-test/references/11-phase-4-correlation-spike.md +116 -0
  112. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/risk-stress-test/references/12-notes.md +65 -0
  113. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/sector-analysis/SKILL.md +11 -381
  114. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/sector-analysis/references/10-sector-overview.md +123 -0
  115. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/sector-analysis/references/11-sector-correlation-matrix.md +90 -0
  116. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/sector-analysis/references/12-peer-benchmarking-within-sector.md +92 -0
  117. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/sector-analysis/references/13-consumer-staples.md +105 -0
  118. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/short-interest/SKILL.md +10 -352
  119. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/short-interest/references/10-analysis-framework.md +110 -0
  120. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/short-interest/references/11-bearish-thesis-evaluation.md +118 -0
  121. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/short-interest/references/12-data-sources.md +148 -0
  122. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/SKILL.md +16 -603
  123. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/references/10-analysis-components.md +122 -0
  124. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/references/11-dupont-decomposition.md +121 -0
  125. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/references/12-quality-scoring-framework.md +115 -0
  126. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/references/13-dcf-framework.md +113 -0
  127. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/references/14-analyst-consensus-tracking.md +127 -0
  128. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/references/15-thesis-invalidation.md +43 -0
  129. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-screener/SKILL.md +13 -177
  130. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-screener/references/10-scoring-framework.md +85 -0
  131. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-screener/references/11-output-format.md +58 -0
  132. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-screener/references/12-invalidation-and-signal.md +51 -0
  133. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-valuation/SKILL.md +12 -595
  134. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-valuation/references/10-overview.md +133 -0
  135. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-valuation/references/11-method-2-comparable-company.md +127 -0
  136. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-valuation/references/12-football-field-summary-valuation.md +140 -0
  137. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-valuation/references/13-terminal-value-two-methods.md +121 -0
  138. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-valuation/references/14-when-dcf-is.md +110 -0
  139. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/tax-lens/SKILL.md +12 -304
  140. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/tax-lens/references/10-overview.md +73 -0
  141. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/tax-lens/references/11-phase-3-dividends-qualified.md +67 -0
  142. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/tax-lens/references/12-framework-non-us-module.md +61 -0
  143. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/tax-lens/references/13-scoring-tax-efficiency-score.md +83 -0
  144. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/tax-lens/references/14-thesis-invalidation.md +55 -0
  145. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/SKILL.md +16 -612
  146. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/references/10-chart-pattern-analysis.md +172 -0
  147. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/references/11-chart-visualization-support.md +181 -0
  148. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/references/12-multi-timeframe-analysis-mtf.md +95 -0
  149. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/references/13-advanced-indicators-ichimoku-cloud.md +61 -0
  150. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/references/14-options-flow-integration.md +95 -0
  151. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/references/15-thesis-invalidation.md +45 -0
  152. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/thesis-tracker/SKILL.md +10 -274
  153. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/thesis-tracker/references/10-overview.md +94 -0
  154. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/thesis-tracker/references/11-phase-5-the-pre.md +113 -0
  155. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/thesis-tracker/references/12-example.md +90 -0
  156. package/selected-skills/claude-for-financial-services-cn/UPSTREAM.md +1 -0
  157. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-catalyst-calendar/SKILL.md +18 -184
  158. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-catalyst-calendar/references/10-catalyst-types.md +64 -0
  159. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-catalyst-calendar/references/11-workflow-and-calendar.md +131 -0
  160. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-idea-generation/SKILL.md +16 -195
  161. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-idea-generation/references/10-workflow.md +201 -0
  162. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-sector-overview/SKILL.md +17 -156
  163. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-sector-overview/references/10-workflow.md +161 -0
  164. package/selected-skills/investment-skills/UPSTREAM.md +1 -0
  165. package/selected-skills/investment-skills/skills/buffett-investment-framework/SKILL.md +31 -122
  166. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/{01-decision-posture.md → 01-decision-posture-D01-D04.md} +0 -119
  167. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/01-decision-posture-D05-D09.md +123 -0
  168. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/02-business-economics-B01-B03.md +94 -0
  169. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/{02-business-economics.md → 02-business-economics-B04-B07.md} +3 -93
  170. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/{03-management-governance.md → 03-management-governance-M01-M04.md} +0 -93
  171. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/03-management-governance-M05-M08.md +97 -0
  172. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/04-financial-reality-F01-F03.md +95 -0
  173. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/{04-financial-reality.md → 04-financial-reality-F04-F07.md} +3 -94
  174. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/{05-valuation.md → 05-valuation-V01-V03.md} +0 -72
  175. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/05-valuation-V04-V06.md +76 -0
  176. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/{06-capital-allocation.md → 06-capital-allocation-C01-C04.md} +0 -115
  177. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/06-capital-allocation-C05-C09.md +119 -0
  178. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/{07-risk-monitoring.md → 07-risk-monitoring-R01-R03.md} +0 -94
  179. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/07-risk-monitoring-R04-R07.md +98 -0
  180. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/08-specialized-overlays-S01-S03.md +99 -0
  181. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/08-specialized-overlays-S04-S06.md +72 -0
  182. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/08-specialized-overlays-S07-S09.md +74 -0
  183. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/08-specialized-overlays-S10-S12.md +76 -0
  184. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/09-workflows.md +96 -0
  185. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/10-method.md +12 -0
  186. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/11-deterministic-router.md +11 -0
  187. package/selected-skills/peter-lynch-skill/UPSTREAM.md +1 -0
  188. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/SKILL.md +12 -86
  189. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/10-workflow.md +94 -0
  190. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/deep/methodology-1.md +220 -0
  191. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/deep/methodology-2.md +146 -0
  192. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/deep/methodology-3.md +114 -0
  193. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/deep/methodology-4.md +113 -0
  194. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/deep/methodology.md +8 -521
  195. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/deep/web-research-1.md +119 -0
  196. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/deep/web-research-2.md +82 -0
  197. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/deep/web-research-3.md +158 -0
  198. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/deep/web-research-4.md +123 -0
  199. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/deep/web-research.md +8 -454
  200. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/quick/methodology-1.md +155 -0
  201. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/quick/methodology-2.md +43 -0
  202. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/quick/methodology.md +6 -180
  203. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/quick/web-research-1.md +114 -0
  204. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/quick/web-research-2.md +180 -0
  205. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/quick/web-research-3.md +92 -0
  206. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/quick/web-research.md +7 -359
  207. package/watchlist/package.json +1 -1
  208. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/08-specialized-overlays.md +0 -309
@@ -37,302 +37,16 @@ Data & Sources
37
37
 
38
38
  Produce a clean, structured markdown document that distills a company's 10-K annual report into an abstract, per-section summaries, a digest of key metrics, and full source references. Designed for quick comprehension — not trading signals. Output language is selectable: English or Traditional Chinese (繁體中文).
39
39
 
40
- ## 🔎 Retrieving the Filing — the Keyless EDGAR Path
40
+ ## Read the Parts
41
41
 
42
- This skill fetches nothing by itself. When the user gives only a ticker, obtain the 10-K in one of three ways and record which one in the `Data & Sources` header:
42
+ Everything below the surface of this file lives in `references/`. **whole, with no line window** — quoting a rule or a template out of a slice of one is how a
43
+ file gets reported as read when it was only skimmed. The file names below are the only
44
+ addressing this entry has.
43
45
 
44
- **A. Retrieval through the host (the normal path)** → `Retrieval: delegated retrieval`. In a role-split host, delegate the fetch to the agent that owns web retrieval — this step never searches from the analysis role itself. Every step is free and needs no API key:
46
+ - `references/10-retrieving-the-filing.md` — 🔎 Retrieving the Filing — the Keyless EDGAR Path; How to Use; Output Document Structure
47
+ - `references/11-key-metrics-table.md` — (continued) Output Document Structure; References
48
+ - `references/12-language-mode.md` — Language Mode; File Output; Thesis Invalidation
45
49
 
46
- 1. **Ticker → CIK** — `https://www.sec.gov/files/company_tickers.json`: find the entry whose `ticker` matches (write `BRK-B` for `BRK.B`) and zero-pad its `cik_str` to 10 digits.
47
- 2. **Filings index** — `https://data.sec.gov/submissions/CIK##########.json`: inside `filings.recent` the arrays `form`, `filingDate`, `reportDate`, `accessionNumber` and `primaryDocument` are aligned by index. Take the newest row whose `form` is `10-K` (foreign private issuers file `20-F` instead; a `10-K/A` is an amendment). The top-level `fiscalYearEnd` is `MMDD`.
48
- 3. **The document** — `https://www.sec.gov/Archives/edgar/data/<CIK without leading zeros>/<accessionNumber without dashes>/<primaryDocument>`: the complete filing as HTML (inline XBRL). The filing's index page is the same folder plus `<accessionNumber>-index.htm`; cite that URL and the accession number in the References.
49
- 4. **Structured statement data (optional)** — `https://data.sec.gov/api/xbrl/companyfacts/CIK##########.json`: every US-GAAP fact the company has tagged, by concept and period. Use it to confirm the figures read from Item 8.
50
- 5. **Full-text search (optional)** — `https://www.sec.gov/edgar/search/#/q=%22<phrase>%22&forms=10-K` when a filing has to be located by phrase rather than ticker.
51
-
52
- Send a `User-Agent` header that identifies the requester (the SEC requires it, e.g. `Name email@example.com`) and stay under 10 requests per second. Never substitute a summary site for the filing itself.
53
-
54
- **B. Only if the host has no retrieval path at all** → `Retrieval: pasted by user`. Ask the user for the sections needed. The repository's own fetch helpers are optional, keyless, and live outside this plugin — they are never run from here.
55
-
56
- **C. Neither** → show the ⚠️ *Source unavailable* warning and digest only what the user provided. What is absent stays absent: no accession number, figure or date is filled in from memory.
57
-
58
- ---
59
-
60
- ## How to Use
61
-
62
- ```
63
- # Analyze by ticker (retrieves the latest 10-K via the EDGAR path above, or asks you to paste it)
64
- /10k-digest AAPL
65
-
66
- # Paste 10-K text directly
67
- /10k-digest [paste 10-K sections here]
68
-
69
- # Specify fiscal year
70
- /10k-digest MSFT FY2024
71
-
72
- # Output in Traditional Chinese
73
- /10k-digest NVDA --lang zh-TW
74
-
75
- # Save output to file
76
- /10k-digest GOOGL --output googl-10k-digest.md
77
- ```
78
-
79
- ---
80
-
81
- ## Output Document Structure
82
-
83
- The skill produces a single markdown document with the following sections in order.
84
-
85
- ---
86
-
87
- ### 1. Cover Block
88
-
89
- ```
90
- # [Company Name] ([TICKER]) — 10-K Digest
91
- **Fiscal Year:** [FY20XX ending MM/DD/YYYY]
92
- **Filed:** [Filing date]
93
- **Source:** SEC EDGAR — [Direct URL to filing]
94
- **Prepared:** [Today's date]
95
- **Language:** English | 繁體中文
96
- ```
97
-
98
- ---
99
-
100
- ### 2. Abstract
101
-
102
- A 3–5 sentence executive summary of the entire 10-K. Cover:
103
- - What the company does (core business in one sentence)
104
- - Year-over-year financial performance headline (revenue, profit, FCF)
105
- - The single most important strategic development disclosed in this filing
106
- - The most material risk disclosed
107
- - Overall filing tone (transparent / cautious / optimistic)
108
-
109
- ---
110
-
111
- ### 3. Section Summaries
112
-
113
- Summarize each major 10-K section. For each section, write 2–4 sentences capturing the substance — not just restating headings.
114
-
115
- #### 3.1 Business Overview (Item 1)
116
- - Core products/services and revenue model
117
- - Key markets and customer segments
118
- - Significant changes to business described in this filing (new products, acquisitions, divestitures)
119
-
120
- #### 3.2 Risk Factors (Item 1A)
121
- - Total number of risk factors disclosed
122
- - Top 3 risks by disclosure prominence (listed first, given most space, or new this year)
123
- - Any risks added or removed vs. prior filing (state "N/A if prior not available")
124
- - One-line assessment: are risks standard boilerplate or specific and material?
125
-
126
- #### 3.3 Selected Financial Data / Properties (Items 1B–2)
127
- - Key quantitative highlights from Selected Financial Data if present
128
- - Material properties or facilities disclosed
129
-
130
- #### 3.4 Management's Discussion & Analysis — MD&A (Item 7)
131
- - Revenue: total and YoY growth; organic vs. inorganic split if stated
132
- - Gross margin and operating margin trend
133
- - Management's stated explanation for performance changes
134
- - Forward-looking statements: what management guided or projected
135
- - Liquidity summary: cash position, debt level, upcoming maturities
136
-
137
- #### 3.5 Financial Statements (Items 8)
138
- - Revenue, net income, EPS (GAAP) — current year vs. prior year
139
- - Operating cash flow and free cash flow (OCF minus capex)
140
- - Total assets, total debt, shareholders' equity
141
- - Auditor name and opinion type (unqualified / qualified / adverse)
142
- - Any restatements or material changes in accounting policy noted
143
-
144
- #### 3.6 Quantitative Disclosures about Market Risk (Item 7A)
145
- - Primary market risks disclosed (interest rate, FX, commodity)
146
- - Sensitivity disclosures if provided (e.g., "1% rate rise = $X impact")
147
-
148
- #### 3.7 Controls and Procedures (Item 9A)
149
- - Management's conclusion on effectiveness of internal controls
150
- - Any material weaknesses or significant deficiencies disclosed
151
-
152
- #### 3.8 Legal Proceedings (Item 3)
153
- - Active material litigation or regulatory matters
154
- - Estimated financial exposure if disclosed
155
-
156
- #### 3.9 Executive Compensation & Governance (Items 10–13, from Proxy if incorporated)
157
- - CEO/CFO compensation summary
158
- - Board composition notes (independence, tenure)
159
- - Any significant governance changes
160
-
161
- ---
162
-
163
- ### 4. Key Metrics Table
164
-
165
- Provide a concise metrics table drawn directly from the financial statements. Use exact figures from the filing; do not estimate.
166
-
167
- ```
168
- | Metric | Current FY | Prior FY | YoY Change |
169
- |---------------------------|-----------------|-----------------|------------|
170
- | Revenue | $X.XX B | $X.XX B | +X.X% |
171
- | Gross Profit | $X.XX B | $X.XX B | +X.X% |
172
- | Gross Margin % | XX.X% | XX.X% | +X bps |
173
- | Operating Income | $X.XX B | $X.XX B | |
174
- | Operating Margin % | XX.X% | XX.X% | |
175
- | Net Income (GAAP) | $X.XX B | $X.XX B | |
176
- | EPS Diluted (GAAP) | $X.XX | $X.XX | |
177
- | Operating Cash Flow | $X.XX B | $X.XX B | |
178
- | Capital Expenditures | $X.XX B | $X.XX B | |
179
- | Free Cash Flow | $X.XX B | $X.XX B | |
180
- | Cash & Equivalents | $X.XX B | $X.XX B | |
181
- | Total Debt | $X.XX B | $X.XX B | |
182
- | Net Debt / (Net Cash) | $X.XX B | $X.XX B | |
183
- | Shares Outstanding (dil.) | X.XX B | X.XX B | |
184
- ```
185
-
186
- Note below the table: data source (filing section and page number if available).
187
-
188
- ---
189
-
190
- ### 5. Highlights & Concerns
191
-
192
- Two short lists that give the reader the "so what" without leaving the digest. Draw every item directly from the filing and cite the source Item.
193
-
194
- **Highlights** — up to 5 of the strongest positives disclosed this year (e.g., record revenue, margin expansion, new products/segments, strong FCF conversion, new buyback authorization, market-share gains). Format: `- **[Headline]** — [one sentence] *(Item X)*`
195
-
196
- **Concerns** — up to 5 of the most material negatives or warning signs (e.g., decelerating growth, margin compression, rising leverage, customer/supplier concentration, new risk factors, active litigation, going-concern language). Format: `- **[Headline]** — [one sentence] *(Item X)*`
197
-
198
- ---
199
-
200
- ### 6. Management Outlook & Forward Guidance
201
-
202
- Capture every forward-looking commitment made in the filing. Present as a table.
203
-
204
- ```
205
- | Guidance Item | What Management Said | Time Horizon | Source |
206
- |----------------------------|-------------------------------------|--------------|------------|
207
- | Revenue growth | [target / range / directional] | [FY / multi] | Item 7 |
208
- | Margin target | [gross / operating target] | [horizon] | Item 7 |
209
- | Capex / capacity | [planned spend or expansion] | [horizon] | Item 7 |
210
- | Capital allocation | [dividend / buyback / debt / M&A] | [horizon] | Item 7/8 |
211
- | Strategic priorities | [product roadmap, new markets] | [horizon] | Item 1/7 |
212
- ```
213
-
214
- Only include rows the filing actually addresses. If the 10-K gives no explicit guidance (common — 10-Ks are backward-looking), state that and summarize any qualitative forward statements instead.
215
-
216
- ---
217
-
218
- ### 7. Prior-Year Promise Tracker
219
-
220
- An accountability audit: take the forward-looking statements, targets, and stated priorities from **last year's** 10-K (Item 7 MD&A) and score whether they materialized in this year's results. This is the single most differentiating part of the digest — it measures management credibility over time.
221
-
222
- ```
223
- | Prior-Year Commitment (FY[N-1] 10-K) | FY[N] Actual Result | Verdict | Notes |
224
- |-----------------------------------------|------------------------------|-------------|------------------|
225
- | [what management said they would do] | [what actually happened] | ✅ Delivered | [brief context] |
226
- | [e.g., "expand operating margin"] | [e.g., "margin +120 bps"] | 🟡 Partial | [brief context] |
227
- | [e.g., "launch product X in H2"] | [e.g., "slipped to next FY"] | ❌ Missed | [brief context] |
228
- ```
229
-
230
- Verdict legend: ✅ Delivered · 🟡 Partial · ❌ Missed · ⏳ Too early to judge.
231
-
232
- Close with a one-line **Management Credibility read**: e.g., "4/5 prior commitments delivered — high follow-through." If the prior-year 10-K is unavailable, state `N/A — prior filing not retrieved` and skip the table.
233
-
234
- ---
235
-
236
- ### 8. Bull vs. Bear Synthesis
237
-
238
- A lightweight face-off built strictly from evidence in this filing — not a full valuation call (defer to `bear-case`, `stock-eval`, and `stock-valuation` for that).
239
-
240
- **Bull case** — 3–4 strongest points from this filing supporting the stock.
241
-
242
- **Bear case** — 3–4 strongest points from this filing arguing against it.
243
-
244
- **Net read** — one sentence weighing the two, consistent with the Investment Signal below.
245
-
246
- ---
247
-
248
- ### 9. Notable Disclosures
249
-
250
- Bullet list of up to 8 items that are worth investor attention but don't fit neatly into section summaries:
251
- - New segment or business unit disclosures
252
- - Changes in accounting estimates or policies
253
- - Related party transactions
254
- - Auditor changes
255
- - Going concern language (if any)
256
- - New share repurchase authorizations or dividend changes
257
- - Material acquisitions or divestitures announced
258
- - Specific named customers or suppliers with concentration risk
259
-
260
- ---
261
-
262
- ### 10. Source References
263
-
264
- List all sources cited in this digest. Format:
265
-
266
- ```
267
- ## References
268
-
269
- 1. **SEC EDGAR Filing** — [Company] 10-K, FY[XXXX]
270
- URL: https://www.sec.gov/cgi-bin/browse-edgar?...
271
- Filed: [Date] | Accession No.: [XXXXXXXXXX-XX-XXXXXX]
272
-
273
- 2. **Item 1 — Business** (pp. X–X of filing)
274
- 3. **Item 1A — Risk Factors** (pp. X–X of filing)
275
- 4. **Item 7 — MD&A** (pp. X–X of filing)
276
- 5. **Item 8 — Financial Statements** (pp. X–X of filing)
277
- 6. **Item 9A — Controls and Procedures** (pp. X–X of filing)
278
- 7. **Exhibit 13 / Annual Report to Shareholders** (if incorporated by reference)
279
- 8. [Any additional sources used, e.g. earnings press release, investor presentation]
280
- ```
281
-
282
- If page numbers are unavailable (e.g., pasted text), reference by Item number and section heading.
283
-
284
- ---
285
-
286
- ## Language Mode
287
-
288
- When `--lang zh-TW` is specified, output the **entire document** in Traditional Chinese (繁體中文), including:
289
- - All section headings translated
290
- - All narrative summaries written in Traditional Chinese
291
- - All tables with Chinese column headers
292
- - Cover block language field: `語言:繁體中文`
293
- - Keep ticker symbols, financial figures, and SEC item numbers in their original form
294
-
295
- Suggested Traditional Chinese headings for the interpretation sections: 亮點與隱憂 (Highlights & Concerns), 管理層展望 (Management Outlook & Forward Guidance), 上年度承諾兌現 (Prior-Year Promise Tracker), 多空對決 (Bull vs. Bear Synthesis).
296
-
297
- English mode is the default when no `--lang` flag is given.
298
-
299
- ---
300
-
301
- ## File Output
302
-
303
- When `--output <filename>` is specified:
304
- - Save the digest as a markdown file at the specified path
305
- - If no path separator is present, save in the current directory
306
- - Confirm the file path after saving: `✓ Digest saved to: <path>`
307
- - Default filename if `--output` flag is present without a name: `<TICKER>-10k-digest.md`
308
-
309
- ---
310
-
311
- ## Thesis Invalidation
312
-
313
- After delivering the digest, note what would make this document stale:
314
-
315
- **Re-run this digest when:**
316
- - [ ] Company files next 10-K or 10-K/A amendment
317
- - [ ] Material 8-K filed disclosing a restatement or auditor change
318
- - [ ] 12 months have elapsed since the filing date
319
-
320
- ```
321
- ╔══════════════════════════════════════════════╗
322
- ║ INVESTMENT SIGNAL ║
323
- ╠══════════════════════════════════════════════╣
324
- ║ Signal: BULLISH / NEUTRAL / BEARISH ║
325
- ║ Confidence: HIGH / MEDIUM / LOW ║
326
- ║ Horizon: SHORT / MEDIUM / LONG-TERM ║
327
- ║ Score: X.X / 10 ║
328
- ╠══════════════════════════════════════════════╣
329
- ║ Action: BUY / HOLD / SELL ║
330
- ║ Conviction: STRONG / MODERATE / WEAK ║
331
- ╚══════════════════════════════════════════════╝
332
- ```
333
-
334
- Score Guide: 8.0–10.0 Strongly Bullish | 6.0–7.9 Moderately Bullish | 4.0–5.9 Neutral | 2.0–3.9 Moderately Bearish | 0.0–1.9 Strongly Bearish
335
- Confidence: HIGH (strong data, clear signals) | MEDIUM (mixed signals) | LOW (limited data, conflicting signals)
336
- Horizon: SHORT-TERM (1 week–3 months) | MEDIUM-TERM (3 months–1 year) | LONG-TERM (1+ years)
337
-
338
- **Disclaimer:** Educational analysis only. Not financial advice.
50
+ Loading this file is not reading the skill: the steps, templates, and thresholds exist only
51
+ in the parts above. Say which parts you opened, name the ones you did not, and never report a
52
+ step or a template you have not read in this session.
@@ -0,0 +1,130 @@
1
+ # 🔎 Retrieving the Filing — the Keyless EDGAR Path
2
+
3
+ Part 1 of 3 for `10k-digest` — 🔎 Retrieving the Filing — the Keyless EDGAR Path; How to Use; Output Document Structure
4
+ See `SKILL.md` for what to read and when; this part is procedure, not routing.
5
+
6
+ ## 🔎 Retrieving the Filing — the Keyless EDGAR Path
7
+
8
+ This skill fetches nothing by itself. When the user gives only a ticker, obtain the 10-K in one of three ways and record which one in the `Data & Sources` header:
9
+
10
+ **A. Retrieval through the host (the normal path)** → `Retrieval: delegated retrieval`. In a role-split host, delegate the fetch to the agent that owns web retrieval — this step never searches from the analysis role itself. Every step is free and needs no API key:
11
+
12
+ 1. **Ticker → CIK** — `https://www.sec.gov/files/company_tickers.json`: find the entry whose `ticker` matches (write `BRK-B` for `BRK.B`) and zero-pad its `cik_str` to 10 digits.
13
+ 2. **Filings index** — `https://data.sec.gov/submissions/CIK##########.json`: inside `filings.recent` the arrays `form`, `filingDate`, `reportDate`, `accessionNumber` and `primaryDocument` are aligned by index. Take the newest row whose `form` is `10-K` (foreign private issuers file `20-F` instead; a `10-K/A` is an amendment). The top-level `fiscalYearEnd` is `MMDD`.
14
+ 3. **The document** — `https://www.sec.gov/Archives/edgar/data/<CIK without leading zeros>/<accessionNumber without dashes>/<primaryDocument>`: the complete filing as HTML (inline XBRL). The filing's index page is the same folder plus `<accessionNumber>-index.htm`; cite that URL and the accession number in the References.
15
+ 4. **Structured statement data (optional)** — `https://data.sec.gov/api/xbrl/companyfacts/CIK##########.json`: every US-GAAP fact the company has tagged, by concept and period. Use it to confirm the figures read from Item 8.
16
+ 5. **Full-text search (optional)** — `https://www.sec.gov/edgar/search/#/q=%22<phrase>%22&forms=10-K` when a filing has to be located by phrase rather than ticker.
17
+
18
+ Send a `User-Agent` header that identifies the requester (the SEC requires it, e.g. `Name email@example.com`) and stay under 10 requests per second. Never substitute a summary site for the filing itself.
19
+
20
+ **B. Only if the host has no retrieval path at all** → `Retrieval: pasted by user`. Ask the user for the sections needed. The repository's own fetch helpers are optional, keyless, and live outside this plugin — they are never run from here.
21
+
22
+ **C. Neither** → show the ⚠️ *Source unavailable* warning and digest only what the user provided. What is absent stays absent: no accession number, figure or date is filled in from memory.
23
+
24
+ ---
25
+
26
+ ## How to Use
27
+
28
+ ```
29
+ # Analyze by ticker (retrieves the latest 10-K via the EDGAR path above, or asks you to paste it)
30
+ /10k-digest AAPL
31
+
32
+ # Paste 10-K text directly
33
+ /10k-digest [paste 10-K sections here]
34
+
35
+ # Specify fiscal year
36
+ /10k-digest MSFT FY2024
37
+
38
+ # Output in Traditional Chinese
39
+ /10k-digest NVDA --lang zh-TW
40
+
41
+ # Save output to file
42
+ /10k-digest GOOGL --output googl-10k-digest.md
43
+ ```
44
+
45
+ ---
46
+
47
+ ## Output Document Structure
48
+
49
+ The skill produces a single markdown document with the following sections in order.
50
+
51
+ ---
52
+
53
+ ### 1. Cover Block
54
+
55
+ ```
56
+ # [Company Name] ([TICKER]) — 10-K Digest
57
+ **Fiscal Year:** [FY20XX ending MM/DD/YYYY]
58
+ **Filed:** [Filing date]
59
+ **Source:** SEC EDGAR — [Direct URL to filing]
60
+ **Prepared:** [Today's date]
61
+ **Language:** English | 繁體中文
62
+ ```
63
+
64
+ ---
65
+
66
+ ### 2. Abstract
67
+
68
+ A 3–5 sentence executive summary of the entire 10-K. Cover:
69
+ - What the company does (core business in one sentence)
70
+ - Year-over-year financial performance headline (revenue, profit, FCF)
71
+ - The single most important strategic development disclosed in this filing
72
+ - The most material risk disclosed
73
+ - Overall filing tone (transparent / cautious / optimistic)
74
+
75
+ ---
76
+
77
+ ### 3. Section Summaries
78
+
79
+ Summarize each major 10-K section. For each section, write 2–4 sentences capturing the substance — not just restating headings.
80
+
81
+ #### 3.1 Business Overview (Item 1)
82
+ - Core products/services and revenue model
83
+ - Key markets and customer segments
84
+ - Significant changes to business described in this filing (new products, acquisitions, divestitures)
85
+
86
+ #### 3.2 Risk Factors (Item 1A)
87
+ - Total number of risk factors disclosed
88
+ - Top 3 risks by disclosure prominence (listed first, given most space, or new this year)
89
+ - Any risks added or removed vs. prior filing (state "N/A if prior not available")
90
+ - One-line assessment: are risks standard boilerplate or specific and material?
91
+
92
+ #### 3.3 Selected Financial Data / Properties (Items 1B–2)
93
+ - Key quantitative highlights from Selected Financial Data if present
94
+ - Material properties or facilities disclosed
95
+
96
+ #### 3.4 Management's Discussion & Analysis — MD&A (Item 7)
97
+ - Revenue: total and YoY growth; organic vs. inorganic split if stated
98
+ - Gross margin and operating margin trend
99
+ - Management's stated explanation for performance changes
100
+ - Forward-looking statements: what management guided or projected
101
+ - Liquidity summary: cash position, debt level, upcoming maturities
102
+
103
+ #### 3.5 Financial Statements (Items 8)
104
+ - Revenue, net income, EPS (GAAP) — current year vs. prior year
105
+ - Operating cash flow and free cash flow (OCF minus capex)
106
+ - Total assets, total debt, shareholders' equity
107
+ - Auditor name and opinion type (unqualified / qualified / adverse)
108
+ - Any restatements or material changes in accounting policy noted
109
+
110
+ #### 3.6 Quantitative Disclosures about Market Risk (Item 7A)
111
+ - Primary market risks disclosed (interest rate, FX, commodity)
112
+ - Sensitivity disclosures if provided (e.g., "1% rate rise = $X impact")
113
+
114
+ #### 3.7 Controls and Procedures (Item 9A)
115
+ - Management's conclusion on effectiveness of internal controls
116
+ - Any material weaknesses or significant deficiencies disclosed
117
+
118
+ #### 3.8 Legal Proceedings (Item 3)
119
+ - Active material litigation or regulatory matters
120
+ - Estimated financial exposure if disclosed
121
+
122
+ #### 3.9 Executive Compensation & Governance (Items 10–13, from Proxy if incorporated)
123
+ - CEO/CFO compensation summary
124
+ - Board composition notes (independence, tenure)
125
+ - Any significant governance changes
126
+
127
+ ---
128
+
129
+
130
+ This section is not finished here: `Output Document Structure` continues in `references/11-key-metrics-table.md`.
@@ -0,0 +1,129 @@
1
+ # Output Document Structure(continued)
2
+
3
+ Part 2 of 3 for `10k-digest` — Output Document Structure; References
4
+ See `SKILL.md` for what to read and when; this part is procedure, not routing.
5
+
6
+ ### 4. Key Metrics Table
7
+
8
+ Provide a concise metrics table drawn directly from the financial statements. Use exact figures from the filing; do not estimate.
9
+
10
+ ```
11
+ | Metric | Current FY | Prior FY | YoY Change |
12
+ |---------------------------|-----------------|-----------------|------------|
13
+ | Revenue | $X.XX B | $X.XX B | +X.X% |
14
+ | Gross Profit | $X.XX B | $X.XX B | +X.X% |
15
+ | Gross Margin % | XX.X% | XX.X% | +X bps |
16
+ | Operating Income | $X.XX B | $X.XX B | |
17
+ | Operating Margin % | XX.X% | XX.X% | |
18
+ | Net Income (GAAP) | $X.XX B | $X.XX B | |
19
+ | EPS Diluted (GAAP) | $X.XX | $X.XX | |
20
+ | Operating Cash Flow | $X.XX B | $X.XX B | |
21
+ | Capital Expenditures | $X.XX B | $X.XX B | |
22
+ | Free Cash Flow | $X.XX B | $X.XX B | |
23
+ | Cash & Equivalents | $X.XX B | $X.XX B | |
24
+ | Total Debt | $X.XX B | $X.XX B | |
25
+ | Net Debt / (Net Cash) | $X.XX B | $X.XX B | |
26
+ | Shares Outstanding (dil.) | X.XX B | X.XX B | |
27
+ ```
28
+
29
+ Note below the table: data source (filing section and page number if available).
30
+
31
+ ---
32
+
33
+ ### 5. Highlights & Concerns
34
+
35
+ Two short lists that give the reader the "so what" without leaving the digest. Draw every item directly from the filing and cite the source Item.
36
+
37
+ **Highlights** — up to 5 of the strongest positives disclosed this year (e.g., record revenue, margin expansion, new products/segments, strong FCF conversion, new buyback authorization, market-share gains). Format: `- **[Headline]** — [one sentence] *(Item X)*`
38
+
39
+ **Concerns** — up to 5 of the most material negatives or warning signs (e.g., decelerating growth, margin compression, rising leverage, customer/supplier concentration, new risk factors, active litigation, going-concern language). Format: `- **[Headline]** — [one sentence] *(Item X)*`
40
+
41
+ ---
42
+
43
+ ### 6. Management Outlook & Forward Guidance
44
+
45
+ Capture every forward-looking commitment made in the filing. Present as a table.
46
+
47
+ ```
48
+ | Guidance Item | What Management Said | Time Horizon | Source |
49
+ |----------------------------|-------------------------------------|--------------|------------|
50
+ | Revenue growth | [target / range / directional] | [FY / multi] | Item 7 |
51
+ | Margin target | [gross / operating target] | [horizon] | Item 7 |
52
+ | Capex / capacity | [planned spend or expansion] | [horizon] | Item 7 |
53
+ | Capital allocation | [dividend / buyback / debt / M&A] | [horizon] | Item 7/8 |
54
+ | Strategic priorities | [product roadmap, new markets] | [horizon] | Item 1/7 |
55
+ ```
56
+
57
+ Only include rows the filing actually addresses. If the 10-K gives no explicit guidance (common — 10-Ks are backward-looking), state that and summarize any qualitative forward statements instead.
58
+
59
+ ---
60
+
61
+ ### 7. Prior-Year Promise Tracker
62
+
63
+ An accountability audit: take the forward-looking statements, targets, and stated priorities from **last year's** 10-K (Item 7 MD&A) and score whether they materialized in this year's results. This is the single most differentiating part of the digest — it measures management credibility over time.
64
+
65
+ ```
66
+ | Prior-Year Commitment (FY[N-1] 10-K) | FY[N] Actual Result | Verdict | Notes |
67
+ |-----------------------------------------|------------------------------|-------------|------------------|
68
+ | [what management said they would do] | [what actually happened] | ✅ Delivered | [brief context] |
69
+ | [e.g., "expand operating margin"] | [e.g., "margin +120 bps"] | 🟡 Partial | [brief context] |
70
+ | [e.g., "launch product X in H2"] | [e.g., "slipped to next FY"] | ❌ Missed | [brief context] |
71
+ ```
72
+
73
+ Verdict legend: ✅ Delivered · 🟡 Partial · ❌ Missed · ⏳ Too early to judge.
74
+
75
+ Close with a one-line **Management Credibility read**: e.g., "4/5 prior commitments delivered — high follow-through." If the prior-year 10-K is unavailable, state `N/A — prior filing not retrieved` and skip the table.
76
+
77
+ ---
78
+
79
+ ### 8. Bull vs. Bear Synthesis
80
+
81
+ A lightweight face-off built strictly from evidence in this filing — not a full valuation call (defer to `bear-case`, `stock-eval`, and `stock-valuation` for that).
82
+
83
+ **Bull case** — 3–4 strongest points from this filing supporting the stock.
84
+
85
+ **Bear case** — 3–4 strongest points from this filing arguing against it.
86
+
87
+ **Net read** — one sentence weighing the two, consistent with the Investment Signal below.
88
+
89
+ ---
90
+
91
+ ### 9. Notable Disclosures
92
+
93
+ Bullet list of up to 8 items that are worth investor attention but don't fit neatly into section summaries:
94
+ - New segment or business unit disclosures
95
+ - Changes in accounting estimates or policies
96
+ - Related party transactions
97
+ - Auditor changes
98
+ - Going concern language (if any)
99
+ - New share repurchase authorizations or dividend changes
100
+ - Material acquisitions or divestitures announced
101
+ - Specific named customers or suppliers with concentration risk
102
+
103
+ ---
104
+
105
+ ### 10. Source References
106
+
107
+ List all sources cited in this digest. Format:
108
+
109
+ ```
110
+ ## References
111
+
112
+ 1. **SEC EDGAR Filing** — [Company] 10-K, FY[XXXX]
113
+ URL: https://www.sec.gov/cgi-bin/browse-edgar?...
114
+ Filed: [Date] | Accession No.: [XXXXXXXXXX-XX-XXXXXX]
115
+
116
+ 2. **Item 1 — Business** (pp. X–X of filing)
117
+ 3. **Item 1A — Risk Factors** (pp. X–X of filing)
118
+ 4. **Item 7 — MD&A** (pp. X–X of filing)
119
+ 5. **Item 8 — Financial Statements** (pp. X–X of filing)
120
+ 6. **Item 9A — Controls and Procedures** (pp. X–X of filing)
121
+ 7. **Exhibit 13 / Annual Report to Shareholders** (if incorporated by reference)
122
+ 8. [Any additional sources used, e.g. earnings press release, investor presentation]
123
+ ```
124
+
125
+ If page numbers are unavailable (e.g., pasted text), reference by Item number and section heading.
126
+
127
+ ---
128
+
129
+
@@ -0,0 +1,60 @@
1
+ # Language Mode
2
+
3
+ Part 3 of 3 for `10k-digest` — Language Mode; File Output; Thesis Invalidation
4
+ See `SKILL.md` for what to read and when; this part is procedure, not routing.
5
+
6
+ ## Language Mode
7
+
8
+ When `--lang zh-TW` is specified, output the **entire document** in Traditional Chinese (繁體中文), including:
9
+ - All section headings translated
10
+ - All narrative summaries written in Traditional Chinese
11
+ - All tables with Chinese column headers
12
+ - Cover block language field: `語言:繁體中文`
13
+ - Keep ticker symbols, financial figures, and SEC item numbers in their original form
14
+
15
+ Suggested Traditional Chinese headings for the interpretation sections: 亮點與隱憂 (Highlights & Concerns), 管理層展望 (Management Outlook & Forward Guidance), 上年度承諾兌現 (Prior-Year Promise Tracker), 多空對決 (Bull vs. Bear Synthesis).
16
+
17
+ English mode is the default when no `--lang` flag is given.
18
+
19
+ ---
20
+
21
+ ## File Output
22
+
23
+ When `--output <filename>` is specified:
24
+ - Save the digest as a markdown file at the specified path
25
+ - If no path separator is present, save in the current directory
26
+ - Confirm the file path after saving: `✓ Digest saved to: <path>`
27
+ - Default filename if `--output` flag is present without a name: `<TICKER>-10k-digest.md`
28
+
29
+ ---
30
+
31
+ ## Thesis Invalidation
32
+
33
+ After delivering the digest, note what would make this document stale:
34
+
35
+ **Re-run this digest when:**
36
+ - [ ] Company files next 10-K or 10-K/A amendment
37
+ - [ ] Material 8-K filed disclosing a restatement or auditor change
38
+ - [ ] 12 months have elapsed since the filing date
39
+
40
+ ```
41
+ ╔══════════════════════════════════════════════╗
42
+ ║ INVESTMENT SIGNAL ║
43
+ ╠══════════════════════════════════════════════╣
44
+ ║ Signal: BULLISH / NEUTRAL / BEARISH ║
45
+ ║ Confidence: HIGH / MEDIUM / LOW ║
46
+ ║ Horizon: SHORT / MEDIUM / LONG-TERM ║
47
+ ║ Score: X.X / 10 ║
48
+ ╠══════════════════════════════════════════════╣
49
+ ║ Action: BUY / HOLD / SELL ║
50
+ ║ Conviction: STRONG / MODERATE / WEAK ║
51
+ ╚══════════════════════════════════════════════╝
52
+ ```
53
+
54
+ Score Guide: 8.0–10.0 Strongly Bullish | 6.0–7.9 Moderately Bullish | 4.0–5.9 Neutral | 2.0–3.9 Moderately Bearish | 0.0–1.9 Strongly Bearish
55
+ Confidence: HIGH (strong data, clear signals) | MEDIUM (mixed signals) | LOW (limited data, conflicting signals)
56
+ Horizon: SHORT-TERM (1 week–3 months) | MEDIUM-TERM (3 months–1 year) | LONG-TERM (1+ years)
57
+
58
+ **Disclaimer:** Educational analysis only. Not financial advice.
59
+
60
+