@v587d/capital-generation 2.6.5 → 2.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. package/CHANGELOG.md +92 -0
  2. package/LICENSE +1 -1
  3. package/README.md +83 -30
  4. package/THIRD_PARTY_NOTICES.md +51 -0
  5. package/capital-config/client.js +58 -2
  6. package/capital-config/client.src.cjs +482 -27
  7. package/capital-config/index.js +177 -4
  8. package/capital-config/package.json +1 -1
  9. package/capital-watchlist/client.js +48 -7
  10. package/capital-watchlist/client.src.cjs +383 -66
  11. package/capital-watchlist/holding-rules.js +64 -0
  12. package/capital-watchlist/index.js +117 -2
  13. package/capital-watchlist/package.json +2 -1
  14. package/chart-ui/package.json +1 -1
  15. package/lib/agents/selected-skills-provider.d.ts +26 -0
  16. package/lib/agents/selected-skills-provider.js +99 -0
  17. package/lib/index.d.ts +13 -0
  18. package/lib/index.js +35 -11
  19. package/lib/time/tools.d.ts +6 -0
  20. package/lib/time/tools.js +6 -1
  21. package/lib/watchlist/tools.d.ts +52 -0
  22. package/lib/watchlist/tools.js +146 -0
  23. package/lib/web-retriever/local-fetch.d.ts +1 -1
  24. package/lib/web-retriever/local-fetch.js +1 -1
  25. package/lib/web-retriever/wind-client.d.ts +1 -1
  26. package/lib/web-retriever/wind-client.js +1 -1
  27. package/package.json +13 -3
  28. package/preset/capital-generation/agent.patch.yml +7 -0
  29. package/preset/capital-generation/skills/capital-equity-research/SKILL.md +45 -0
  30. package/preset/capital-generation/skills/capital-event-impact/SKILL.md +29 -0
  31. package/preset/capital-generation/skills/capital-portfolio-review/SKILL.md +29 -0
  32. package/selected-skills/InvestSkill/ADDING-NEW-SKILLS.md +546 -0
  33. package/selected-skills/InvestSkill/CHANGELOG.md +373 -0
  34. package/selected-skills/InvestSkill/CI-CD-GUIDE.md +432 -0
  35. package/selected-skills/InvestSkill/CLAUDE.md +148 -0
  36. package/selected-skills/InvestSkill/CONTRIBUTING.md +291 -0
  37. package/selected-skills/InvestSkill/DEPLOYMENTS.md +321 -0
  38. package/selected-skills/InvestSkill/FAQ.md +509 -0
  39. package/selected-skills/InvestSkill/GEMINI.md +419 -0
  40. package/selected-skills/InvestSkill/LICENSE +21 -0
  41. package/selected-skills/InvestSkill/PLATFORM-COMPATIBILITY.md +529 -0
  42. package/selected-skills/InvestSkill/README-claude-code.md +435 -0
  43. package/selected-skills/InvestSkill/README-cursor.md +475 -0
  44. package/selected-skills/InvestSkill/README-gemini.md +532 -0
  45. package/selected-skills/InvestSkill/README-ollama.md +106 -0
  46. package/selected-skills/InvestSkill/README-zh-TW.md +461 -0
  47. package/selected-skills/InvestSkill/README.md +311 -0
  48. package/selected-skills/InvestSkill/RELEASE-QUICK-REFERENCE.md +230 -0
  49. package/selected-skills/InvestSkill/RELEASE_NOTES.md +121 -0
  50. package/selected-skills/InvestSkill/SECURITY.md +232 -0
  51. package/selected-skills/InvestSkill/TODO.md +28 -0
  52. package/selected-skills/InvestSkill/UPSTREAM.md +62 -0
  53. package/selected-skills/InvestSkill/install.sh +212 -0
  54. package/selected-skills/InvestSkill/package.json +64 -0
  55. package/selected-skills/InvestSkill/plugins/us-stock-analysis/README.md +119 -0
  56. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/10k-digest/SKILL.md +338 -0
  57. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/bear-case/SKILL.md +233 -0
  58. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/catalyst-calendar/SKILL.md +327 -0
  59. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/chart-master/SKILL.md +648 -0
  60. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/competitor-analysis/SKILL.md +478 -0
  61. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dcf-valuation/SKILL.md +109 -0
  62. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dividend-analysis/SKILL.md +684 -0
  63. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-call-analysis/SKILL.md +456 -0
  64. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-preview/SKILL.md +277 -0
  65. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/economics-analysis/SKILL.md +349 -0
  66. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/etf-analysis/SKILL.md +279 -0
  67. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fact-check/SKILL.md +288 -0
  68. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/financial-report-analyst/SKILL.md +544 -0
  69. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/full-report/SKILL.md +301 -0
  70. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fundamental-analysis/SKILL.md +67 -0
  71. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/industry-map/SKILL.md +336 -0
  72. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/insider-trading/SKILL.md +502 -0
  73. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/institutional-ownership/SKILL.md +548 -0
  74. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/learning-coach/SKILL.md +311 -0
  75. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/options-analysis/SKILL.md +495 -0
  76. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/portfolio-review/SKILL.md +465 -0
  77. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/position-ladder/SKILL.md +429 -0
  78. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/report-generator/SKILL.md +857 -0
  79. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/research-bundle/SKILL.md +94 -0
  80. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/result-validator/SKILL.md +174 -0
  81. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/risk-stress-test/SKILL.md +293 -0
  82. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/sector-analysis/SKILL.md +426 -0
  83. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/short-interest/SKILL.md +397 -0
  84. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/SKILL.md +645 -0
  85. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-screener/SKILL.md +244 -0
  86. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-valuation/SKILL.md +640 -0
  87. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/tax-lens/SKILL.md +351 -0
  88. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/SKILL.md +654 -0
  89. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/thesis-tracker/SKILL.md +317 -0
  90. package/selected-skills/README.md +54 -0
  91. package/selected-skills/catalog.js +733 -0
  92. package/selected-skills/china-stock-research-skills/.github/ISSUE_TEMPLATE/bug_report.md +35 -0
  93. package/selected-skills/china-stock-research-skills/.github/ISSUE_TEMPLATE/skill_request.md +28 -0
  94. package/selected-skills/china-stock-research-skills/.github/PULL_REQUEST_TEMPLATE.md +15 -0
  95. package/selected-skills/china-stock-research-skills/CHANGELOG.md +59 -0
  96. package/selected-skills/china-stock-research-skills/CONTRIBUTING.md +121 -0
  97. package/selected-skills/china-stock-research-skills/GITHUB_PUBLISHING.md +259 -0
  98. package/selected-skills/china-stock-research-skills/INSTALL.md +151 -0
  99. package/selected-skills/china-stock-research-skills/LICENSE +21 -0
  100. package/selected-skills/china-stock-research-skills/PUBLISH_CHECKLIST.md +165 -0
  101. package/selected-skills/china-stock-research-skills/README.en.md +209 -0
  102. package/selected-skills/china-stock-research-skills/README.md +209 -0
  103. package/selected-skills/china-stock-research-skills/RELEASE_ASSETS.md +222 -0
  104. package/selected-skills/china-stock-research-skills/ROADMAP.md +45 -0
  105. package/selected-skills/china-stock-research-skills/SKILLS.md +85 -0
  106. package/selected-skills/china-stock-research-skills/UPSTREAM.md +11 -0
  107. package/selected-skills/china-stock-research-skills/examples/full-report-flow.md +20 -0
  108. package/selected-skills/china-stock-research-skills/examples/module-select-cases.md +26 -0
  109. package/selected-skills/china-stock-research-skills/examples/quickstart-prompts.md +25 -0
  110. package/selected-skills/china-stock-research-skills/skills/business-decomposition-order-quality/SKILL.md +55 -0
  111. package/selected-skills/china-stock-research-skills/skills/business-decomposition-order-quality/references/idc-order-ledger-guide.md +34 -0
  112. package/selected-skills/china-stock-research-skills/skills/business-decomposition-order-quality/references/order-quality-checklist.md +16 -0
  113. package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/SKILL.md +75 -0
  114. package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/references/final-output-contract.md +62 -0
  115. package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/references/routing-matrix.md +34 -0
  116. package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/references/sector-overlay-escalation-rules.md +38 -0
  117. package/selected-skills/china-stock-research-skills/skills/financial-health/SKILL.md +54 -0
  118. package/selected-skills/china-stock-research-skills/skills/financial-health/references/idc-balance-sheet-stress-guide.md +31 -0
  119. package/selected-skills/china-stock-research-skills/skills/financial-health/references/red-flag-checklist.md +14 -0
  120. package/selected-skills/china-stock-research-skills/skills/industry-competition-moat/SKILL.md +54 -0
  121. package/selected-skills/china-stock-research-skills/skills/industry-competition-moat/references/idc-value-chain-and-peers.md +42 -0
  122. package/selected-skills/china-stock-research-skills/skills/industry-competition-moat/references/moat-grid.md +13 -0
  123. package/selected-skills/china-stock-research-skills/skills/risk-warning-catalysts/SKILL.md +54 -0
  124. package/selected-skills/china-stock-research-skills/skills/risk-warning-catalysts/references/idc-monitoring-indicators.md +33 -0
  125. package/selected-skills/china-stock-research-skills/skills/risk-warning-catalysts/references/monitoring-dashboard.md +25 -0
  126. package/selected-skills/china-stock-research-skills/skills/shared/references/analysis-pattern-selector.md +24 -0
  127. package/selected-skills/china-stock-research-skills/skills/shared/references/asset-heavy-ramp-overlay.md +28 -0
  128. package/selected-skills/china-stock-research-skills/skills/shared/references/business-model-transition-overlay.md +28 -0
  129. package/selected-skills/china-stock-research-skills/skills/shared/references/citation-standard.md +48 -0
  130. package/selected-skills/china-stock-research-skills/skills/shared/references/company-disclosure-map.md +37 -0
  131. package/selected-skills/china-stock-research-skills/skills/shared/references/consumer-channel-brand-overlay.md +29 -0
  132. package/selected-skills/china-stock-research-skills/skills/shared/references/cyclical-price-driven-overlay.md +29 -0
  133. package/selected-skills/china-stock-research-skills/skills/shared/references/export-manufacturing-supply-chain-overlay.md +29 -0
  134. package/selected-skills/china-stock-research-skills/skills/shared/references/financial-kpi-dictionary.md +43 -0
  135. package/selected-skills/china-stock-research-skills/skills/shared/references/idc-heavy-asset-transition-overlay.md +73 -0
  136. package/selected-skills/china-stock-research-skills/skills/shared/references/language-output-standard.md +36 -0
  137. package/selected-skills/china-stock-research-skills/skills/shared/references/project-order-business-overlay.md +28 -0
  138. package/selected-skills/china-stock-research-skills/skills/shared/references/regulated-healthcare-policy-overlay.md +29 -0
  139. package/selected-skills/china-stock-research-skills/skills/shared/references/research-output-template.md +50 -0
  140. package/selected-skills/china-stock-research-skills/skills/shared/references/sector-adaptation-checklist.md +42 -0
  141. package/selected-skills/china-stock-research-skills/skills/shared/references/source-registry.md +49 -0
  142. package/selected-skills/china-stock-research-skills/skills/shared/templates/catalyst-calendar.md +5 -0
  143. package/selected-skills/china-stock-research-skills/skills/shared/templates/company-fact-sheet.md +25 -0
  144. package/selected-skills/china-stock-research-skills/skills/shared/templates/evidence-table.md +5 -0
  145. package/selected-skills/china-stock-research-skills/skills/shared/templates/idc-project-ledger.md +5 -0
  146. package/selected-skills/china-stock-research-skills/skills/shared/templates/valuation-scenario-table.md +7 -0
  147. package/selected-skills/china-stock-research-skills/skills/strategy-business-transition/SKILL.md +55 -0
  148. package/selected-skills/china-stock-research-skills/skills/strategy-business-transition/references/idc-transition-markers.md +27 -0
  149. package/selected-skills/china-stock-research-skills/skills/strategy-business-transition/references/transition-scorecard.md +13 -0
  150. package/selected-skills/china-stock-research-skills/skills/valuation-investment-strategy/SKILL.md +55 -0
  151. package/selected-skills/china-stock-research-skills/skills/valuation-investment-strategy/references/idc-valuation-overlays.md +31 -0
  152. package/selected-skills/china-stock-research-skills/skills/valuation-investment-strategy/references/method-selection.md +14 -0
  153. package/selected-skills/investment-skills/.github/workflows/validate.yml +25 -0
  154. package/selected-skills/investment-skills/.tbd/config.yml +107 -0
  155. package/selected-skills/investment-skills/LICENSE +21 -0
  156. package/selected-skills/investment-skills/Makefile +29 -0
  157. package/selected-skills/investment-skills/README.md +253 -0
  158. package/selected-skills/investment-skills/UPSTREAM.md +12 -0
  159. package/selected-skills/investment-skills/docs/development.md +37 -0
  160. package/selected-skills/investment-skills/docs/roadmap.md +25 -0
  161. package/selected-skills/investment-skills/skills/buffett-investment-framework/SKILL.md +192 -0
  162. package/selected-skills/investment-skills/skills/buffett-investment-framework/agents/openai.yaml +4 -0
  163. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/00-source-key.md +82 -0
  164. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/01-decision-posture.md +242 -0
  165. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/02-business-economics.md +188 -0
  166. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/03-management-governance.md +213 -0
  167. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/04-financial-reality.md +192 -0
  168. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/05-valuation.md +166 -0
  169. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/06-capital-allocation.md +238 -0
  170. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/07-risk-monitoring.md +189 -0
  171. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/08-specialized-overlays.md +309 -0
  172. package/selected-skills/investment-skills/skills/buffett-investment-framework/scripts/framework.py +470 -0
