@v587d/capital-generation 2.6.4 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +89 -0
- package/README.md +82 -27
- package/THIRD_PARTY_NOTICES.md +43 -0
- package/capital-config/client.js +18 -2
- package/capital-config/client.src.cjs +161 -20
- package/capital-config/index.js +10 -0
- package/capital-config/package.json +1 -1
- package/capital-watchlist/client.js +48 -7
- package/capital-watchlist/client.src.cjs +383 -66
- package/capital-watchlist/holding-rules.js +64 -0
- package/capital-watchlist/index.js +117 -2
- package/capital-watchlist/package.json +2 -1
- package/chart-ui/package.json +1 -1
- package/lib/agents/selected-skills-provider.d.ts +26 -0
- package/lib/agents/selected-skills-provider.js +99 -0
- package/lib/index.d.ts +37 -0
- package/lib/index.js +45 -11
- package/lib/time/tools.d.ts +6 -0
- package/lib/time/tools.js +6 -1
- package/lib/watchlist/tools.d.ts +52 -0
- package/lib/watchlist/tools.js +146 -0
- package/lib/web-retriever/local-fetch.d.ts +1 -1
- package/lib/web-retriever/local-fetch.js +1 -1
- package/lib/web-retriever/wind-client.d.ts +1 -1
- package/lib/web-retriever/wind-client.js +1 -1
- package/package.json +13 -3
- package/preset/capital-generation/agent.patch.yml +7 -0
- package/preset/capital-generation/skills/capital-equity-research/SKILL.md +45 -0
- package/preset/capital-generation/skills/capital-event-impact/SKILL.md +29 -0
- package/preset/capital-generation/skills/capital-portfolio-review/SKILL.md +29 -0
- package/selected-skills/README.md +44 -0
- package/selected-skills/catalog.js +181 -0
- package/selected-skills/china-stock-research-skills/.github/ISSUE_TEMPLATE/bug_report.md +35 -0
- package/selected-skills/china-stock-research-skills/.github/ISSUE_TEMPLATE/skill_request.md +28 -0
- package/selected-skills/china-stock-research-skills/.github/PULL_REQUEST_TEMPLATE.md +15 -0
- package/selected-skills/china-stock-research-skills/CHANGELOG.md +59 -0
- package/selected-skills/china-stock-research-skills/CONTRIBUTING.md +121 -0
- package/selected-skills/china-stock-research-skills/GITHUB_PUBLISHING.md +259 -0
- package/selected-skills/china-stock-research-skills/INSTALL.md +151 -0
- package/selected-skills/china-stock-research-skills/LICENSE +21 -0
- package/selected-skills/china-stock-research-skills/PUBLISH_CHECKLIST.md +165 -0
- package/selected-skills/china-stock-research-skills/README.en.md +209 -0
- package/selected-skills/china-stock-research-skills/README.md +209 -0
- package/selected-skills/china-stock-research-skills/RELEASE_ASSETS.md +222 -0
- package/selected-skills/china-stock-research-skills/ROADMAP.md +45 -0
- package/selected-skills/china-stock-research-skills/SKILLS.md +85 -0
- package/selected-skills/china-stock-research-skills/UPSTREAM.md +11 -0
- package/selected-skills/china-stock-research-skills/examples/full-report-flow.md +20 -0
- package/selected-skills/china-stock-research-skills/examples/module-select-cases.md +26 -0
- package/selected-skills/china-stock-research-skills/examples/quickstart-prompts.md +25 -0
- package/selected-skills/china-stock-research-skills/skills/business-decomposition-order-quality/SKILL.md +55 -0
- package/selected-skills/china-stock-research-skills/skills/business-decomposition-order-quality/references/idc-order-ledger-guide.md +34 -0
- package/selected-skills/china-stock-research-skills/skills/business-decomposition-order-quality/references/order-quality-checklist.md +16 -0
- package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/SKILL.md +75 -0
- package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/references/final-output-contract.md +62 -0
- package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/references/routing-matrix.md +34 -0
- package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/references/sector-overlay-escalation-rules.md +38 -0
- package/selected-skills/china-stock-research-skills/skills/financial-health/SKILL.md +54 -0
- package/selected-skills/china-stock-research-skills/skills/financial-health/references/idc-balance-sheet-stress-guide.md +31 -0
- package/selected-skills/china-stock-research-skills/skills/financial-health/references/red-flag-checklist.md +14 -0
- package/selected-skills/china-stock-research-skills/skills/industry-competition-moat/SKILL.md +54 -0
- package/selected-skills/china-stock-research-skills/skills/industry-competition-moat/references/idc-value-chain-and-peers.md +42 -0
- package/selected-skills/china-stock-research-skills/skills/industry-competition-moat/references/moat-grid.md +13 -0
- package/selected-skills/china-stock-research-skills/skills/risk-warning-catalysts/SKILL.md +54 -0
- package/selected-skills/china-stock-research-skills/skills/risk-warning-catalysts/references/idc-monitoring-indicators.md +33 -0
- package/selected-skills/china-stock-research-skills/skills/risk-warning-catalysts/references/monitoring-dashboard.md +25 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/analysis-pattern-selector.md +24 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/asset-heavy-ramp-overlay.md +28 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/business-model-transition-overlay.md +28 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/citation-standard.md +48 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/company-disclosure-map.md +37 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/consumer-channel-brand-overlay.md +29 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/cyclical-price-driven-overlay.md +29 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/export-manufacturing-supply-chain-overlay.md +29 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/financial-kpi-dictionary.md +43 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/idc-heavy-asset-transition-overlay.md +73 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/language-output-standard.md +36 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/project-order-business-overlay.md +28 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/regulated-healthcare-policy-overlay.md +29 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/research-output-template.md +50 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/sector-adaptation-checklist.md +42 -0
- package/selected-skills/china-stock-research-skills/skills/shared/references/source-registry.md +49 -0
- package/selected-skills/china-stock-research-skills/skills/shared/templates/catalyst-calendar.md +5 -0
- package/selected-skills/china-stock-research-skills/skills/shared/templates/company-fact-sheet.md +25 -0
- package/selected-skills/china-stock-research-skills/skills/shared/templates/evidence-table.md +5 -0
- package/selected-skills/china-stock-research-skills/skills/shared/templates/idc-project-ledger.md +5 -0
- package/selected-skills/china-stock-research-skills/skills/shared/templates/valuation-scenario-table.md +7 -0
- package/selected-skills/china-stock-research-skills/skills/strategy-business-transition/SKILL.md +55 -0
- package/selected-skills/china-stock-research-skills/skills/strategy-business-transition/references/idc-transition-markers.md +27 -0
- package/selected-skills/china-stock-research-skills/skills/strategy-business-transition/references/transition-scorecard.md +13 -0
- package/selected-skills/china-stock-research-skills/skills/valuation-investment-strategy/SKILL.md +55 -0
- package/selected-skills/china-stock-research-skills/skills/valuation-investment-strategy/references/idc-valuation-overlays.md +31 -0
- package/selected-skills/china-stock-research-skills/skills/valuation-investment-strategy/references/method-selection.md +14 -0
- package/selected-skills/investment-skills/.github/workflows/validate.yml +25 -0
- package/selected-skills/investment-skills/.tbd/config.yml +107 -0
- package/selected-skills/investment-skills/LICENSE +21 -0
- package/selected-skills/investment-skills/Makefile +29 -0
- package/selected-skills/investment-skills/README.md +253 -0
- package/selected-skills/investment-skills/UPSTREAM.md +12 -0
- package/selected-skills/investment-skills/docs/development.md +37 -0
- package/selected-skills/investment-skills/docs/roadmap.md +25 -0
- package/selected-skills/investment-skills/skills/buffett-investment-framework/SKILL.md +192 -0
- package/selected-skills/investment-skills/skills/buffett-investment-framework/agents/openai.yaml +4 -0
- package/selected-skills/investment-skills/skills/buffett-investment-framework/references/00-source-key.md +82 -0
- package/selected-skills/investment-skills/skills/buffett-investment-framework/references/01-decision-posture.md +242 -0
- package/selected-skills/investment-skills/skills/buffett-investment-framework/references/02-business-economics.md +188 -0
- package/selected-skills/investment-skills/skills/buffett-investment-framework/references/03-management-governance.md +213 -0
- package/selected-skills/investment-skills/skills/buffett-investment-framework/references/04-financial-reality.md +192 -0
- package/selected-skills/investment-skills/skills/buffett-investment-framework/references/05-valuation.md +166 -0
- package/selected-skills/investment-skills/skills/buffett-investment-framework/references/06-capital-allocation.md +238 -0
- package/selected-skills/investment-skills/skills/buffett-investment-framework/references/07-risk-monitoring.md +189 -0
- package/selected-skills/investment-skills/skills/buffett-investment-framework/references/08-specialized-overlays.md +309 -0
- package/selected-skills/investment-skills/skills/buffett-investment-framework/scripts/framework.py +470 -0
package/selected-skills/china-stock-research-skills/skills/valuation-investment-strategy/SKILL.md
ADDED
|
@@ -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
|
+

|
|
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: none to upstream files. 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
|
+
-->
|