Logotipo de Thesis Tracker

Thesis Tracker

OrganizaciónPopular
HKUDS
thesis-tracker

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.

Add to TypingMind

Descripción general

EditorHKUDS
RepositorioVibe-Trading
Nombre de la habilidadthesis-tracker
Estrellas
35.2K
Forks
5.7K
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por HKUDS en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Thesis Tracker en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/thesis-tracker
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git /tmp/Vibe-Trading
mkdir -p .claude/skills
cp -r /tmp/Vibe-Trading/agent/src/skills/thesis-tracker .claude/skills/thesis-tracker
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Thesis Tracker en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Thesis Tracker automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Thesis Tracker no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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 AssumptionHow to verifyFrequencyStatus
1e.g. revenue growth stays >15%Quarterly revenue growthQuarterly🟢 Holding
2e.g. gross margin stable >60%Quarterly gross marginQuarterly🟢 Holding

A3: Red Lines (triggering any one = must re-evaluate)

#Red-line conditionSeverityAction on trigger
1Management integrity problem (fraud, related-party)FatalExit immediately
2Core business revenue down 2 consecutive quartersSevereTrim 50%, re-evaluate
3Moat explicitly breached (competitor reaches parity)SevereDeep research, consider exit
4Regulatory change fundamentally alters the business modelSevereRe-value intrinsic value
5Management large unplanned disposalWarningInvestigate
6Macro 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 categorySevereRe-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

MetricAt buyOptimistic targetNeutral targetPessimistic
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 sentences), assumptions list, red lines, valuation anchors, tracking table (empty initially).


Mode B: Tracking Check

B1: Read the Existing Thesis

Use read_file to load core thesis, assumptions, red lines, last check record.

B2: Gather Latest Data

Use web_search / get_stock_news / get_financial_statements: ① latest earnings (if new quarter/year); ② recent material events (management, regulation, competition); ③ current price and valuation; ④ insider transactions (major shareholder changes).

B3: Check Each Assumption

#Core AssumptionLast statusLatest evidenceCurrent statusChange
1Revenue growth >15%🟢 HoldingQ4 revenue growth 12%🟡 Weakening⚠️

Status definitions:

  • 🟢 Holding — latest data supports
  • 🟡 Weakening — still acceptable, but trend is unfavorable
  • 🔴 Impaired — data clearly does not support
  • ⚫ Broken — assumption has been overturned

B4: Red-Line Check

Check each red line; any triggered → flag prominently in the report + clear action recommendation.

B5: Valuation Update

Use financial_rigor (command=verify_valuation) to recompute PE/PB/ROE; compare against buy-time and last check:

MetricAt buyLast checkCurrentChange
Price
PE (TTM)
Intrinsic value estimate
Margin of safety

B6: Output the Tracking Report

Structure: ① Thesis health score (out of 10); ② Assumption check table; ③ Red-line check table; ④ Key changes this period (≤500 words); ⑤ Valuation update; ⑥ Conclusion and action; ⑦ Focus for next check.

Health formula: 10 - (⚫broken × 3) - (🔴impaired × 2) - (🟡weakening × 1) - (red-lines triggered × 5), min 1, max 10.

ScoreMeaningAction
9-10All assumptions hold, thesis stronger than at buyConsider adding
7-8Core assumptions hold, some weakeningContinue holding
5-61-2 assumptions impaired, core logic intactHold but raise alertness
3-4Multiple assumptions impaired, foundation shakenConsider trimming
1-2Red line triggered or core assumption brokenStrongly consider exit

The conclusion must clearly answer: ① Is the thesis still intact? (intact / weakening / impaired / broken); ② What to do? (add / hold / trim / exit); ③ Next check timing (next earnings / a specific event).

B7: Update the Thesis File

Use write_file to append this check to the tracking table in reports/{company}-thesis.md:

Check dateHealthKey changeAction
2026-04-097/10Revenue growth slowed to 12%, but margins improvedHold

Key Principles

  • Write sell conditions before buying — decisions made calmly beat decisions made in panic.
  • Assumptions must be verifiable — "a great company" is not a thesis; "ROE>25% and stable" is.
  • Act when a red line triggers — "let's wait and see" is how big losses happen.
  • Thesis breaking ≠ stock falling — a 30% price drop doesn't force a sell; a broken thesis does.
  • Be honest about mistakes — if the thesis was wrong, admit it; don't defend it to save face.
  • Weigh macro headwinds for consumer names — demographic decline and consumption downgrade are slow but can be fatal for consumer/property/education theses; bake them into red lines, not just quarterly checks.

Preguntas frecuentes

¿Qué hace la habilidad de IA Thesis Tracker?

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.

¿Por qué usar Thesis Tracker en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Thesis Tracker está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Thesis Tracker en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/thesis-tracker. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Thesis Tracker?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Thesis Tracker?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Thesis Tracker con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Thesis Tracker?

Sí. HKUDS la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