@@ -0,0 +1,55 @@
1
+ ---
2
+ name: valuation-investment-strategy
3
+ description: Convert a source-backed A-share research view into valuation scenarios and an investment plan. Use this skill after strategy, business, financial, industry, and risk work is complete. Choose methods that fit the business model and explain assumptions with accessible source links.
4
+ ---
5
+
6
+ # Valuation Investment Strategy
7
+
8
+ Build scenario-based valuation only after the factual base is complete.
9
+
10
+ ## Non-Negotiable Rules
11
+
12
+ - Do not invent inputs when public evidence is missing.
13
+ - Tie every key assumption to a public source or a clearly labeled analytical assumption.
14
+ - Use scenario analysis instead of false precision.
15
+ - Keep facts separate from judgment and trading plan.
16
+ - Default every intermediate and final output to Simplified Chinese unless the user explicitly requests another language.
17
+
18
+ ## Read First
19
+
20
+ - `skills/shared/references/citation-standard.md`
21
+ - `skills/shared/references/research-output-template.md`
22
+ - `skills/shared/references/analysis-pattern-selector.md`
23
+ - `skills/shared/references/language-output-standard.md`
24
+ - `skills/shared/templates/valuation-scenario-table.md`
25
+ - `skills/valuation-investment-strategy/references/method-selection.md`
26
+ - If the company is in a business-model transition or asset-heavy ramp, also load the matching shared overlay.
27
+ - If the company is an IDC or AI-compute transition case, `skills/shared/references/idc-heavy-asset-transition-overlay.md` and `skills/valuation-investment-strategy/references/idc-valuation-overlays.md` are optional example overlays.
28
+
29
+ ## When to Use
30
+
31
+ - A full company view already exists and now needs a valuation frame.
32
+ - The company is in transition and simple PE is not enough.
33
+ - The report needs bear, base, and bull cases with explicit assumptions.
34
+
35
+ ## Workflow
36
+
37
+ 1. Pull outputs from the previous five skills.
38
+ 2. Select the right method: peer multiple, SOTP, EV/EBITDA, PB, DCF, or asset-based.
39
+ 3. Define a scenario table with revenue, margin, capex, utilization, and balance-sheet assumptions.
40
+ 4. Link every assumption to the supporting source or mark it as an analytical estimate.
41
+ 5. Produce a value range, thesis checkpoints, and invalidation triggers.
42
+
43
+ ## Required Output
44
+
45
+ - `事实`: valuation-relevant facts, peer set, asset base, financing constraints
46
+ - `解读`: which method is most suitable and why
47
+ - `待验证问题`: missing occupancy, margin, capex, or disposal assumptions
48
+ - `Scenario Table`: bear, base, bull with linked assumptions
49
+ - `Investment Plan`: build condition, stop condition, and thesis-confirmation milestones
50
+
51
+ ## Boundaries
52
+
53
+ - Do not rebuild the raw company fact base from scratch.
54
+ - Do not present unsupported precision such as exact fair value without ranges.
55
+ - Do not ignore risk and balance-sheet constraints.
@@ -0,0 +1,31 @@
1
+ # IDC Valuation Overlay
2
+
3
+ Use this guide when valuing an IDC or AI-compute transition story.
4
+
5
+ ## Source Map
6
+
7
+ | Source | What It Supports | URL |
8
+ | --- | --- | --- |
9
+ | Company annual and interim reports | Asset base, capex, debt, segment mix, disclosed utilization | https://www.cninfo.com.cn/new/index |
10
+ | Financing filings | Funding assumptions, project economics, dilution path | https://www.cninfo.com.cn/new/index |
11
+ | Exchange disclosures of peers | Peer multiple context and business-model comparability | https://www.cninfo.com.cn/new/index |
12
+ | MIIT / NDRC | Policy support that affects industry narrative and regional node logic | https://www.miit.gov.cn/ |
13
+
14
+ ## Method Hints
15
+
16
+ - Use SOTP when the company still has legacy engineering or manufacturing assets plus new IDC assets.
17
+ - Use EV/EBITDA carefully because heavy capex can make EBITDA look better than true owner economics.
18
+ - Use asset-based or replacement-cost framing only when there is a realistic path to monetization and power access.
19
+ - Use DCF only if utilization, ramp-up, and financing assumptions are explicitly disclosed or can be reasonably bounded.
20
+
21
+ ## Inputs to Force
22
+
23
+ - Asset-loading or utilization path
24
+ - Segment mix between one-off delivery and recurring operation
25
+ - Debt cost and maturity profile
26
+ - Additional capex still required before steady-state operation
27
+ - Probability of project delay, contract revision, or slower ramp
28
+
29
+ ## Output Reminder
30
+
31
+ Show which valuation upside depends on execution, which depends on financing relief, and which depends on real recurring monetization.
@@ -0,0 +1,14 @@
1
+ # Valuation Method Selection
2
+
3
+ Choose the method that fits the business model and data quality.
4
+
5
+ | Method | Best For | Watch Out For |
6
+ | --- | --- | --- |
7
+ | PE | Stable profit businesses | Distorted by transition losses or one-offs |
8
+ | EV/EBITDA | Asset-heavy and infrastructure-like assets | EBITDA may ignore capex burden |
9
+ | PB | Asset-driven or cyclical balance-sheet stories | Book value may lag real economics |
10
+ | SOTP | Mixed business models or transition stories | Requires careful boundary setting |
11
+ | DCF | Businesses with visible cash ramp | False precision when cash flow is unstable |
12
+ | Asset-based | Real estate, data-center, resource assets | Requires realistic utilization and discount |
13
+
14
+ For transition names, start with SOTP or scenario-based EV/EBITDA plus a balance-sheet check.
@@ -0,0 +1,25 @@
1
+ name: Validate skill
2
+
3
+ on:
4
+ pull_request:
5
+ push:
6
+ branches:
7
+ - main
8
+
9
+ permissions:
10
+ contents: read
11
+
12
+ jobs:
13
+ validate:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - name: Check out repository
17
+ uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
18
+ - name: Set up Python
19
+ uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
20
+ with:
21
+ python-version: "3.11"
22
+ - name: Validate package
23
+ run: python3 skills/buffett-investment-framework/scripts/framework.py validate
24
+ - name: Compile runtime
25
+ run: python3 -m py_compile skills/buffett-investment-framework/scripts/framework.py
@@ -0,0 +1,107 @@
1
+ tbd_format: f06
2
+ tbd_version: 0.4.1
3
+ # tbd_upgrades: tbd versions that have run `tbd setup` in this repo (oldest first);
4
+ # tbd_version above is the most recent. Informational; updated automatically by setup.
5
+ tbd_upgrades:
6
+ - version: 0.4.1
7
+ at: 2026-07-22T16:27:06.123Z
8
+ display:
9
+ id_prefix: isk
10
+ sync:
11
+ branch: tbd-sync
12
+ remote: origin
13
+ storage: git-common-dir-v1
14
+ settings:
15
+ auto_sync: false
16
+ doc_auto_sync_hours: 24
17
+ use_gh_cli: true
18
+ # Documentation cache: the docs tbd serves (guidelines, shortcuts, templates), synced
19
+ # into the gitignored .tbd/docs/ cache. Managed with `tbd docs` (run `tbd docs --help`).
20
+ # files: destination path (under .tbd/docs/) -> source docref. Common source forms:
21
+ # - internal:<path> bundled with tbd (e.g. internal:guidelines/typescript-rules.md)
22
+ # - github:owner/repo@ref//path/to/file.md a file in a git repo (gitlab: too; @ref optional)
23
+ # - https://host/path/file.md a plain URL, kept verbatim
24
+ # Full docref grammar: `tbd docs show docref-format`.
25
+ # lookup_path: doc lookup search order, like shell $PATH (earlier paths win).
26
+ # Refresh the cache with `tbd docs sync`; it also auto-syncs when stale
27
+ # (settings.doc_auto_sync_hours, default 24; 0 disables).
28
+ docs_cache:
29
+ lookup_path:
30
+ - .tbd/docs/shortcuts/system
31
+ - .tbd/docs/shortcuts/standard
32
+ files:
33
+ references/tbd-docs.md: internal:tbd-docs.md
34
+ references/tbd-design.md: internal:tbd-design.md
35
+ shortcuts/system/shortcut-explanation.md: internal:shortcuts/system/shortcut-explanation.md
36
+ shortcuts/system/skill-baseline.md: internal:shortcuts/system/skill-baseline.md
37
+ shortcuts/system/skill-brief.md: internal:shortcuts/system/skill-brief.md
38
+ shortcuts/system/skill-minimal.md: internal:shortcuts/system/skill-minimal.md
39
+ shortcuts/standard/address-pr-review.md: internal:shortcuts/standard/address-pr-review.md
40
+ shortcuts/standard/agent-handoff.md: internal:shortcuts/standard/agent-handoff.md
41
+ shortcuts/standard/checkout-third-party-repo.md: internal:shortcuts/standard/checkout-third-party-repo.md
42
+ shortcuts/standard/code-cleanup-all.md: internal:shortcuts/standard/code-cleanup-all.md
43
+ shortcuts/standard/code-cleanup-docstrings.md: internal:shortcuts/standard/code-cleanup-docstrings.md
44
+ shortcuts/standard/code-cleanup-tests.md: internal:shortcuts/standard/code-cleanup-tests.md
45
+ shortcuts/standard/code-review-and-commit.md: internal:shortcuts/standard/code-review-and-commit.md
46
+ shortcuts/standard/coding-spike.md: internal:shortcuts/standard/coding-spike.md
47
+ shortcuts/standard/create-or-update-pr-simple.md: internal:shortcuts/standard/create-or-update-pr-simple.md
48
+ shortcuts/standard/create-or-update-pr-with-validation-plan.md: internal:shortcuts/standard/create-or-update-pr-with-validation-plan.md
49
+ shortcuts/standard/implement-beads.md: internal:shortcuts/standard/implement-beads.md
50
+ shortcuts/standard/merge-upstream.md: internal:shortcuts/standard/merge-upstream.md
51
+ shortcuts/standard/new-architecture-doc.md: internal:shortcuts/standard/new-architecture-doc.md
52
+ shortcuts/standard/new-guideline.md: internal:shortcuts/standard/new-guideline.md
53
+ shortcuts/standard/new-plan-spec.md: internal:shortcuts/standard/new-plan-spec.md
54
+ shortcuts/standard/new-qa-playbook.md: internal:shortcuts/standard/new-qa-playbook.md
55
+ shortcuts/standard/new-research-brief.md: internal:shortcuts/standard/new-research-brief.md
56
+ shortcuts/standard/new-shortcut.md: internal:shortcuts/standard/new-shortcut.md
57
+ shortcuts/standard/new-validation-plan.md: internal:shortcuts/standard/new-validation-plan.md
58
+ shortcuts/standard/plan-implementation-with-beads.md: internal:shortcuts/standard/plan-implementation-with-beads.md
59
+ shortcuts/standard/pr-review-workflows.md: internal:shortcuts/standard/pr-review-workflows.md
60
+ shortcuts/standard/precommit-process.md: internal:shortcuts/standard/precommit-process.md
61
+ shortcuts/standard/review-code-python.md: internal:shortcuts/standard/review-code-python.md
62
+ shortcuts/standard/review-code-typescript.md: internal:shortcuts/standard/review-code-typescript.md
63
+ shortcuts/standard/review-code.md: internal:shortcuts/standard/review-code.md
64
+ shortcuts/standard/review-github-pr.md: internal:shortcuts/standard/review-github-pr.md
65
+ shortcuts/standard/revise-all-architecture-docs.md: internal:shortcuts/standard/revise-all-architecture-docs.md
66
+ shortcuts/standard/revise-architecture-doc.md: internal:shortcuts/standard/revise-architecture-doc.md
67
+ shortcuts/standard/setup-github-cli.md: internal:shortcuts/standard/setup-github-cli.md
68
+ shortcuts/standard/suggest-upstream-improvements.md: internal:shortcuts/standard/suggest-upstream-improvements.md
69
+ shortcuts/standard/sync-failure-recovery.md: internal:shortcuts/standard/sync-failure-recovery.md
70
+ shortcuts/standard/update-specs-status.md: internal:shortcuts/standard/update-specs-status.md
71
+ shortcuts/standard/welcome-user.md: internal:shortcuts/standard/welcome-user.md
72
+ guidelines/backward-compatibility-rules.md: internal:guidelines/backward-compatibility-rules.md
73
+ guidelines/bun-monorepo-patterns.md: internal:guidelines/bun-monorepo-patterns.md
74
+ guidelines/cli-agent-skill-patterns.md: internal:guidelines/cli-agent-skill-patterns.md
75
+ guidelines/commit-conventions.md: internal:guidelines/commit-conventions.md
76
+ guidelines/common-doc-guidelines.md: internal:guidelines/common-doc-guidelines.md
77
+ guidelines/convex-limits-best-practices.md: internal:guidelines/convex-limits-best-practices.md
78
+ guidelines/convex-rules.md: internal:guidelines/convex-rules.md
79
+ guidelines/electron-app-development-patterns.md: internal:guidelines/electron-app-development-patterns.md
80
+ guidelines/error-handling-rules.md: internal:guidelines/error-handling-rules.md
81
+ guidelines/general-coding-rules.md: internal:guidelines/general-coding-rules.md
82
+ guidelines/general-comment-rules.md: internal:guidelines/general-comment-rules.md
83
+ guidelines/general-eng-agent-principles.md: internal:guidelines/general-eng-agent-principles.md
84
+ guidelines/general-tdd-guidelines.md: internal:guidelines/general-tdd-guidelines.md
85
+ guidelines/general-testing-rules.md: internal:guidelines/general-testing-rules.md
86
+ guidelines/golden-testing-guidelines.md: internal:guidelines/golden-testing-guidelines.md
87
+ guidelines/pnpm-monorepo-patterns.md: internal:guidelines/pnpm-monorepo-patterns.md
88
+ guidelines/python-cli-patterns.md: internal:guidelines/python-cli-patterns.md
89
+ guidelines/python-modern-guidelines.md: internal:guidelines/python-modern-guidelines.md
90
+ guidelines/python-rules.md: internal:guidelines/python-rules.md
91
+ guidelines/release-notes-guidelines.md: internal:guidelines/release-notes-guidelines.md
92
+ guidelines/supply-chain-hardening.md: internal:guidelines/supply-chain-hardening.md
93
+ guidelines/tbd-sync-troubleshooting.md: internal:guidelines/tbd-sync-troubleshooting.md
94
+ guidelines/typescript-cli-tool-rules.md: internal:guidelines/typescript-cli-tool-rules.md
95
+ guidelines/typescript-code-coverage.md: internal:guidelines/typescript-code-coverage.md
96
+ guidelines/typescript-rules.md: internal:guidelines/typescript-rules.md
97
+ guidelines/typescript-sorting-patterns.md: internal:guidelines/typescript-sorting-patterns.md
98
+ guidelines/typescript-yaml-handling-rules.md: internal:guidelines/typescript-yaml-handling-rules.md
99
+ templates/architecture-doc.md: internal:templates/architecture-doc.md
100
+ templates/plan-spec.md: internal:templates/plan-spec.md
101
+ templates/qa-playbook.md: internal:templates/qa-playbook.md
102
+ templates/research-brief.md: internal:templates/research-brief.md
103
+ references/agent-platform-integration.md: internal:references/agent-platform-integration.md
104
+ references/agent-skill-bundle-publication.md: internal:references/agent-skill-bundle-publication.md
105
+ references/agent-skill-distribution.md: internal:references/agent-skill-distribution.md
106
+ references/docmap-format.md: internal:references/docmap-format.md
107
+ references/docref-format.md: internal:references/docref-format.md
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 finterm.ai
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,29 @@
1
+ # Repo tasks: skill validation and the viz poster pipeline (see viz/README.md).
2
+ # `make` lists targets; poster targets need Google Chrome, macOS sips, and uv.
3
+
4
+ .DEFAULT_GOAL := help
5
+ .PHONY: help setup validate posters images open clean
6
+
7
+ help: ## List available targets
8
+ @grep -E '^[a-z][a-z-]*:.*##' $(MAKEFILE_LIST) | awk -F':.*## ' '{printf " make %-10s %s\n", $$1, $$2}'
9
+
10
+ setup: viz/vendor/elk.bundled.js ## Fetch the elkjs runtime (once per checkout)
11
+
12
+ viz/vendor/elk.bundled.js:
13
+ viz/vendor/fetch-elk.sh
14
+
15
+ validate: ## Validate the 65-card skill package
16
+ python3 skills/buffett-investment-framework/scripts/framework.py validate
17
+
18
+ posters: setup ## Render light + dark poster PNGs to viz/out
19
+ cd viz && ./generate-posters.sh
20
+
21
+ images: setup ## Refresh the README poster PNGs in images/
22
+ cd viz && ./generate-posters.sh ../images
23
+
24
+ open: setup ## Open the interactive canvas in the default browser
25
+ open viz/canvas-skills.html
26
+
27
+ clean: ## Remove fetched vendor files and generated posters
28
+ rm -f viz/vendor/elk.bundled.js viz/vendor/elkjs-license.txt
29
+ rm -rf viz/out
@@ -0,0 +1,253 @@
1
+ # The Investment Skills Lexicon
2
+
3
+ **How great investors think, distilled from primary sources.**
4
+
5
+ The primary Buffett and Berkshire corpus runs 72 documents and about 950,000 words.
6
+ This project extracts, analyzes, and condenses it (3,809 extracted insights and roughly
7
+ 3.4 billion tokens of processing) into 65 decision cards that an agent loads 5–12 at a
8
+ time.
9
+
10
+ You can always ask an agent to “analyze this like Warren Buffett.”
11
+ But the goal is not to role play an investor’s voice.
12
+ Rather, we want an agent to apply the underlying frameworks and mental models used by
13
+ that investor to real filings, memos, and theses without searching or reading the whole
14
+ corpus into context.
15
+
16
+ The idea of this project is to spend the tokens and do heavy thinking once, then reuse
17
+ the insights in a context-efficient way.
18
+
19
+ This works with Claude Code, Codex, or any agent that reads the open
20
+ [Agent Skills](https://agentskills.io) standard.
21
+
22
+ ## The Buffett Investment Framework
23
+
24
+ **The Buffett investment framework** distills \~2,300 pages of primary Buffett and
25
+ Berkshire writing into **65 evidence-bounded decision cards** an agent can use.
26
+
27
+ It is an agent skill for **evidence-bounded financial analysis, investment-memo review,
28
+ and thesis evaluation**. It offers **three focused workflows** that surface assumptions,
29
+ counterarguments, missing evidence, and invalidation conditions.
30
+
31
+ The framework helps an agent reason about a business.
32
+ It does not issue buy, sell, hold, entry-price, position-size, or trade instructions.
33
+ The complete agent instructions are in
34
+ [SKILL.md](skills/buffett-investment-framework/SKILL.md), which is self-contained once
35
+ installed.
36
+
37
+ | Stage | Contents | Scale |
38
+ | --- | --- | --- |
39
+ | Source corpus | 48 Berkshire shareholder letters (1977–2024), Greg Abel’s 2025 transition letter, the 1957–1970 Buffett Partnership letter compilation, other Buffett and Berkshire writings, *The Essays of Warren Buffett*, and *Buffett: The Making of an American Capitalist* | **72 documents (2,300 pages, 950,000 words)** |
40
+ | Extraction | Source-native insights distilled from the corpus | **3,809 insights** |
41
+ | Processing | Extraction and synthesis ran across Codex Sol and Claude Fable | **about 3.4 billion tokens** |
42
+ | Skill lexicon | Final task-facing output | **65 cards · 8 modules · about 51 pages** |
43
+
44
+ ## A Growing Collection of Skills
45
+
46
+ This “lexicon” is a growing collection of insights.
47
+ Decades of investment thinking sit in writings, interviews, and filings that few people
48
+ or even agents have time to analyze deeply.
49
+ So we’re extracting these piece by piece.
50
+
51
+ The first piece is the Buffett framework.
52
+ Queued next: Munger, Graham, Marks, Fisher, Lynch, Sleep and Zakaria, Grantham,
53
+ Greenblatt, and Druckenmiller.
54
+
55
+ Check back here as we’re adding a new one each week!
56
+ Primary sources and framework focus for each are in the [roadmap](docs/roadmap.md).
57
+
58
+ ## Try It
59
+
60
+ Install with the [`skills` CLI](https://github.com/vercel-labs/skills) (more options
61
+ under [Other Install Methods](#other-install-methods)):
62
+
63
+ ```bash
64
+ npx skills add finterm-ai/investment-skills --skill buffett-investment-framework --yes
65
+ ```
66
+
67
+ Then ask in your own words and attach the evidence.
68
+ The skill picks the workflow and loads only the cards that fit:
69
+
70
+ ```text
71
+ What are the real owner earnings in these filings?
72
+ ```
73
+
74
+ ```text
75
+ Review this investment memo and tell me which claims hold up.
76
+ ```
77
+
78
+ ```text
79
+ Here is my thesis on this company. What would prove it wrong?
80
+ ```
81
+
82
+ Most agents load the skill from its description, so naming it is optional.
83
+ In Codex, type `$` to mention it explicitly.
84
+
85
+ ## How It Works
86
+
87
+ ### Three Workflows
88
+
89
+ | Workflow | Starting load | What it returns |
90
+ | --- | --- | --- |
91
+ | Financial analysis | `F01`, `F02`, `F05`, `F06`, `F07` | Filing inventory, reported-to-owner bridge, normalized segments, returns, obligations, assumptions, and blocked calculations |
92
+ | Memo review | `D01`, `D03`, `B02`, `V01`, `V05`, `V06`, `R01`, `R07` | One dispositioned row per material claim, with counterevidence and missing evidence |
93
+ | Thesis evaluation | `D02`, `D03`, `B01`, `B06`, `V01`, `V04`, `R01`, `R07` | Component map, mechanism and valuation tests, owner-harm paths, and invalidation conditions |
94
+
95
+ The router starts with 5–8 cards, adds only material management, allocation, financing,
96
+ or specialized overlays.
97
+ It caps at 12 cards in one pass to preserve context and stay focused.
98
+
99
+ ![Map of the buffett-investment-framework package: SKILL.md entry point and router, three workflows, and 65 cards in eight modules](images/buffett-investment-framework-map.png)
100
+
101
+ ### Eight Modules
102
+
103
+ | Module | Cards | Decision use |
104
+ | --- | --- | --- |
105
+ | [Decision posture](skills/buffett-investment-framework/references/01-decision-posture.md) | `D01`–`D09` | Bound competence, ownership, alternatives, concentration, and speculation. |
106
+ | [Business economics](skills/buffett-investment-framework/references/02-business-economics.md) | `B01`–`B07` | Map cash generation, moat mechanisms, reinvestment, and structural change. |
107
+ | [Management and governance](skills/buffett-investment-framework/references/03-management-governance.md) | `M01`–`M08` | Test conduct, contribution, incentives, controls, governance, and succession. |
108
+ | [Financial reality](skills/buffett-investment-framework/references/04-financial-reality.md) | `F01`–`F07` | Reconcile filings to owner economics, segments, returns, and obligations. |
109
+ | [Valuation](skills/buffett-investment-framework/references/05-valuation.md) | `V01`–`V06` | Select methods, normalize the base, test growth and sensitivity, and separate value from price. |
110
+ | [Capital allocation](skills/buffett-investment-framework/references/06-capital-allocation.md) | `C01`–`C09` | Evaluate reserves, retention, payout, repurchase, issuance, and acquisitions. |
111
+ | [Risk and monitoring](skills/buffett-investment-framework/references/07-risk-monitoring.md) | `R01`–`R07` | Trace permanent harm, forced action, nonlinear claims, and invalidation. |
112
+ | [Specialized overlays](skills/buffett-investment-framework/references/08-specialized-overlays.md) | `S01`–`S12` | Add only the triggered insurance, banking, consumer, infrastructure, technology, commodity, or instrument analysis. |
113
+
114
+ Every card uses the same contract: decision question, guidance, use condition,
115
+ analytical actions, observable output, limits, readable source basis, and abbreviated
116
+ corroboration citations.
117
+
118
+ ### Output Standard
119
+
120
+ Every completed analysis reports:
121
+
122
+ 1. Question, horizon, scope, and exclusions.
123
+ 2. Evidence received and material missing inputs.
124
+ 3. The 5–12 cards loaded and why.
125
+ 4. Sourced calculations, bridges, and mechanism tests.
126
+ 5. Supported, challenged, or unresolved findings.
127
+ 6. Counterevidence and alternate mechanisms.
128
+ 7. Limits and blocked branches.
129
+ 8. Monitoring evidence and invalidation conditions.
130
+
131
+ The result ends with an analytical summary.
132
+
133
+ ## Design Notes
134
+
135
+ ### How It Was Built
136
+
137
+ The framework is an **editorial synthesis of published Buffett and Berkshire writings**,
138
+ not a transcription or an attempt to imitate Buffett’s voice.
139
+ The development corpus drew primarily from Berkshire Hathaway annual letters, Buffett’s
140
+ 2015 50th-anniversary essay, and “The Superinvestors of Graham-and-Doddsville.”
141
+
142
+ The material was distilled in four steps:
143
+
144
+ 1. Extract claims, definitions, analytical tactics, examples, and source references
145
+ while preserving their source identity.
146
+ 2. Inventory the recurring decision questions before applying a product taxonomy.
147
+ 3. Reconcile overlapping questions by analytical consequence, splitting items when their
148
+ evidence needs or failure conditions differ.
149
+ 4. Project the result into 65 consistent cards, eight modules, and three task workflows.
150
+
151
+ ```mermaid
152
+ flowchart LR
153
+ corpus["<b>Source corpus</b><br/>primary writings, letters,<br/>interviews, filings"]
154
+ extract["<b>1 · Extract</b><br/>source-native insights,<br/>identity preserved"]
155
+ inventory["<b>2 · Inventory</b><br/>recurring decision questions,<br/>before any taxonomy"]
156
+ reconcile["<b>3 · Reconcile</b><br/>overlapping questions merged<br/>or split by consequence"]
157
+ project["<b>4 · Project</b><br/>consistent cards, modules,<br/>and task workflows"]
158
+ corroborate["<b>Corroborate</b><br/>every card re-checked against<br/>the full landed collection"]
159
+ validate["<b>Validate</b><br/>one command: contracts,<br/>sources, routing, links"]
160
+ use["<b>Agent use</b><br/>router loads a small card<br/>set per task, never all"]
161
+
162
+ corpus --> extract --> inventory --> reconcile --> project
163
+ project --> corroborate --> validate --> use
164
+
165
+ classDef src fill:#f5f0e1,stroke:#b8a878,color:#1f2328;
166
+ classDef step fill:#e9f2fc,stroke:#7ba7d7,color:#1f2328;
167
+ classDef check fill:#e3f3ee,stroke:#6fb39c,color:#1f2328;
168
+ classDef out fill:#f1ecfa,stroke:#a68fd8,color:#1f2328;
169
+ class corpus src
170
+ class extract,inventory,reconcile,project step
171
+ class corroborate,validate check
172
+ class use out
173
+ ```
174
+
175
+ The published cards provide representative, not exhaustive, coverage.
176
+ The process prioritized recurring decision questions rather than attempting to map every
177
+ passage in the source material.
178
+
179
+ Each published card names one to three representative Buffett or Berkshire sources and
180
+ the role each played: defining, supporting, implementing, illustrating, or qualifying
181
+ the guidance, or specializing it for one context.
182
+ These source notes explain the synthesis; they are not quotations, exhaustive literature
183
+ reviews, independent corroboration, or a substitute for checking the original writing
184
+ and the company evidence under analysis.
185
+
186
+ After synthesis, every card was reconciled against the project’s full landed source
187
+ collection: Berkshire letters from 1977 through 2024, the 2025 transition and farewell
188
+ letters, the partnership letters, the Owner’s Manual, the 50th-anniversary essays,
189
+ Buffett’s later public letters and comments, *The Essays of Warren Buffett* arrangement,
190
+ and the Lowenstein biography.
191
+ Each card carries abbreviated corroboration citations naming additional checked
192
+ locations where its point is stated, applied, or qualified; the
193
+ [source key](skills/buffett-investment-framework/references/00-source-key.md) resolves
194
+ every abbreviation, explains the evidence character of each source, and gives a
195
+ verified retrieval location for every citation key.
196
+
197
+ This project is not affiliated with, approved by, or endorsed by Warren Buffett or
198
+ Berkshire Hathaway.
199
+
200
+ ### Design Choices
201
+
202
+ - **Deterministic routing:** `scripts/framework.py` is a standard-library Python script;
203
+ no model chooses the card load.
204
+ The same intent and topics always produce the same cards.
205
+ - **A hard card cap:** 5–12 cards per pass; agent context is treated as a budget.
206
+ - **A one-command validator:** `validate` checks the 65-card namespace and per-card
207
+ field contracts.
208
+ - **A structural authority boundary:** cards return supported, challenged, or unresolved
209
+ findings.
210
+
211
+ ## Other Install Methods
212
+
213
+ The `npx skills add` command in [Try It](#try-it) installs into whichever agent
214
+ directories the CLI detects.
215
+ Add `-g` to install for your user instead of the current project, `--copy` to install an
216
+ independent snapshot rather than a symlink, and `--list` to see what a repository offers
217
+ without installing it.
218
+ The CLI attempts every agent it detects; a per-agent failure line for an agent you do
219
+ not use (for example, PromptScript declining global installs) leaves the successful
220
+ installs intact.
221
+
222
+ To install without the CLI, copy the skill folder into the directory your agent reads.
223
+ From this repository’s root:
224
+
225
+ ```bash
226
+ # Cross-agent project install (Codex, Cursor, and pi read this path natively)
227
+ mkdir -p your-project/.agents/skills
228
+ cp -R skills/buffett-investment-framework your-project/.agents/skills/
229
+
230
+ # Claude Code
231
+ mkdir -p your-project/.claude/skills
232
+ cp -R skills/buffett-investment-framework your-project/.claude/skills/
233
+
234
+ # Codex
235
+ cp -R skills/buffett-investment-framework "${CODEX_HOME:-$HOME/.codex}/skills/"
236
+ ```
237
+
238
+ ## Development
239
+
240
+ Development docs live in [docs/development.md](docs/development.md) and
241
+ [viz/README.md](viz/README.md).
242
+
243
+ ## License and Disclaimer
244
+
245
+ MIT. See [LICENSE](LICENSE).
246
+
247
+ This project is open-source reference material, **not investment advice**. finterm.ai
248
+ makes no recommendation to buy, sell, or hold any security and accepts no liability for
249
+ investment decisions you or your agents make.
250
+
251
+ <!-- This document follows common-doc-guidelines.md.
252
+ See github.com/jlevy/practical-prose and review guidelines before editing.
253
+ -->
@@ -0,0 +1,12 @@
1
+ # Upstream Record
2
+
3
+ - Project: The Investment Skills Lexicon
4
+ - Repository: https://github.com/finterm-ai/investment-skills
5
+ - Upstream commit: `7235d3411601036cc79137fa0aec0d587f2c8e19`
6
+ - License: MIT; see `LICENSE` copied from upstream.
7
+ - Imported content: complete upstream repository snapshot, including the Buffett framework skill and its references. Upstream scripts are retained as source material and are never executed by intake or activation.
8
+ - Local modifications: one sentence, on the router block. Upstream wrote "Use the bundled deterministic router when a shell is available" and four `python3 scripts/framework.py …` examples; under Capital the root role has no shell (§1.6), so that conditional left a dead end with nothing to fall back to. The sentence now states the two preconditions (a shell **and** a reachable skill directory) and names the fallback: skip the router and open the `references/` file for the chosen module directly, since the router only picks which file to read. No card, workflow, or analytical text was touched; `scripts/framework.py` itself is unmodified. Recorded here per `docs/dev/selected-skills.md` §8.6, and enforced by `test/selected-skills-content.test.mjs` (a file may mention `python3 scripts/` only if it also carries the no-shell fallback). This record and the Capital selected-skill catalog are maintained by Capital Generation.
9
+ - Packaging: a Capital-owned `.npmignore` beside these files excludes `images/` and `viz/` from the published npm package — 2.3 MB of upstream README artwork (the same four PNGs exist twice, in `images/` and `viz/out/`) plus the upstream visualization site; no skill body references either. The complete snapshot stays committed here, so `github:` installs and provenance review are unaffected.
10
+ - Maintenance snapshot (checked 2026-10-08): latest commit 2026-07-22; no later commits observed through the review date (78 days). See [GitHub commit history](https://github.com/finterm-ai/investment-skills/commits/main/).
11
+ - Runtime status: `experimental` / explicit experiment. The skill remains disabled until explicitly selected in Capital settings and is registered only in a Capital root Agent's own scope. Its capability tags and warning are maintained in `selected-skills/catalog.js`.
12
+ - Review status: imported for user-directed evaluation; not endorsed by Warren Buffett, Berkshire Hathaway, or Capital Generation. Its US-centric framework must not be treated as A-share rules. Validate all financial claims against primary evidence.
@@ -0,0 +1,37 @@
1
+ # Development
2
+
3
+ Internal dev notes for this repo.
4
+ The skill package itself lives in `skills/buffett-investment-framework/`; the
5
+ interactive layout map and its poster pipeline live in `viz/` (see
6
+ [viz/README.md](../viz/README.md) for how the canvas works).
7
+
8
+ ## Tasks
9
+
10
+ Routine steps run through the top-level Makefile; `make` (or `make help`) lists them:
11
+
12
+ | Target | What it does |
13
+ | --- | --- |
14
+ | `make setup` | Fetch the elkjs layout runtime into `viz/vendor/` (gitignored; once per checkout). |
15
+ | `make validate` | Run the skill package’s own validator (`scripts/framework.py validate`). |
16
+ | `make posters` | Render the light and dark poster PNGs to `viz/out/`. |
17
+ | `make images` | Regenerate the README map images in `images/`. |
18
+ | `make open` | Open the interactive canvas (`viz/canvas-skills.html`) in a browser. |
19
+ | `make clean` | Remove fetched vendor files and generated posters. |
20
+
21
+ ## Prerequisites
22
+
23
+ - `python3` for `make validate`.
24
+ - Google Chrome, macOS `sips`, and `uv` for the poster targets (the pipeline is
25
+ macOS-specific; see the PNG Capture Mode section of `viz/README.md` for why it goes
26
+ through PDF).
27
+
28
+ ## Changing the Map
29
+
30
+ The map’s content is the hand-authored snapshot in `viz/data.js`; edit it when cards,
31
+ modules, or workflows change, then run `make images` to refresh the README posters.
32
+ `make images` writes both the light and dark variants; the top-level README currently
33
+ embeds only the light one.
34
+
35
+ <!-- This document follows common-doc-guidelines.md.
36
+ See github.com/jlevy/practical-prose and review guidelines before editing.
37
+ -->
@@ -0,0 +1,25 @@
1
+ # Roadmap
2
+
3
+ The Investment Skills Lexicon is a growing collection.
4
+ The [Buffett framework](../skills/buffett-investment-framework/) is complete and
5
+ installable today; the frameworks below are queued, listed with the primary sources each
6
+ distillation will draw from.
7
+
8
+ | Investor | Status | Primary sources | Framework focus |
9
+ | --- | --- | --- | --- |
10
+ | Warren Buffett | ✅ Complete | 48 Berkshire shareholder letters (1977–2024), the 1957–1970 partnership letters, *The Essays of Warren Buffett*, and *Buffett: The Making of an American Capitalist* | [buffett-investment-framework](../skills/buffett-investment-framework/) applies Buffett’s investment frameworks and mental models, distilled into 65 decision cards, to financial analysis, investment-memo review, and thesis evaluation |
11
+ | Charlie Munger | Queued | *Poor Charlie’s Almanack* (the [Stripe Press edition](https://www.stripe.press/poor-charlies-almanack) is free online), Wesco Financial and Daily Journal meeting transcripts, “The Psychology of Human Misjudgment” | Mental models, inversion, and the psychology of misjudgment |
12
+ | Benjamin Graham | Queued | *Security Analysis*, *The Intelligent Investor*, Graham-Newman letters, 1955 congressional testimony, late lectures | Margin of safety, Mr. Market, and quantitative value screens |
13
+ | Howard Marks | Queued | About 160 Oaktree client memos (1990–present, [public archive](https://www.oaktreecapital.com/insights/memos)), *The Most Important Thing*, *Mastering the Market Cycle* | Risk versus loss, market cycles, and second-level thinking |
14
+ | Philip Fisher | Queued | *Common Stocks and Uncommon Profits*, *Conservative Investors Sleep Well*, *Developing an Investment Philosophy* | Scuttlebutt research and the fifteen-point growth checklist |
15
+ | Peter Lynch | Queued | *One Up on Wall Street*, *Beating the Street*, Worth magazine columns | Stock categories, growth at a reasonable price, and the everyday-knowledge edge |
16
+ | Nick Sleep and Qais Zakaria | Queued | The Nomad Investment Partnership letters, 2001–2014, [released free by the authors](https://igyfoundation.org.uk/) | Scale economies shared, destination analysis, and the cost of growth |
17
+ | Jeremy Grantham | Queued | GMO quarterly letters and Viewpoints ([public archive](https://www.gmo.com/americas/research-library/)) | Bubbles, mean reversion, and asset-class regimes |
18
+ | Joel Greenblatt | Queued | *You Can Be a Stock Market Genius*, *The Little Book That Beats the Market*, Columbia special-situations lectures | Spinoffs, special situations, and where structural mispricing hides |
19
+ | Stanley Druckenmiller | Queued | Three decades of long-form talks and interviews, including the transcribed 2015 Lost Tree Club speech | Concentrated macro positioning, asymmetric bet sizing, and liquidity-regime reading |
20
+
21
+ Install and usage instructions are in the [main README](../README.md).
22
+
23
+ <!-- This document follows common-doc-guidelines.md.
24
+ See github.com/jlevy/practical-prose and review guidelines before editing.
25
+ -->