thesis-tracker
Qué hace
Esta skill mantiene por escrito una tesis de inversión para cada acción que tienes. Está pensada para inversores que quieren comprobar si sus razones para comprar siguen vigentes.
Cuándo usarla
- ✓Cuando acabas de comprar una acción y quieres anotar por qué la compraste y cuándo la venderías.
- ✓Cuando llega un trimestre de resultados o una noticia importante y quieres revisar tu tesis.
- ✓Cuando sientes la tentación de vender por pánico o de aguantar sin una razón clara.
Link de la skill
https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/thesis-tracker/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Acabo de comprar esta acción. Ayúdame a escribir mi tesis de inversión con las condiciones de venta.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
Registra una tesis central, supuestos comprobables, líneas rojas y anclas de valoración. Cada trimestre compara los nuevos resultados con estos puntos, puntúa la tesis de 1 a 10 y sugiere una acción.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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
Preguntas frecuentes
¿Qué es una línea roja?
Es una condición que, si se cumple, significa que debes revisar la posición o salir de ella.
¿Cómo se calcula la puntuación de salud?
Se basa en cuántos supuestos se han roto y en si se ha activado alguna línea roja.
¿Toma la decisión final?
No. Sugiere mantener, añadir, reducir o salir según la revisión, y la decisión final la tomas tú.
Detalles
Descripción original del autor
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
Popularidad
- Estrellas en GitHub
- 37 mil
- Posición en el ranking
- #7560
- Licencia
- MIT
- Actualizada
- 1/11/2026
Comentarios
- …
Más skills de este repositorio
vibe-trading
37 milDa a tu agente un kit completo de investigación financiera, con backtests, análisis de factores, precios de opciones y datos de mercado de muchos mercados.
adr-hshare
37 milMuestra a tu agente cómo comparar el precio de una empresa china que cotiza en varios mercados, como un ADR estadounidense y una acción de Hong Kong.
akshare
37 milPermite a tu agente obtener datos de mercado gratuitos de acciones chinas y globales, futuros, divisas e indicadores económicos, sin necesidad de clave de API.
alpha-zoo
37 milPermite a tu agente explorar una biblioteca de factores bursátiles ya hechos y probar qué tan bien predice el rendimiento un conjunto completo de ellos en un mercado elegido.
Skills parecidas
knowledge-capture
394 milEnseña a tu agente a guardar decisiones, preferencias y datos clave en tu bóveda de Knowledge como notas breves con atribución de la fuente.
knowledge-claim-consolidation
394 milAyuda a tu agente a ordenar una bóveda de Knowledge fusionando afirmaciones duplicadas, moviéndolas a las páginas temáticas adecuadas y retirando las obsoletas.
knowledge-correct
394 milPermite que tu agente corrija o retire una afirmación o página concreta guardada en Knowledge cuando tú lo pidas, dejando constancia de lo que cambió.