@v587d/capital-generation 2.7.12 → 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 (148) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +3 -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 +14 -1
  17. package/selected-skills/InvestSkill/UPSTREAM.md +17 -0
  18. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/10k-digest/SKILL.md +10 -296
  19. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/10k-digest/references/10-retrieving-the-filing.md +130 -0
  20. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/10k-digest/references/11-key-metrics-table.md +129 -0
  21. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/10k-digest/references/12-language-mode.md +60 -0
  22. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/bear-case/SKILL.md +5 -3
  23. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/catalyst-calendar/SKILL.md +10 -284
  24. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/catalyst-calendar/references/10-persona.md +113 -0
  25. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/catalyst-calendar/references/11-section-c-company-specific.md +108 -0
  26. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/catalyst-calendar/references/12-section-f-90-day.md +85 -0
  27. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/competitor-analysis/SKILL.md +11 -433
  28. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/competitor-analysis/references/10-overview.md +82 -0
  29. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/competitor-analysis/references/11-porter-s-five-forces.md +137 -0
  30. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/competitor-analysis/references/12-innovation-disruption-assessment.md +112 -0
  31. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/competitor-analysis/references/13-input-formats.md +130 -0
  32. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dividend-analysis/SKILL.md +12 -639
  33. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dividend-analysis/references/10-analysis-framework.md +138 -0
  34. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dividend-analysis/references/11-dividend-history-and-reliability.md +131 -0
  35. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dividend-analysis/references/12-share-buyback-analysis.md +125 -0
  36. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dividend-analysis/references/13-fcf-deployment-scorecard.md +133 -0
  37. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dividend-analysis/references/14-output.md +149 -0
  38. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-call-analysis/SKILL.md +10 -411
  39. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-call-analysis/references/10-analysis-framework.md +194 -0
  40. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-call-analysis/references/11-data-sources.md +196 -0
  41. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-call-analysis/references/12-thesis-invalidation.md +43 -0
  42. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-preview/SKILL.md +11 -234
  43. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-preview/references/10-overview.md +86 -0
  44. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-preview/references/11-phase-4-the-implied.md +60 -0
  45. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-preview/references/12-output-format.md +83 -0
  46. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-preview/references/13-standard-signal-output.md +34 -0
  47. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/economics-analysis/SKILL.md +10 -304
  48. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/economics-analysis/references/10-key-economic-indicators.md +98 -0
  49. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/economics-analysis/references/11-credit-market-indicators.md +114 -0
  50. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/economics-analysis/references/12-recession-probability-scoring.md +114 -0
  51. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/etf-analysis/SKILL.md +11 -236
  52. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/etf-analysis/references/10-overview.md +83 -0
  53. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/etf-analysis/references/11-phase-5-overlap-with.md +69 -0
  54. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/etf-analysis/references/12-output-format.md +79 -0
  55. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/etf-analysis/references/13-standard-signal-output.md +34 -0
  56. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fact-check/SKILL.md +11 -243
  57. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fact-check/references/10-overview.md +61 -0
  58. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fact-check/references/11-phase-2-source-hierarchy.md +54 -0
  59. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fact-check/references/12-phase-5-consistency.md +90 -0
  60. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fact-check/references/13-notes.md +68 -0
  61. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/financial-report-analyst/SKILL.md +11 -499
  62. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/financial-report-analyst/references/10-overview.md +143 -0
  63. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/financial-report-analyst/references/11-phase-3-financial-statement.md +167 -0
  64. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/financial-report-analyst/references/12-phase-6-management-tone.md +176 -0
  65. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/financial-report-analyst/references/13-thesis-invalidation.md +43 -0
  66. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/industry-map/SKILL.md +10 -291
  67. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/industry-map/references/10-overview.md +117 -0
  68. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/industry-map/references/11-step-3-position-locator.md +112 -0
  69. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/industry-map/references/12-visualization-support.md +84 -0
  70. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/insider-trading/SKILL.md +10 -457
  71. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/insider-trading/references/10-analysis-framework.md +185 -0
  72. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/insider-trading/references/11-pattern-recognition.md +175 -0
  73. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/insider-trading/references/12-interpretation-guidelines.md +120 -0
  74. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/institutional-ownership/SKILL.md +11 -503
  75. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/institutional-ownership/references/10-analysis-framework.md +132 -0
  76. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/institutional-ownership/references/11-ownership-concentration-analysis.md +166 -0
  77. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/institutional-ownership/references/12-red-flags-warning-signs.md +192 -0
  78. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/institutional-ownership/references/13-thesis-invalidation.md +43 -0
  79. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/learning-coach/SKILL.md +11 -264
  80. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/learning-coach/references/10-overview.md +63 -0
  81. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/learning-coach/references/11-phase-2-explanation-card.md +108 -0
  82. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/learning-coach/references/12-output-format.md +88 -0
  83. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/learning-coach/references/13-standard-signal-output.md +34 -0
  84. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/options-analysis/SKILL.md +11 -448
  85. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/options-analysis/references/10-analysis-framework.md +109 -0
  86. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/options-analysis/references/11-implied-volatility-iv-analysis.md +102 -0
  87. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/options-analysis/references/12-earnings-play-analysis.md +109 -0
  88. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/options-analysis/references/13-data-sources.md +159 -0
  89. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/portfolio-review/SKILL.md +11 -435
  90. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/portfolio-review/references/10-phase-1-portfolio-snapshot.md +124 -0
  91. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/portfolio-review/references/11-phase-6-correlation-diversification.md +124 -0
  92. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/portfolio-review/references/12-phase-9-rebalancing-decision.md +153 -0
  93. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/portfolio-review/references/13-data-verification.md +62 -0
  94. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/position-ladder/SKILL.md +11 -372
  95. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/position-ladder/references/10-overview.md +102 -0
  96. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/position-ladder/references/11-phase-3-the-trim.md +88 -0
  97. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/position-ladder/references/12-phase-6-the-thesis.md +105 -0
  98. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/position-ladder/references/13-input-formats.md +105 -0
  99. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/risk-stress-test/SKILL.md +10 -250
  100. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/risk-stress-test/references/10-overview.md +92 -0
  101. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/risk-stress-test/references/11-phase-4-correlation-spike.md +116 -0
  102. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/risk-stress-test/references/12-notes.md +65 -0
  103. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/sector-analysis/SKILL.md +11 -381
  104. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/sector-analysis/references/10-sector-overview.md +123 -0
  105. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/sector-analysis/references/11-sector-correlation-matrix.md +90 -0
  106. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/sector-analysis/references/12-peer-benchmarking-within-sector.md +92 -0
  107. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/sector-analysis/references/13-consumer-staples.md +105 -0
  108. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/short-interest/SKILL.md +10 -352
  109. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/short-interest/references/10-analysis-framework.md +110 -0
  110. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/short-interest/references/11-bearish-thesis-evaluation.md +118 -0
  111. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/short-interest/references/12-data-sources.md +148 -0
  112. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/SKILL.md +16 -603
  113. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/references/10-analysis-components.md +122 -0
  114. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/references/11-dupont-decomposition.md +121 -0
  115. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/references/12-quality-scoring-framework.md +115 -0
  116. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/references/13-dcf-framework.md +113 -0
  117. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/references/14-analyst-consensus-tracking.md +127 -0
  118. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/references/15-thesis-invalidation.md +43 -0
  119. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-screener/SKILL.md +5 -3
  120. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-valuation/SKILL.md +12 -595
  121. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-valuation/references/10-overview.md +133 -0
  122. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-valuation/references/11-method-2-comparable-company.md +127 -0
  123. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-valuation/references/12-football-field-summary-valuation.md +140 -0
  124. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-valuation/references/13-terminal-value-two-methods.md +121 -0
  125. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-valuation/references/14-when-dcf-is.md +110 -0
  126. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/tax-lens/SKILL.md +12 -304
  127. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/tax-lens/references/10-overview.md +73 -0
  128. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/tax-lens/references/11-phase-3-dividends-qualified.md +67 -0
  129. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/tax-lens/references/12-framework-non-us-module.md +61 -0
  130. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/tax-lens/references/13-scoring-tax-efficiency-score.md +83 -0
  131. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/tax-lens/references/14-thesis-invalidation.md +55 -0
  132. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/SKILL.md +16 -612
  133. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/references/10-chart-pattern-analysis.md +172 -0
  134. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/references/11-chart-visualization-support.md +181 -0
  135. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/references/12-multi-timeframe-analysis-mtf.md +95 -0
  136. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/references/13-advanced-indicators-ichimoku-cloud.md +61 -0
  137. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/references/14-options-flow-integration.md +95 -0
  138. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/references/15-thesis-invalidation.md +45 -0
  139. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/thesis-tracker/SKILL.md +10 -274
  140. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/thesis-tracker/references/10-overview.md +94 -0
  141. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/thesis-tracker/references/11-phase-5-the-pre.md +113 -0
  142. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/thesis-tracker/references/12-example.md +90 -0
  143. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-catalyst-calendar/SKILL.md +5 -3
  144. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-idea-generation/SKILL.md +5 -3
  145. package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-sector-overview/SKILL.md +5 -3
  146. package/selected-skills/investment-skills/skills/buffett-investment-framework/SKILL.md +1 -1
  147. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/SKILL.md +5 -3
  148. package/watchlist/package.json +1 -1
