Logo de Thesis Tracker

Thesis Tracker

OrganizaçãoPopular
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

Visão geral

Publicado porHKUDS
RepositórioVibe-Trading
Nome da habilidadethesis-tracker
Estrelas
35.2K
Forks
5.7K
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por HKUDS no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Thesis Tracker no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/thesis-tracker
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse 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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Thesis Tracker em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Thesis Tracker automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Thesis Tracker não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu 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.

Perguntas frequentes

O que a habilidade de IA Thesis Tracker faz?

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 que usar Thesis Tracker no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Thesis Tracker é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Thesis Tracker no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/thesis-tracker. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Thesis Tracker?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Thesis Tracker?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Thesis Tracker com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Thesis Tracker é gratuita?

Sim. A habilidade é publicada no GitHub por HKUDS sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