Skip to content

Guide · Agent skill

How to use the Investment Thesis Drift Checker agent skill

Updated · written with AI from the project's own documentation and checked against our catalogue data

thesis-drift is an agent skill from the AI Berkshire project that asks an AI agent to compare an older and a newer investment research report on a company and decide whether the investment case has actually changed. It separates factual changes such as revenue, margins, governance, competitive position and red-flag events from share price moves and from mere rewording. This guide explains what the skill does, how to install it, how to ask for it in plain language, and what it needs before it will run.

Investment Thesis Drift Checkerxbtlin/ai-berkshire · MIT

Quick start

  1. 1Download and unzip. Download the skill ZIP from this page and unzip it so that SKILL.md sits in a skill folder.
  2. 2Place the skill. Move the folder into ~/.claude/skills/ for all projects, or into a project's .claude/skills/ folder, or upload the ZIP under Settings → Capabilities → Skills in the Claude apps.
  3. 3Confirm the repository. Make sure you have the AI Berkshire repository with its tools/ folder, AGENTS.md and a reports/ folder containing your earlier thesis reports.
  4. 4Prepare two dated reports. Save an older and a newer thesis report for the same company, ideally produced by thesis-tracker, so the skill has a baseline to compare against.
  5. 5Ask for a drift check. Name the skill and the company, and give the two report paths, or just the company name if the snapshots sit in reports/.
  6. 6Review the dimension table. Check each Improved, Unchanged or Weakened call against the evidence it cites before acting on it.
  7. 7Verify the numbers. Re-run any valuation or percentage figure the skill flagged using tools/financial_rigor.py and confirm it matches the source data.

What the thesis-drift skill makes the agent do

An agent skill is a folder with a SKILL.md file that tells an AI agent a specific workflow to follow when you ask for that kind of task. thesis-drift teaches the agent to check whether an investment thesis has drifted, meaning whether the evidence behind a long-term holding has changed in a way that matters.

The skill is built around one rule from its source: only admit a thesis change when the evidence changes. Rewording a report is not drift, and a falling share price does not by itself mean the business got worse.

  • Separates three things: factual change (revenue, margins, cash flow, governance, competition, capital allocation), price change (sentiment or valuation multiples moving while the business stays the same), and wording change (different phrasing with the same evidence).
  • Compares the two reports on fixed dimensions: valuation anchor, core assumptions, red-line list, management quality and competitive moat.
  • Labels each dimension as Improved, Unchanged or Weakened, and requires a specific piece of new evidence for every change it reports.
  • Asks for exact arithmetic through tools/financial_rigor.py rather than mental math, and flags numbers that cannot be cross-checked as low confidence.

Install the thesis-drift skill

Download the ZIP for this skill from this page and unzip it. The skill is a single file, SKILL.md, so the folder you unzip should contain that file. Then choose one of the locations below.

For Claude Code, put the skill folder in your user skills directory at ~/.claude/skills/, or in a project's .claude/skills/ folder if you want it available only inside one repository. For the Claude apps, upload the ZIP under Settings → Capabilities → Skills.

  • Personal (all projects): unzip into ~/.claude/skills/
  • Single project: unzip into the project's .claude/skills/ folder
  • Claude apps: upload the ZIP under Settings → Capabilities → Skills
  • Codex users: the file is a Codex adapter of the same workflow and is intended to run from a repository that contains tools/ and AGENTS.md

Check the requirements before you run it

This skill is not a standalone analyst. It depends on a specific repository layout and on prior reports. Check these before your first run so you do not hit a dead end halfway through.

  • Python 3, because the workflow calls tools/financial_rigor.py for calculations. That script is not included in the single file on this page, so it must come from the AI Berkshire repository.
  • The AI Berkshire repository structure, with a tools/ folder and an AGENTS.md file present.
  • Prior thesis reports saved in a reports/ folder. These are ideally produced by a thesis-tracker workflow, which the skill references for its structured sections.
  • Shell access, so the agent can run the date command and Python scripts.
  • Language: the instructions are written in Chinese and refer to Chinese-market filings, so the reports you feed in should be in a form the agent can read.

