/daloopa-investing:thesis-tracker TICKER [thesis text]from daloopa-investing
Turns an investment thesis into 3-6 testable pillars with pre-set confirm/break thresholds, then scores each pillar against reported quarterly KPIs. Useful for disciplined fundamental analysis.
Ships in daloopa-investing. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Define or score the investment thesis for the company specified by the user: $ARGUMENTS
Before starting, read ../data-access.md (data access, citations, Section 6 knowledge base), ../design-system.md and ../report-template.html (report format), ../earnings-methods.md (ingestion gate, transcript reading, expert calls, guidance pairing), ../metrics-definitions.md (pull windows, metric definitions), ../valuation-conventions.md (Section 5 prices and returns) and ../kpi-taxonomy.md (which KPIs to look for).
A thesis is only useful if it can be proven wrong. This skill turns a thesis into 3-6 pillars, each tied to specific reported series with a confirm threshold and a break threshold set in advance. Each quarter it scores the pillars against the numbers and appends the result to a permanent log. The thresholds are written down before the results arrive, so the thesis cannot be quietly reinterpreted afterward.
The first argument is the ticker. Any remaining text is the user's thesis in their own words.
Run the standard company setup (../data-access.md Section 1.2), then the ingestion gate in ../earnings-methods.md Section 1. A quarter is scored only from ingested fundamentals: if the newest print is filed but not yet in Daloopa, tell the user and score through the latest ingested quarter.
The thesis state lives in knowledge/{TICKER}/thesis.md. Create the folder if needed. This skill writes only thesis.md there; the other files belong to /knowledge-base and are read for context, never modified (../data-access.md Section 6).
| Situation | Mode |
|---|---|
No thesis.md | Define (Steps 3-4), then report. Nothing is scored in the run that sets the thresholds. |
thesis.md exists and last_scored_quarter is earlier than latest_calendar_quarter | Score (Steps 5-8) |
thesis.md exists and last_scored_quarter equals latest_calendar_quarter | Tell the user the latest quarter is already scored, rebuild the HTML scorecard from the log, and stop. Append nothing. |
If the user supplies new thesis text when a file exists, do not overwrite the file. Treat the text as a proposed revision (Step 8).
latest_calendar_quarter (../metrics-definitions.md Section 1). Run the year-to-date check in Section 2 of that file on the first cash-flow pull.../metrics-definitions.md); guidance series; and the operating KPIs that drive this business, chosen with ../kpi-taxonomy.md. If knowledge/{TICKER}/kpis.md exists, start from its series map.series_id for every candidate test metric. A pillar tied to a metric the company does not report cannot be scored.../earnings-methods.md Section 7) for management's outlook, the drivers it emphasizes and the risks it names.../earnings-methods.md Section 8. They can inform which pillars matter. They are never a pillar's test metric.If the user supplied thesis text: break it into pillars. Preserve the user's claims and direction; do not substitute your own view. Where a claim is too vague to test ("AI will be a tailwind"), convert it to the nearest measurable form ("data center revenue grows above 40% year over year") and list the conversion under "Interpretations" so the user can correct it. A claim no reported series can test is left out of the pillars and recorded under "Untestable claims". Set status: active.
If the user supplied no thesis text: draft a thesis from the data, in the direction the evidence supports. Set status: draft, put the draft notice at the top of the file, and say in your reply that it is a draft generated from data, not the user's view. A draft is not treated as the user's thesis by any other skill (../data-access.md Section 6). It becomes active only when the user confirms it or edits it; record that in the log as a dated "Thesis confirmed" entry.
Pillar rules:
series_id) that test it.Kill criteria: 2-4 conditions that end the thesis outright (for example: two pillars Broken in the same quarter; one named pillar Broken for two consecutive quarters; a guidance cut below a stated level; a specific balance-sheet event).
Write knowledge/{TICKER}/thesis.md in exactly this format:
---
ticker: {TICKER}
direction: long | short
status: active | draft
created: YYYY-MM-DD
baseline_quarter: YYYYQN
last_scored_quarter: YYYYQN
---
{If draft: **DRAFT — generated from data, not the user's view. Confirm or edit before relying on it.**}
# {Company Name} ({TICKER}) — Investment Thesis
**Thesis in one sentence:** {the claim}
## Pillars
### P1 — {short title}
- **Claim:** {one sentence}
- **Test metrics:** {series name} (series_id {id}); {series name} (series_id {id})
- **Polarity:** higher confirms | lower confirms
- **Confirm:** {numeric threshold}
- **Break:** {numeric threshold}
### P2 — ...
## Kill criteria
- K1: {condition}
## Interpretations
- {vague claim} → {measurable form used}
## Untestable claims
- {claim, and why no reported series tests it}
## Scorecard log
<!-- Append-only. One entry per quarter, in order. Never edit or delete prior entries. -->
### {YYYYQN} ({fiscal label}) — Baseline (not scored), recorded YYYY-MM-DD
- **P1 — {title}:** {metric} [{value}]({citation URL}) (confirm {X} / break {Y})
- **P2 — ...**
- **Note:** thresholds were set with this quarter in view, so it is the starting point, not a test.
Set both baseline_quarter and last_scored_quarter to latest_calendar_quarter. The first scored entry is the next quarter the company reports.
No price is stored in the file. Prices from get_stock_prices are adjusted and a stored figure goes stale after a split or dividend (../valuation-conventions.md Section 5). The file stores dates; returns are computed fresh on each run (Step 7).
After writing the file, go to Step 9 and produce the report in its baseline form.
thesis.md in full. The quarters to score are every calendar quarter after last_scored_quarter through latest_calendar_quarter, in order. If the tracker was not run for a quarter, that quarter is still scored now: kill criteria that count consecutive quarters depend on an unbroken log.get_company_fundamentals with the recorded series_ids over a 12-quarter pull window ending at latest_calendar_quarter, extended back if needed to cover the baseline quarter. If a series_id no longer returns data, re-run discover_company_series with the series name and note any change in the log entry.../earnings-methods.md Section 7). For an earlier unscored quarter, read that quarter's transcript only if a pillar changed status in it.get_stock_prices range from five trading days before created to today. Take the close on or before created, on or before each scoring date in the log, and the latest close.Score each unscored quarter in order, oldest first. For each pillar in each quarter:
| Status | Rule |
|---|---|
| On track | Meets or beats the confirm threshold |
| Watch | Between confirm and break; or meets confirm but has moved toward break for two consecutive quarters |
| Broken | At or beyond the break threshold |
| Not scored | A test metric was not disclosed for the quarter |
"Meets", "beats" and "toward break" follow the pillar's polarity, so the same table serves long and short theses.
Rules:
Then check every kill criterion for each quarter, using the full log.
Overall status per quarter:
Drift is when the reasons for holding the position change while the original reasons are failing. Check the latest quarter for:
/call-diff; note here only a change that bears on a pillar.../earnings-methods.md Section 5).created and since the last scoring date from the adjusted closes pulled in Step 5 (../valuation-conventions.md Section 5), and convert it to the position's return: the same sign for a long, the opposite sign for a short. If the position is making money while its pillars are On track, the thesis is working. If the position is making money while its pillars are on Watch or Broken, it is working for reasons other than the thesis. If the pillars are On track and the position is losing money, the market disagrees with the thesis or has not yet noticed. Say which.State a drift verdict: None, Early signs, or Drift: the original thesis is no longer what is being held. A position whose pillars are broken but whose story has been replaced by a new one is a new position that has not been underwritten.
Append one entry per scored quarter to the end of ## Scorecard log, oldest first:
### {YYYYQN} ({fiscal label}) — scored YYYY-MM-DD
- **Overall:** Intact | Under pressure | Broken
- **P1 — {title}:** {On track | Watch | Broken | Not scored} — {metric} [{value}]({citation URL}) vs confirm {X} / break {Y} (prior: {value}, {status})
- **P2 — ...**
- **Kill criteria:** {none triggered | K# triggered: detail}
- **Drift:** {None | Early signs | Drift} — {one sentence} (latest quarter only; "not assessed" for a quarter scored late)
- **Notes:** {one-time items, disclosure changes, series changes; "scored late, on YYYY-MM-DD" where applicable}
Update last_scored_quarter. That field and the appended entries are the only edits allowed in Score mode.
Hard rules for the file:
Save to reports/{TICKER}_thesis_tracker.html, with the quarter tag <meta name="daloopa-quarter" content="{last_scored_quarter}"> in the <head>. The file is rebuilt from the full log on every run, so one file holds the whole history. Write the HTML from ../report-template.html per ../design-system.md. Use fiscal period labels.
Report outline:
Charts, inline SVG built by script per ../design-system.md (Charts in HTML Reports):
Next steps. Choose 2-3 from ../data-access.md Section 7: for example /earnings-review for the full quarter behind a status change, /call-diff if drift shows in management's language, /reverse-dcf if the price and the pillars have diverged.
Run the Final Checks in ../design-system.md before saving.
Tell the user where the report was saved and that the thesis state is in knowledge/{TICKER}/thesis.md. Then give the overall status, each pillar's status with the number behind it, any kill criterion triggered, the drift verdict, and how many quarters were scored in this run. After a Define run, say that the thresholds are set and the first scored quarter will be the next one reported; if the thesis is a draft, say so and ask the user to confirm or edit it. Report the score as measured: if a pillar is Broken, say Broken, without "mixed" and without management's framing. If the thesis is broken, say that the reason to hold the position no longer exists and the user needs to decide whether to exit or underwrite a new thesis.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
42 skills in this plugin
/activismActivist vulnerability assessment — performance gaps, likely activist playbook, and defense analysis/bomInteractive product bill-of-materials dashboard with an exploded view, mapping components, suppliers, unit costs, and gross margin sensitivity/build-modelBuild a multi-tab Excel financial model/bull-bearBull/bear/base case scenario framework for a given companynpx claudepluginhub daloopa/investing2 --plugin daloopa-investing