@@ -45,6 +45,8 @@
45
45
  最终答:工具完成后再答,必须含结论、关键证据与来源标注、局限与风险;归因准确,给出观察 / 验证 / 防守选项;勿只报“已交付/已完成”。
46
46
 
47
47
  # RULES & DISCIPLINE
48
+ 读文件只用 read:只读 skill 分册与工作区文件;不读 capital-data/ 落盘(原始行走回传),不读 ~/.dsh/;
49
+ 分册整册读完才算读过。
48
50
  用户倾向与外界观点皆为待检验假设;发现造假、质押、现金流或流动性风险时如实说明并给边界,不制造恐慌。
49
51
  仅在有可复现模型或回测时报告胜率 / 盈亏比 / 概率,并披露区间、样本、费用、方法与失效条件;否则明确「无法可靠测算」。
50
52
  不索取凭据与不必要仓位信息;不保证收益或准确率;极端行情与数据延迟如实说明局限。
@@ -130,7 +132,7 @@
130
132
  不得冒充行情证据或补位缺失能力。不支持的频率如实披露,用已有粒度降级,不编造。
131
133
 
132
134
 
133
- # ── shell:只给 data_junior(主 Agent 由 root-tool-policy 在自己 scope 上 deny)──────
135
+ # ── shell:主 Agent 与 data_junior 共用(2026-10-15「开 read、同时保留 bash」)────
134
136
  # 边界、为什么不按命令内容 deny、平台门控:见同目录 README.md 的「bash」一节。