Trigger the skill with natural requests

You do not need special syntax beyond naming the skill and giving it the company and the reports. The skill accepts three input patterns: two explicit report paths, a company name alone (which makes it look for reports/{company}-thesis.md and dated snapshots beside it), or a company name with dated report paths. The source's own examples use the /thesis-drift command form with these arguments.

If you only have one report, or no earlier snapshot, the skill stops and does not invent a baseline. It tells you to build one first with the thesis-tracker workflow.

  • Compare two reports: /thesis-drift 公司名 reports/公司名-thesis-旧日期.md reports/公司名-thesis-新日期.md
  • Let the skill find snapshots: /thesis-drift 公司名
  • Ask after new earnings: run the drift check on the report saved before the last results and the one saved after them
  • If no baseline exists: the skill will recommend running /thesis-tracker 公司名 first
/thesis-drift 公司名 reports/公司名-thesis-旧日期.md reports/公司名-thesis-新日期.md

Read the output report

The skill writes a drift report with fixed sections: the comparison objects and time span, an overall verdict on whether the thesis drifted, a dimension table, a list of evidence differences, valuation and numeric checks, how the suggested action should move, open uncertainties, and what to watch next time.

The overall verdict must answer five questions: has the thesis drifted, where the drift came from, whether it was a factual change or a price change, how the suggested action (for example Watch to Buy, or Hold to Reduce) should change, and what evidence is still needed.

  • Unchanged rows leave the trigger evidence blank rather than inventing support.
  • Every Improved or Weakened call must point to a specific source such as a financial line item, a regulatory filing, a news event or a valuation calculation.
  • Red-line triggers take priority over a cheap valuation, so a low P/E cannot hide a triggered red line.

What people use it for

  • Reviewing a long-term holding after a quarterly earnings release to see whether revenue growth, margins or cash flow changed the original case.
  • Checking whether a share price fall has changed the business or only the valuation margin of safety.
  • Comparing two dated research snapshots kept by an analyst team to produce a structured change table for a committee.
  • Confirming that a rephrased report is not being mistaken for a real change in competitive position or management behaviour.
  • Deciding whether a red-line event, such as a regulatory penalty or a major customer loss, should override a valuation-based hold decision.

Frequently asked questions

Is the thesis-drift skill free?

The skill's source is published under the MIT licence, which is stated on this page. The skill file itself does not mention a price, so check the AI Berkshire repository for any other terms before relying on it.

What do I need to install thesis-drift?

You need a place to unzip the skill, either ~/.claude/skills/ or a project's .claude/skills/ folder, or the Claude apps with Settings → Capabilities → Skills. To actually run its calculations you also need Python 3 and the AI Berkshire repository with tools/financial_rigor.py and AGENTS.md.

Can thesis-drift run without a previous report?

No. The skill expects a prior structured thesis report, ideally created by the thesis-tracker workflow, and it will refuse to run drift detection without a baseline. It will tell you to build one first.

Does thesis-drift give buy or sell advice?

It is designed to analyse the reports you supply and to suggest how the action might move, but its output depends on the quality and completeness of those files. It is not a substitute for your own research.

Does it work in English?

The skill's instructions are written in Chinese and refer to Chinese-market filings. If you need English output, this skill is probably not the right fit as written.

Does thesis-drift use the internet?

The skill file states that it does not use the network. It does run scripts and shell commands, such as the date command and Python tools, so review the scripts in the repository before running it.

What is the difference between thesis-drift and thesis-tracker?

thesis-tracker builds the structured thesis baseline, including core assumptions, red lines, valuation anchors and a tracking table. thesis-drift compares two snapshots of that baseline to see whether the evidence changed.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

thesis-drift suits long-term stock investors and analysts who already keep dated, structured research reports and want a disciplined check after earnings or major news, without reacting to price swings or rewording. It is a poor fit for anyone without their own thesis baseline, anyone who needs English output, or anyone looking for a ready-made buy or sell call.

Download the skill