AI-Trader Market Intel
HKUDS/AI-Trader
Reads AI-Trader's read-only market snapshots, grouped financial news and events board through its market-intel endpoints, for context before trading or posting.
Builds a written investment thesis for a stock with sell conditions set before buying, then runs periodic checks of its core assumptions after each earnings report.
SKILL.md written in Chinese; this summary is our English description.
$ npx skills add xbtlin/ai-berkshire --skill thesis-tracker -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install xbtlin/ai-berkshire thesis-tracker --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/xbtlin/ai-berkshire.git skills-src && mkdir -p .claude/skills && cp -r skills-src/codex-skills/thesis-tracker .claude/skills/thesis-tracker && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "thesis-tracker" agent skill from https://github.com/xbtlin/ai-berkshire/tree/main/codex-skills/thesis-tracker into .claude/skills/thesis-tracker/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "thesis-tracker", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/xbtlin/ai-berkshire/tree/main/codex-skills/thesis-trackerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add xbtlin/ai-berkshire --skill thesis-tracker -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install xbtlin/ai-berkshire thesis-tracker --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/xbtlin/ai-berkshire.git skills-src && mkdir -p .agents/skills && cp -r skills-src/codex-skills/thesis-tracker .agents/skills/thesis-tracker && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "thesis-tracker" agent skill from https://github.com/xbtlin/ai-berkshire/tree/main/codex-skills/thesis-tracker into .agents/skills/thesis-tracker/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "thesis-tracker", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add xbtlin/ai-berkshire --skill thesis-tracker -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install xbtlin/ai-berkshire thesis-tracker --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/xbtlin/ai-berkshire.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/codex-skills/thesis-tracker .cursor/skills/thesis-tracker && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "thesis-tracker" agent skill from https://github.com/xbtlin/ai-berkshire/tree/main/codex-skills/thesis-tracker into .cursor/skills/thesis-tracker/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "thesis-tracker", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/xbtlin/ai-berkshire.git --path codex-skills/thesis-tracker--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add xbtlin/ai-berkshire --skill thesis-tracker -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install xbtlin/ai-berkshire thesis-tracker --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/xbtlin/ai-berkshire.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/codex-skills/thesis-tracker .gemini/skills/thesis-tracker && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "thesis-tracker" agent skill from https://github.com/xbtlin/ai-berkshire/tree/main/codex-skills/thesis-tracker into .gemini/skills/thesis-tracker/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "thesis-tracker", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install xbtlin/ai-berkshire thesis-trackerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add xbtlin/ai-berkshire --skill thesis-tracker -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/xbtlin/ai-berkshire.git skills-src && mkdir -p .github/skills && cp -r skills-src/codex-skills/thesis-tracker .github/skills/thesis-tracker && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "thesis-tracker" agent skill from https://github.com/xbtlin/ai-berkshire/tree/main/codex-skills/thesis-tracker into .github/skills/thesis-tracker/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "thesis-tracker", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add xbtlin/ai-berkshire --skill thesis-tracker -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install xbtlin/ai-berkshire thesis-tracker --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/xbtlin/ai-berkshire.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/codex-skills/thesis-tracker .opencode/skills/thesis-tracker && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "thesis-tracker" agent skill from https://github.com/xbtlin/ai-berkshire/tree/main/codex-skills/thesis-tracker into .opencode/skills/thesis-tracker/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "thesis-tracker", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
thesis-trackerBuilds a written investment thesis for a stock with sell conditions set before buying, then runs periodic checks of its core assumptions after each earnings report.
The skill covers the work that follows a stock purchase. Given a company name, it checks whether a thesis file already exists in the reports folder: if not, it builds one, and if so, it runs a tracking check. Other inputs force a rebuild or run a quarterly check from the latest financial report. The premise is that sell conditions should be written down before buying, so holding decisions come from evidence rather than hope or panic.
Building a thesis starts with gathering the current price, valuation multiples and latest report figures, which a financial rigor script then verifies. The core thesis has to be answered in five one-sentence points and fit within 200 characters; if it cannot be written, the buy decision was unclear. It is then broken into three to seven verifiable assumptions, each with a verification method, a check frequency and a current status.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit efa220f. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
python3From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Investment Thesis Tracker loads about 1.3k tokens when it runs. Until then it costs about 21 tokens; SKILL.md has 440 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from xbtlin/ai-berkshire at commit efa220f, republished under its MIT licence (© xbtlin). 440 words, ~1,300 tokens.
.claude/skills/thesis-tracker/SKILL.md (or your agent's skills folder).This skill is generated from skills/thesis-tracker.md so Claude Code and Codex users share one canonical workflow.
$ARGUMENTS as the user's request in the current Codex thread.tools/ in this repository. Prefer running commands from the repository root with paths like python3 tools/financial_rigor.py ...; if the current thread starts outside the repo, locate the actual checkout path first instead of assuming a fixed home-directory path.date command to confirm today's date; treat it as the baseline for "latest" data and state the data cutoff date in the report header. Never assume the current date from training data.AGENTS.md: cross-check financial data, use exact arithmetic tools for valuation/math, and clearly label uncertainty and source gaps.对 $ARGUMENTS 执行投资论文追踪检查。
支持输入格式:
公司名 — 首次使用时建立投资论文,后续使用时追踪检查公司名 建立论文 — 强制重新建立投资论文公司名 季度检查 — 基于最新财报进行论文检查"买入只是开始。真正的工作是持有期间的持续跟踪。" —— 李录
"当事实改变时,我就改变想法。你呢?" —— 凯恩斯
大多数投资者的流程是:研究 → 买入 → 祈祷。缺少买入后的系统化跟踪,导致:
巴菲特和李录的做法是:买入前就写下卖出条件。然后每个季度检查论文是否完整。
检查是否已存在该公司的投资论文文件(reports/{公司名}-thesis.md):
使用 WebSearch 获取当前股价、估值指标(PE/PB/股息率)、最新财报核心数据,用于填写估值锚点。如果已有该公司的 /investment-research 或 /investment-team 报告,优先从中读取。
使用 tools/financial_rigor.py verify-valuation 校验估值数据。
投资论文必须回答以下5个问题,每个问题一句话:
我以 ___元 买入 ___公司,因为:
1. 这门生意的本质是___,我理解它的赚钱方式
2. 它的护城河是___,而且在变宽/稳定
3. 管理层___,值得信赖的原因是___
4. 当前价格相当于内在价值的___折,安全边际来自___
5. 即使我错了,下行风险可控,因为___如果5句话写不完整,这个论文本身就有问题——说明买入决策不够清晰。
把投资论文拆解成可验证的具体假设:
| # | 核心假设 | 验证方式 | 验证频率 | 当前状态 |
|---|---|---|---|---|
| 1 | 例:收入增速维持15%+ | 季报收入增速 | 每季度 | 🟢 成立 |
| 2 | 例:毛利率稳定在60%+ | 季报毛利率 | 每季度 | 🟢 成立 |
| 3 | 例:管理层持续回购 | 回购公告/现金流表 | 每季度 | 🟢 成立 |
| 4 | 例:竞争对手未取得突破 | 行业数据/竞对财报 | 每半年 | 🟢 成立 |
| 5 | ... | ... | ... | ... |
通常3-7个假设。太少说明思考不够深入,太多说明论文不够聚焦。
| # | 红线条件 | 严重程度 | 触发后动作 |
|---|---|---|---|
| 1 | 例:管理层诚信出问题(财务造假、关联交易) | 致命 | 立即清仓 |
| 2 | 例:核心业务连续2季度收入下滑 | 严重 | 减仓50%,重新评估 |
| 3 | 例:护城河被明确突破(竞对获得同等能力) | 严重 | 启动深度研究,考虑退出 |
| 4 | 例:监管政策根本性改变商业模式 | 严重 | 重新评估内在价值 |
| 5 | 例:管理层大规模减持(非计划性) | 警告 | 深入调查原因 |
段永平:"卖出只有三个理由:1.发现买错了;2.公司基本面变了;3.找到了更好的。"
| 指标 | 买入时 | 乐观目标 | 中性目标 | 悲观情景 |
|---|---|---|---|---|
| 股价 | ||||
| PE | ||||
| 市值 | ||||
| 内在价值估算 | ||||
| 安全边际 |
将投资论文写入 reports/{公司名}-thesis.md,包含:
读取 reports/{公司名}-thesis.md,加载:
使用 WebSearch 收集:
对每个核心假设,用最新数据验证:
| # | 核心假设 | 上次状态 | 最新证据 | 当前状态 | 变化 |
|---|---|---|---|---|---|
| 1 | 收入增速15%+ | 🟢 成立 | Q4收入增速12% | 🟡 边际弱化 | ⚠️ |
| 2 | 毛利率60%+ | 🟢 成立 | 毛利率61.2% | 🟢 成立 | — |
| 3 | ... | ... | ... | ... | ... |
状态定义:
逐条检查红线清单:
| # | 红线条件 | 是否触发 | 证据 |
|---|---|---|---|
| 1 | 管理层诚信问题 | ❌ 未触发 | — |
| 2 | 核心业务连续2季下滑 | ❌ 未触发 | — |
任何一条红线触发 → 在报告中用醒目标注,给出明确的行动建议。
| 指标 | 买入时 | 上次检查 | 当前 | 变化 |
|---|---|---|---|---|
| 股价 | ||||
| PE(TTM) | ||||
| 内在价值估算 | ||||
| 安全边际 |
一、论文健康度评分(满分10分)
二、核心假设检查结果(表格)
三、红线检查结果(表格)
四、本期关键变化(不超过500字)
五、估值更新
六、结论与行动建议
七、下次检查需关注的重点| 评分 | 含义 | 建议动作 |
|---|---|---|
| 计算公式:健康度 = 10 - (⚫破裂假设数×3) - (🔴受损假设数×2) - (🟡弱化假设数×1) - (红线触发数×5),最低1分最高10分。 |
| 评分 | 含义 | 建议动作 |
|---|---|---|
| 9-10 | 所有假设成立,论文比买入时更强 | 考虑加仓 |
| 7-8 | 核心假设成立,个别边际弱化 | 继续持有 |
| 5-6 | 1-2个假设受损,但核心逻辑未变 | 持有但提高警惕 |
| 3-4 | 多个假设受损,论文基础动摇 | 考虑减仓 |
| 1-2 | 红线触发或核心假设破裂 | 强烈建议卖出 |
将本次检查记录追加到 reports/{公司名}-thesis.md 的追踪记录表中:
| 检查日期 | 健康度 | 核心变化 | 动作建议 |
|---|---|---|---|
| 2026-04-09 | 7/10 | 收入增速放缓至12%,但利润率改善 | 持有 |
© xbtlin, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in codex-skills/thesis-tracker of xbtlin/ai-berkshire.
Open the folder on GitHubat commit efa220f
Investment Thesis Tracker next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Investment Thesis Tracker this skillxbtlin/ai-berkshire | 17k | — | ~1.3k | Automated safety check: Pass | MIT | |
| AI-Trader Market IntelHKUDS/AI-Trader | 23k | — | ~1.1k | Automated safety check: Pass | None | |
| Eastmoney Market DataHKUDS/Vibe-Trading | 35k | — | ~1k | Automated safety check: Pass | MIT | |
| Stock Deep Analysis Workflowwbh604/UZI-Skill | 7.1k | — | ~9.1k | Automated safety check: Notes | MIT | |
| Zhengxi Fund Manager Views Librarylyra81604/zhengxi-views | 1.7k | — | ~1.6k | Automated safety check: Pass | MIT | |
| SEC EDGAR Filings FetcherHKUDS/Vibe-Trading | 35k | — | ~1.4k | Automated safety check: Pass | MIT |
HKUDS/AI-Trader
Reads AI-Trader's read-only market snapshots, grouped financial news and events board through its market-intel endpoints, for context before trading or posting.
HKUDS/Vibe-Trading
Index of Eastmoney's free, no-token market data interfaces for China A-shares and Hong Kong stocks: fund flows, dragon-tiger lists, margin trading, reports and news.
wbh604/UZI-Skill
Runs a staged deep analysis of a single stock on China A-share, Hong Kong and US markets, ending in an HTML report with valuation models and investor-panel scores.
lyra81604/zhengxi-views
Answers questions with sourced quotes from one Chinese fund manager's public writings, applies his stated investment method and compares his words with real fund holdings.
HKUDS/Vibe-Trading
Fetches U.S. SEC EDGAR data: resolves tickers to CIK numbers, lists recent 10-K, 10-Q and 8-K filings with document URLs, and pulls XBRL financial series.
helsome/folio
Earnings analysis — pre- and post-earnings. An agent skill from helsome/folio.
xbtlin/ai-berkshire
Scans a long-running industry trend for supply chain chokepoints, aiming to find second- and third-layer suppliers that the market has not yet priced in.
xbtlin/ai-berkshire
Plans and writes a three-to-eight-part long-form article series that breaks down one company, built on fact-checked financials, valuation and management analysis.
xbtlin/ai-berkshire
Reads a company's filings and earnings call material in depth, rates how complete the sources are and extracts the key figures into a structured review.
xbtlin/ai-berkshire
Runs four parallel analyst personas over one earnings report, then an editor and reader-review pass turn the findings into a publishable article.
xbtlin/ai-berkshire
A four-step research framework for finding and tracking high-growth core companies in one industry: map the sector, ask core questions, verify, then hold to the turning point.
xbtlin/ai-berkshire
A research rule set for pulling company financials from prioritized sources by market and cross-checking every key figure against two independent sources.
Categories
Builds a written investment thesis for a stock with sell conditions set before buying, then runs periodic checks of its core assumptions after each earnings report. The skill covers the work that follows a stock purchase. Given a company name, it checks whether a thesis file already exists in the reports folder: if not, it builds one, and if so, it runs a tracking check.
Investment Thesis Tracker fits situations like: writing down why you bought a stock and when you would sell; running a quarterly check of a holding against its assumptions; rebuilding a thesis that no longer matches the business; keeping a disciplined record of assumptions and valuation anchors.
Run `npx skills add xbtlin/ai-berkshire --skill thesis-tracker -a claude-code`. Or copy the skill folder (codex-skills/thesis-tracker in xbtlin/ai-berkshire) into .claude/skills/thesis-tracker in your project. Claude Code loads it when a task matches its description.
Run `npx skills add xbtlin/ai-berkshire --skill thesis-tracker -a codex`. Or copy the skill folder (codex-skills/thesis-tracker in xbtlin/ai-berkshire) into .agents/skills/thesis-tracker in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add xbtlin/ai-berkshire --skill thesis-tracker -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/thesis-tracker, .gemini/skills/thesis-tracker, .github/skills/thesis-tracker and .opencode/skills/thesis-tracker in your project.
Going by SKILL.md and its folder, Investment Thesis Tracker needs the command-line tools its instructions call (python3). Our summary lists: Web search access for prices and financial data; Python 3 for the tools/financial_rigor.py script.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Investment Thesis Tracker is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Investment Thesis Tracker: AI-Trader Market Intel (HKUDS/AI-Trader, 23k stars), Eastmoney Market Data (HKUDS/Vibe-Trading, 35k stars), Stock Deep Analysis Workflow (wbh604/UZI-Skill, 7.1k stars) and Zhengxi Fund Manager Views Library (lyra81604/zhengxi-views, 1.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
xbtlin (a GitHub user) maintains it in xbtlin/ai-berkshire, which has 16,652 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on October 6, 2026.
Source: xbtlin/ai-berkshire on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.