135
137
  - id: tool-bash
136
138
  name: '@deepseek-ai/dsh-tool-bash'
@@ -145,6 +147,12 @@
145
147
  config:
146
148
  enableRunInBackground: false
147
149
 
150
+ # ── 文件口:read 开给主 Agent 读 skill 分册 / 工作区文件(2026-10-15 用户决策)────
151
+ # `tool-fs` 一颗挂 read / write / edit:write / edit 由根侧收敛 + 全局写口闸门拦
152
+ # (src/agents/root-tool-policy.ts),落盘只走工具实现;tool-fs-search 本轮不挂。
153
+ - id: tool-fs
154
+ name: '@deepseek-ai/dsh-tool-fs'
155
+
148
156
  - id: tool-subagent-data-collector
149
157
  name: '@deepseek-ai/dsh-tool-subagent'
150
158
  config:
@@ -418,6 +426,11 @@
418
426
  toolFilter:
419
427
  deny:
420
428
  - !!js "process.platform === 'win32' ? 'pwsh' : 'bash'"
429
+ # 文件口全关:通用 child 不得读 raw.json(原始 rows 永不出工具层)也不得写;
430
+ # read_image 刻意不点名(条件注册,名字不在 = 创建子 Agent 失败,且它只读)。
431
+ - read
432
+ - write
433
+ - edit
421
434
  - render_chart
