thesis-tracker
它能做什么
这项技能为你持有的每只股票保存一份书面的投资论点。适合希望检查自己买入理由是否仍然成立的投资者。
适用场景
- ✓当你刚买入一只股票,并希望写下买入的原因以及何时卖出的时候。
- ✓当一个季度的财报或重大新闻到来,你想检查自己的论点的时候。
- ✓当你感到想要恐慌性卖出,或在没有明确理由的情况下死守持仓的冲动的时候。
技能链接
https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/thesis-tracker/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我刚买入了这只股票。请帮我写下投资论点,并列出卖出条件。”
每周 5 个新技能,1 分钟读完。
工作原理
它会记录核心论点、可检验的假设、红线以及估值锚点。每个季度,它会将新的结果与这些要点进行比较,将论点从 1 到 10 打分,并建议一项行动。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Investment Thesis Tracker: Post-Buy Discipline
Track an investment thesis for a holding. First use on a company → build the thesis; later uses → quarterly check.
Supported input: company name (auto-decide build vs track); company build (force rebuild); company quarterly check (against latest earnings).
"Buying is only the beginning. The real work is continuous tracking through the holding period." — Li Lu
"When the facts change, I change my mind. What do you do, sir?" — Keynes
Design Philosophy
Most investors' process is: research → buy → pray. Without systematic post-buy tracking, they: refuse to sell when they should ("wait, it'll come back"); panic-sell when they shouldn't ("down 20%, was I wrong?"); forget why they bought ("why did I buy this again?").
Buffett and Li Lu write down sell conditions before buying, then check the thesis each quarter.
Step 1: Decide the Mode
Check whether a thesis file already exists (use read_file on reports/{company}-thesis.md): not found → Build (Mode A); found → Track (Mode B).
Mode A: Build the Investment Thesis
A0: Data Collection
Use web_search to get the current price, valuation (PE/PB/dividend yield), and latest financials. If a research report exists, read_file it first. Use financial_rigor (command=verify_valuation) to verify valuation, financial_rigor (command=verify_market_cap) to sanity-check market cap.
A1: Core Thesis (must be writable in ≤200 words)
The thesis must answer 5 questions, one sentence each:
I bought {Company} at {price} because:
1. The essence of this business is ___, and I understand how it makes money.
2. Its moat is ___, and it's widening / stable.
3. Management is ___, trustworthy because ___.
4. The current price is a {discount}% to intrinsic value; the margin of safety comes from ___.
5. Even if I'm wrong, downside is contained because ___.
If you can't fill 5 sentences, the thesis itself is flawed — the buy decision isn't clear enough.
A2: Core Assumptions List
Break the thesis into verifiable assumptions (3-7 typically; too few = shallow thinking, too many = unfocused):
| # | Core Assumption | How to verify | Frequency | Status |
|---|---|---|---|---|
| 1 | e.g. revenue growth stays >15% | Quarterly revenue growth | Quarterly | 🟢 Holding |
| 2 | e.g. gross margin stable >60% | Quarterly gross margin | Quarterly | 🟢 Holding |
A3: Red Lines (triggering any one = must re-evaluate)
| # | Red-line condition | Severity | Action on trigger |
|---|---|---|---|
| 1 | Management integrity problem (fraud, related-party) | Fatal | Exit immediately |
| 2 | Core business revenue down 2 consecutive quarters | Severe | Trim 50%, re-evaluate |
| 3 | Moat explicitly breached (competitor reaches parity) | Severe | Deep research, consider exit |
| 4 | Regulatory change fundamentally alters the business model | Severe | Re-value intrinsic value |
| 5 | Management large unplanned disposal | Warning | Investigate |
| 6 | Macro trend reversal for this name's end-market — e.g. demographic clock (population decline) for consumer/property/education names; consumption downgrade (居民边际消费下降); generational shift away from the category | Severe | Re-evaluate the long-term demand base; for consumer-dependent names, this is often a slow-moving but fatal headwind — assess whether the thesis still holds at a structurally lower growth path |
The red line on macro trends (demographic clock / consumption / generational) is deliberately explicit: a value-investing thesis that picks a consumer name without weighing population decline and consumption-trend headwinds is incomplete. For non-consumer names (e.g. pure B2B industrial), this red line may be loose; for consumer/retail/education/property names, weight it heavily.
Duan Yongping: "There are only three reasons to sell: 1. you got the buy wrong; 2. the fundamentals changed; 3. you found something better."
A4: Valuation Anchors
| Metric | At buy | Optimistic target | Neutral target | Pessimistic |
|---|---|---|---|---|
| Price | ||||
| PE (TTM) | ||||
| Market cap | ||||
| Intrinsic value estimate | ||||
| Margin of safety |
A5: Save the Thesis
Use write_file to write reports/{company}-thesis.md, including: build date, buy price and position, core thesis (5
常见问题
什么是红线?
红线是一种条件:一旦出现,就意味着你应当复核或退出该持仓。
健康评分是如何得出的?
它基于有多少假设已被打破,以及是否触发了任何红线。
它会做最终决定吗?
不会。它会根据检查结果建议持有、加仓、减仓或退出,最终决定由你做出。
详情
作者的原始描述
Buy-side discipline system. For each holding, maintain a written investment thesis — core thesis in 5 sentences, falsifiable assumptions, red lines, valuation anchors — and re-check it each quarter against new earnings/events. Scores thesis health 1-10 from assumption breakage and red-line triggers, and recommends hold / add / trim / exit. Use it right after buying a stock (to write the thesis) and every earnings season (to check it). Bridges the research→buy→monitor gap that most investors skip.
repo: HKUDS/Vibe-Trading
热度
- GitHub 星标
- 37k
- 排名
- #7560
- 许可证
- MIT
- 更新时间
- 2026/11/1
评论
- …