422
435
  - prepare_chart_source
423
436
  - describe_dataset
@@ -60,6 +60,23 @@
60
60
  - Maintenance snapshot(checked 2026-10-10):251 次提交;近 90 天 47 次非机器人提交、近 180 天 111 次;
61
61
  最新 release `v1.12.0`(2026-09-25)。维护活跃,因此标 `experimental`。
62
62
  See [GitHub commit history](https://github.com/yennanliu/InvestSkill/commits/main/).
63
+ - Visibility layering, second batch (2026-10-15, same §8.6 reason): the remaining **25** catalogued entries in this
64
+ snapshot were single-file bodies of 15,437–31,754 characters — every one of them arrived as a truncated excerpt
65
+ (head 4,096 + tail 1,024) once a user ticked it. All 25 are now entry file plus parts under `skills/<name>/references/`:
66
+ the entry keeps only what holds on every round (`⚠️ Data Verification`, `📋 Data & Sources Header`, and
67
+ `⚠️ Read This First` where upstream wrote one), gains an index of the part filenames, and states that loading the
68
+ entry is not reading the skill. Everything else moves **in section order** into `references/10…`, splitting a
69
+ section that still overflows at `###`, then `####`, then blank-line paragraphs — and a section cut across two parts
70
+ gets a one-line pointer at the cut (`This section is not finished here: … continues in references/NN-….md`), which
71
+ is why prose like "the following sections" still lands: across the whole batch exactly **one** real dangling pointer
72
+ had to be rewritten (`learning-coach`: "the quiz block from §4" → the part that now holds §4). Nothing was deleted —
73
+ a line-set check per entry found zero lost lines apart from that rewrite, and each directory's `.md` total grew
74
+ (e.g. `stock-eval` 31,754 → 34,135, `earnings-call-analysis` 15,437 → 16,873; 98 new parts in total). Sizes are judged
75
+ on the **rendered** `read` receipt, with the part header itself reserved inside the envelope. Two upstream quirks are
76
+ deliberately left alone: `institutional-ownership` mentions "the smart-money list above" that upstream never defines,
77
+ and `fact-check`'s example table cites `§1…§5` of **the report being verified**, not of this skill — neither is a
78
+ layering artefact. `test/selected-skills-content.test.mjs` (LAYERED, now 32 entries) and the ratchet in
79
+ `test/persona.test.mjs` (baseline emptied, so any future oversized entry fails outright) hold the result.
63
80
  - Visibility layering (2026-10-14, third allowed reason in `docs/dev/selected-skills.md` §8.6): `bear-case` and `stock-screener` had a single `SKILL.md` over the host load cap (8,192 code points; the middle of a longer tool result comes back as `[... tool result middle pruned ...]`). Each is now an entry file plus parts under `skills/<name>/references/`: `bear-case` 13,816 → 15,218 characters with `10-analysis-framework.md`, `11-output-and-signal.md`, `12-thesis-invalidation.md`; `stock-screener` 11,588 → 12,961 with `10-scoring-framework.md`, `11-output-format.md`, `12-invalidation-and-signal.md`. The entry keeps its per-round discipline sections (Data Verification, the Data & Sources header, Read This First / Accepted Inputs) and gains an index of the parts plus a line saying that loading the entry is not reading the skill. No line of upstream text was deleted: a line-set check against this commit found only the rewritten pointer lines, plus two cross-file pointers fixed (`pillars 1–7 above` → the file that now holds them, and the same for `The Score above`). MIT, so no per-file licence notice is required. Sizes are judged on the **rendered** `read` receipt (each line gains an `N: ` prefix), not on file characters — see `test/selected-skills-content.test.mjs`.
64
81
  - Runtime status: `experimental` / 显式实验。默认全关,只在使用者于「插件」→ Capital Generation →「配置」
65
82
  逐格打开后,对**之后新建**的 Capital 根 Agent 可见;子 Agent 不继承。
@@ -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
+