"Vibe-Trading: Your Personal Trading Agent"
Python ai-agentalgorithmic-tradingbacktestingfintechllmmcpmulti-agentpythonquantitative-financetrading
feat(skills): English skill bodies + macro constraints per upstream review
sambazhu6c09d25c3467
diff --git a/agent/src/skills/bottleneck-hunter/SKILL.md b/agent/src/skills/bottleneck-hunter/SKILL.mdindex d426814e9..4b3f32229 100644--- a/agent/src/skills/bottleneck-hunter/SKILL.md+++ b/agent/src/skills/bottleneck-hunter/SKILL.md@@ -4,206 +4,187 @@ category: strategydescription: "Supply-chain bottleneck arbitrage. Given a super-trend (AI infra, energy transition, defense, semiconductor reshoring, space economy), decompose its physical supply chain down to Layer 2/3 choke points (optics, lasers, InP/SOI substrates, IC substrates, probe cards, specialty fiberglass...) and surface under-the-radar listed companies sitting on each bottleneck. Scores each link on 6 scarcity criteria, applies mandatory valuation gates (PS/PE/safety-margin) via the financial_rigor tool, and Munger-style reverse-validates. Outputs a ranked bottleneck opportunity board. Use when the user wants hidden beneficiaries of a structural trend rather than already-priced leaders."----# 供应链瓶颈猎手:AI 驱动的全球产业链瓶颈套利+# Supply-Chain Bottleneck Hunter-对一个超级趋势(用户指定,如"AI 基础设施""能源转型")执行供应链瓶颈扫描与套利机会挖掘。+Decompose a super-trend (user-specified, e.g. "AI infrastructure", "energy transition") into its physical supply chain and hunt for bottleneck-arbitrage opportunities.-## 核心理念+## Core Idea-不问"AI 推荐什么股票",问"如果这个趋势继续扩张,哪一环会先不够用?"+Don't ask "which AI stock to buy" — ask "if this trend keeps expanding, which link runs out first?"-传统投研盯龙头、盯已知赛道。本技能反过来:**从物理供应链的咽喉位置出发,找那些没人注意但一旦断货整个行业都得停下来等的公司**。+Traditional research chases leaders and known tracks. This skill inverts: **start from the choke points of the physical supply chain and find companies nobody notices but that the whole industry must wait on when they run short.**-超额收益来源:第一层瓶颈(GPU、HBM、电力)已被充分定价。真正的 alpha 在**第二层、第三层**——光模块、激光器、InP 衬底、SOI 晶圆、外延设备、晶圆级测试、IC 载板、特殊玻纤等。+The edge: Layer-1 bottlenecks (GPU, HBM, power) are already priced in. The real alpha is in **Layer 2 and Layer 3** — optical modules, lasers, InP substrates, SOI wafers, epitaxy equipment, wafer-level test, IC substrates, specialty fiberglass.-## 第一步:超级趋势确认+## Step 1: Super-Trend Confirmation-### 趋势筛选标准+### Trend Filter Criteria-| 标准 | 要求 | 验证方法 |-|------|------|---------|-| 持续性 | 至少 3-5 年确定性增长 | 搜索行业预测、资本开支计划 |-| 物理性 | 需要实际硬件/材料/设备建设 | 区分"软件升级"和"物理扩建" |-| 规模性 | 全球资本开支 > 500 亿美元/年 | 搜索头部玩家 capex 指引 |-| 加速性 | 需求增速 > 供给扩产速度 | 对比需求增长率 vs 产能扩张计划 |+| Criterion | Requirement | How to verify |+|-----------|-------------|---------------|+| Durability | ≥3-5 years of certain growth | Search industry forecasts, capex plans |+| Physicality | Needs real hardware/material/equipment build | Distinguish "software upgrade" from "physical expansion" |+| Scale | Global capex >$50B/year | Search top players' capex guidance |+| Acceleration | Demand growth > supply expansion | Compare demand growth vs capacity plans |-用 `web_search` 验证。参考超级趋势:AI 基础设施、能源转型(核电/电网/储能)、国防现代化、半导体再工业化、太空经济。用户指定具体趋势则只聚焦该趋势。+Use `web_search` to verify. Reference super-trends: AI infrastructure, energy transition (nuclear/grid/storage), defense modernization, semiconductor reshoring, space economy.-### 趋势验证输出+## Step 2: Physical Supply-Chain Decomposition-```-趋势名称:-核心驱动力:(一句话)-已发生的验证事件(至少3个):- 1. [日期] [事件] [来源]- 2.- 3.-资本开支规模:全球约 $XX 亿/年,增速 YY%-供需缺口判断:需求增速 > 供给扩产速度? 是/否/不确定-趋势确认:✅ 可追踪 / ❌ 证据不足,暂不追踪-```--## 第二步:供应链物理拆解--**不停留在概念层,拆到物理实体。**+Don't stop at concepts — decompose to physical entities.```-Layer 0(终端):最终产品/服务-Layer 1(核心组件):已被市场充分关注的核心硬件 ⬆ 定价充分,alpha 有限-Layer 2(子组件/材料):支撑核心组件的零部件和材料 ⬇ 关注度低,alpha 集中区-Layer 3(上游设备/原料):制造子组件所需的设备和原材料-Layer 4(基础设施):电力、冷却、土地、人才、认证+Layer 0 (end): final product/service+Layer 1 (core component): already closely watched → priced in, limited alpha+Layer 2 (sub-component/material): low attention, alpha-rich+Layer 3 (upstream equipment/raw material)+Layer 4 (infrastructure): power, cooling, land, talent, certifications```-### 以 AI 基础设施为例的拆解模板+### AI Infrastructure Example```-Layer 0:AI 模型训练/推理服务-Layer 1:GPU/加速器、HBM 内存、服务器、数据中心-Layer 2(重点扫描区):- ├─ 网络互联:光模块、光纤、交换芯片、铜缆- ├─ 光通信核心:激光器(EML/VCSEL/CW)、调制器、光探测器- ├─ 半导体材料:InP 衬底、GaAs 衬底、SOI 晶圆、SiC 衬底- ├─ 先进封装:CoWoS 载板、HBM TSV、ABF 基板膜- ├─ PCB/载板:高频高速 PCB、IC 载板、特殊玻纤布- ├─ 测试:晶圆级测试(Probe Card)、老化测试、ATE- ├─ 散热/冷却:液冷系统、CDU、浸没式冷却液- └─ 电力连接:母线槽、UPS、配电柜、变压器-Layer 3:- ├─ 外延设备:MOCVD、MBE- ├─ 光刻/刻蚀:特殊波长光刻、InP 刻蚀- ├─ 原材料:高纯金属(铟、镓、锗)、特气、靶材- └─ 认证/标准:MSA 标准、Telcordia 认证-Layer 4:电力(核电/天然气/输变电)、冷却水、数据中心土地/许可+Layer 0: AI model training/inference services+Layer 1: GPU/accelerators, HBM, servers, data centers+Layer 2 (focus zone):+ - Network interconnect: optical modules, fiber, switch ASICs, copper cables+ - Optical comms core: lasers (EML/VCSEL/CW), modulators, photodetectors+ - Semiconductor materials: InP substrates, GaAs substrates, SOI wafers, SiC substrates+ - Advanced packaging: CoWoS interposers, HBM TSV, ABF substrate film+ - PCB/substrate: high-frequency PCB, IC substrates, specialty fiberglass+ - Test: wafer-level test (probe cards), burn-in, ATE+ - Thermal/cooling: liquid cooling, CDU, immersion fluid+ - Power connection: busbars, UPS, distribution, transformers+Layer 3: epitaxy equipment (MOCVD/MBE), lithography/etch, high-purity metals (In/Ga/Ge), specialty gases, sputtering targets, certifications (MSA/Telcordia)+Layer 4: power (nuclear/gas/transmission), cooling water, data-center land/permits```-对其他趋势,用 `web_search` 检索:`{趋势} supply chain bottleneck`、`{趋势} shortage critical component`、`{趋势} capacity constraint`、`{趋势} sole source supplier`。--## 第三步:瓶颈识别——寻找"咽喉"+For other trends, use `web_search` with queries like `{trend} supply chain bottleneck`, `{trend} shortage critical component`, `{trend} capacity constraint`, `{trend} sole source supplier`.-对 Layer 2-3 的每个环节,逐条评估 6 条标准:+## Step 3: Bottleneck Identification — Finding "Choke Points"-| # | 标准 | 问题 | 得分 |-|---|------|------|------|-| 1 | 供给集中度 | 全球供应商 ≤ 3 家? | 🔴 ≤2 家 / 🟡 3-5 家 / 🟢 >5 家 |-| 2 | 扩产周期 | 新增产能需要多久? | 🔴 >2 年 / 🟡 1-2 年 / 🟢 <1 年 |-| 3 | 替代难度 | 能否用其他技术/材料替代? | 🔴 不可替代 / 🟡 部分可替代 / 🟢 易替代 |-| 4 | 产能利用率 | 当前产能利用率? | 🔴 >90% / 🟡 70-90% / 🟢 <70% |-| 5 | 需求增速 | 下游需求增速? | 🔴 >50%/年 / 🟡 20-50% / 🟢 <20% |-| 6 | 客户验证周期 | 新供应商进入需多久验证? | 🔴 >1 年 / 🟡 6-12 月 / 🟢 <6 月 |+For each Layer 2-3 link, evaluate 6 criteria:-**瓶颈评级**:🔴×≥4 → **S 级**(单点故障,最高优先级);🔴×3 → **A 级**(严重受限);🔴×1-2 → **B 级**(有压力但可控);无 🔴 → 非瓶颈,跳过。+| # | Criterion | Question | Score |+|---|-----------|----------|-------|+| 1 | Supply concentration | ≤3 global suppliers? | 🔴 ≤2 / 🟡 3-5 / 🟢 >5 |+| 2 | Expansion lead time | How long to add capacity? | 🔴 >2y / 🟡 1-2y / 🟢 <1y |+| 3 | Substitutability | Can other tech/material replace it? | 🔴 irreplaceable / 🟡 partial / 🟢 easy |+| 4 | Capacity utilization | Current utilization? | 🔴 >90% / 🟡 70-90% / 🟢 <70% |+| 5 | Demand growth | Downstream demand growth? | 🔴 >50%/yr / 🟡 20-50% / 🟢 <20% |+| 6 | Customer qualification cycle | How long for a new supplier to qualify? | 🔴 >1y / 🟡 6-12m / 🟢 <6m |-## 第四步:公司筛选——从瓶颈到标的+**Bottleneck grade**: 🔴×≥4 → **S-grade** (single-point failure, highest priority); 🔴×3 → **A-grade** (severely constrained); 🔴×1-2 → **B-grade** (stressed but manageable); no 🔴 → not a bottleneck, skip.-对每个 S/A 级瓶颈,用 `web_search` / `screen_market` 找相关上市公司。+## Step 4: Company Screening — From Bottleneck to Tickers-### 初筛标准+For each S/A-grade bottleneck, use `web_search` / `screen_market` to find listed companies.-| 标准 | 要求 |-|------|------|-| 上市状态 | 已上市(A/港/美/日/台/欧) |-| 瓶颈业务占比 | >30% 收入来自瓶颈环节 |-| 市值 | 优先 < 100 亿美元(大市值已充分定价) |-| 流动性 | 日均成交额 > 100 万美元 |+### Initial Screen-### 估值检查(必须执行,不可跳过)+| Criterion | Requirement |+|-----------|-------------|+| Listing status | Listed (A/HK/US/JP/TW/EU) |+| Bottleneck revenue share | >30% of revenue from the bottleneck link |+| Market cap | Prefer <$10B (large caps already priced) |+| Liquidity | Average daily turnover >$1M |-**瓶颈真实 ≠ 投资机会。** 对每家公司用 `financial_rigor`(`command=verify_valuation`)计算 PE/PB/ROE/FCF Yield,用 `financial_rigor`(`command=three_scenario`)做情景估值:+### Valuation Gate (mandatory, never skip)-- **红灯**(满足任一 → 信号强度封顶 ★★,标"⚠️ 估值透支"):市值 > TAM 的 20%;PS > 30x 且收入增速 < 100%;市值 > 5 年乐观收入预测的 10 倍;增发后 60 天股价翻倍。-- **黄灯**(需额外解释,否则降级):亏损 + PS > 15x;PS 是同行盈利公司的 5 倍以上;PE > 80x(需算 PEG)。-- **绿灯**(加分):PS < 10x 且收入在增长;PE < 30x 且有护城河(标"估值有安全边际")。+**A real bottleneck ≠ an investment opportunity.** For every company, compute PE/PB/ROE/FCF yield with `financial_rigor` (`command=verify_valuation`), and run `financial_rigor` (`command=three_scenario`) for scenario valuation:-**估值合理性检验(必做)**:用 `financial_rigor`(`command=three_scenario`)回答——"以当前市值买入,假设最乐观情景全部兑现,10 年后以 25x PE 退出,年化回报是多少?" 年化 < 10% → 标"当前价格不具备安全边际"。+- **Red light** (any one → signal strength capped at ★★, flag "valuation stretched"): market cap >20% of TAM; PS>30x with revenue growth <100%; market cap >10× 5-year optimistic revenue forecast; stock doubled within 60 days of a follow-on offering.+- **Yellow light** (needs extra justification, else downgrade): loss-making + PS>15x; PS >5× a profitable peer; PE>80x (compute PEG).+- **Green light** (bonus): PS<10x with revenue growing; PE<30x with a moat (flag "margin of safety").-> 估值检查的目的是防止推荐"PS 100 倍的亏损公司",而不是排除所有高估值早期公司。关键是增速、TAM、竞争格局能否支撑。+**Sanity check (mandatory)**: with `financial_rigor` (`command=three_scenario`), answer — "buying at current market cap, if the most optimistic scenario fully plays out and I exit at 25× PE in 10 years, what's the annualized return?" <10%/yr → flag "no margin of safety at current price".-## 第五步:交叉验证——不只听一个故事+## Step 5: Cross-Validation — Don't Trust a Single Story-### 正向验证+### Positive checks-| 验证项 | 问题 |-|--------|------|-| 客户验证 | 头部客户是否已签约/导入?(查公告、客户财报) |-| 收入验证 | 瓶颈是否已体现在收入增长?(查近 2-3 季财报) |-| 价格验证 | 产品是否涨价?(查报价、研报) |-| 产能验证 | 产能是否真紧张?(查交期、客户抱怨) |-| 资本验证 | 是否有扩产 capex?(查公司指引) |+| Check | Question |+|-------|----------|+| Customer validation | Have top customers signed/imported? (check announcements, customer filings) |+| Revenue validation | Is the bottleneck already showing in revenue growth? (last 2-3 quarters) |+| Price validation | Is the product raising price? (industry quotes, analyst reports) |+| Capacity validation | Is capacity really tight? (lead times, customer complaints) |+| Capital validation | Is there expansion capex? (company guidance) |-用 `get_financial_statements` / `get_stock_news` / `web_search` 取数。+Use `get_financial_statements` / `get_stock_news` / `web_search`.-### 反向验证(芒格式否定)+### Reverse checks (Munger inversion)-- 聪明人为什么不买这只股票?-- 这个瓶颈能被绕过吗?有什么替代路线?-- 中国/其他玩家能不能很快复制产能?-- 终端需求如果放缓 50%,这家公司会怎样?-- 管理层过去有没有在高点增发稀释?-- 当前估值隐含了什么增长假设?+- Why don't smart people buy this stock?+- Can the bottleneck be bypassed? Alternative routes?+- Can China / other players quickly replicate capacity?+- If end-demand drops 50%, what happens to this company?+- Has management diluted at highs before?+- What growth assumption does the current valuation imply?-## 第六步:输出——瓶颈机会看板+## Step 6: Output — Bottleneck Opportunity Board-### 排名表+### Ranking Table-| 排名 | 公司 | 代码 | 市值 | 年收入 | PS | PE | 瓶颈环节 | 评级 | 市场份额 | 收入增速 | 信号强度 | 估值判断 |-|------|------|------|------|--------|-----|-----|---------|------|---------|---------|---------|---------|+| Rank | Company | Ticker | Mkt Cap | Revenue | PS | PE | Bottleneck link | Grade | Share | Growth | Signal | Valuation |+|------|---------|--------|---------|---------|-----|-----|-----------------|-------|-------|--------|--------|-----------|-**市值、年收入、PS、PE 为必填项,不可用"待核实"跳过。** 无法获取财务数据时,信号强度不得超过 ★★。+**Market cap, revenue, PS, PE are mandatory** — never skip with "TBD". If financials can't be obtained, signal strength ≤★★.-信号强度(估值检查直接影响):-- ★★★★★ 多重交叉验证 + 客户已导入 + 收入已体现 + 估值绿灯-- ★★★★ 大部分验证通过 + 估值绿灯或黄灯(附解释)-- ★★★ 逻辑成立但部分待验证 + 估值黄灯可接受(如高增速早期)-- ★★ 早期信号,或瓶颈逻辑成立但估值红灯-- ★ 纯概念、未验证+Signal strength (valuation gate directly affects):+- ★★★★★ multi-cross-validated + customers imported + revenue confirmed + valuation green+- ★★★★ most checks pass + valuation green/yellow (with explanation)+- ★★★ logic holds but parts unverified + valuation yellow acceptable+- ★★ early signal, or logic holds but valuation red+- ★ pure concept, unverified-完成后,对报告用 `report_audit`(`command=extract` → 逐点核验 → `command=verdict`)做准出门,确保数字无幻觉。+After drafting, run `report_audit` (`command=extract` → verify each point → `command=verdict`) as a quality gate to ensure no hallucinated numbers.-### 一页纸摘要模板+### One-Pager Template```-🎯 {公司}({代码})— {一句话瓶颈定位}+🎯 {Company} ({Ticker}) — {one-line bottleneck positioning}++Why it's a bottleneck: (2-3 sentences)+Why this company: (2-3 sentences)-为什么是瓶颈:(2-3 句)-为什么是这家:(2-3 句)+Catalyst timeline:+- Near-term (1-3m): [earnings / capacity / customer win]+- Mid-term (3-12m): [industry trend / expansion node]-催化剂时间线:-- 近期(1-3 月):[财报/产能投产/客户验证]-- 中期(3-12 月):[行业趋势/扩产节点]+Key risks: 1. 2.-主要风险:1. 2.+Key data: market cap / revenue / PS / PE / growth / bottleneck revenue share+Margin of safety: 10y 25× PE exit method, annualized return XX%. Conclusion: yes/no.-关键数据:市值/年收入/PS/PE/收入增速/瓶颈业务占比-估值安全边际:10 年 25x PE 退出法,年化回报 XX%。结论:有/无安全边际。-交叉验证状态:✅ 客户验证 / ✅ 收入验证 / ⚠️ 估值透支 / ❌ 未验证项+Cross-validation status: ✅ customer / ✅ revenue / ⚠️ valuation stretched / ❌ unverified-结论:深入研究 / 加入观察名单 / 暂不追踪+Conclusion: deep research / watchlist / skip```-把报告用 `write_file` 写入报告目录(如 `reports/bottleneck-map/{趋势}-bottleneck-{YYYYMMDD}.md`)。+Save with `write_file` to the reports directory (e.g. `reports/bottleneck-map/{trend}-bottleneck-{YYYYMMDD}.md`).-## 第七步:存量更新——瓶颈地图动态维护+## Step 7: Inventory Update — Maintain the Bottleneck Map-每次运行时:① 检查已识别瓶颈是否仍成立(新供应商?产能已扩张解除?替代技术突破?);② 扫描新瓶颈(`web_search` 近 7 天 supply chain / shortage / bottleneck 新闻);③ 更新评级(升级/降级/解除)。+On each run: ① re-check identified bottlenecks (new suppliers? capacity expanded? substitute breakthrough?); ② scan new bottlenecks (`web_search` last 7 days supply chain / shortage / bottleneck news); ③ update grades (upgrade/downgrade/relieve).-## AI 研究偏见自觉+## AI Research Bias Self-Check-| 偏见 | 表现 | 应对 |-|------|-----|------|-| 龙头偏好 | 搜索结果被大市值公司占据 | 刻意搜索小市值供应商,加 "small cap" 关键词 |-| 英文偏好 | 遗漏日韩台公司 | 必须搜索日/韩/台湾市场供应商 |-| 叙事偏好 | 被"AI 概念"标签吸引 | 只看实际供应链位置,不看市场标签 |-| 确认偏见 | 找到瓶颈后只找正面证据 | 强制执行第五步反向验证 |-| 时效偏见 | 依赖过时信息 | 优先搜索最近 30 天的数据 |+| Bias | Symptom | Counter |+|------|---------|---------|+| Leader-bias | Search dominated by large caps | Deliberately search small-cap suppliers, add "small cap" |+| English-bias | Miss JP/KR/TW players | Must search JP/KR/TW market suppliers |+| Narrative-bias | Drawn to "AI concept" labels | Look only at actual supply-chain position, not market labels |+| Confirmation-bias | After finding a bottleneck, only seek positive evidence | Force Step 5 reverse checks |+| Recency-bias | Rely on stale info | Prefer last 30 days of data |-## 核心原则(最高优先级)+## Core Principles (highest priority)-1. **不让 AI 推荐股票,让 AI 拆供应链**——问题比答案重要。-2. **物理优先**——只关注需要实际物理产品/材料/设备的环节。-3. **第二层、第三层**——不追已被充分定价的龙头。-4. **交叉验证**——每个结论至少 2 个独立信源。-5. **诚实面对不确定性**——找不到数据就写"数据不足",不用推测填充。-6. **瓶颈有时效性**——每个瓶颈都会被解除,关键是判断时间窗口。-7. **小市值 ≠ 好机会**——小市值也可能是烂公司,必须过财务质量关。-8. **瓶颈真实 ≠ 投资机会**——PS > 30x 或仍亏损时,当前价格就不是买点。**估值是硬门槛,不可被瓶颈纯正度、信号强度或叙事吸引力覆盖。** 宁可错过一个涨了的瓶颈股,也不要在 100 倍 PS 买入一家亏损公司。+1. **Don't ask the AI to recommend stocks — ask it to decompose supply chains.** The question matters more than the answer.+2. **Physical first** — only links that need real physical product/material/equipment.+3. **Layer 2 and Layer 3** — don't chase already-priced leaders.+4. **Cross-validate** — every conclusion needs ≥2 independent sources.+5. **Be honest about uncertainty** — if data is missing, say so; don't fill with speculation.+6. **Bottlenecks are temporary** — every bottleneck gets resolved; the key is timing the window.+7. **Small cap ≠ good opportunity** — a small cap can also be a bad company; it must pass financial quality.+8. **A real bottleneck ≠ an investment** — at PS>30x or still loss-making, the current price is not a buy. **Valuation is a hard gate that cannot be overridden by bottleneck purity, signal strength, or narrative appeal.** Better to miss a bottleneck stock that ran than buy a loss-making company at 100× sales.diff --git a/agent/src/skills/deep-company-series/SKILL.md b/agent/src/skills/deep-company-series/SKILL.mdindex 54c9f1863..3184e606f 100644--- a/agent/src/skills/deep-company-series/SKILL.md+++ b/agent/src/skills/deep-company-series/SKILL.md@@ -4,145 +4,144 @@ category: analysisdescription: "Write a publication-grade 8-part deep-dive series on a single company (~120k words total): cognitive reset / moat / profit engine / hidden assets / era variable (e.g. AI) / financials Buffett-style / management / valuation+redlines. The core IP is NOT writing but REVISING — a strict fact-check checklist catches pseudo-precision (probability-weighted expectations, third-party MAU discrepancies, linear extrapolation), absolute language, and cross-article number inconsistencies that most finance long-forms violate. Each piece stands alone but shares one valuation/management/price framework. Use when the user wants textbook-level depth on one company for public publishing (a single research report or earnings note is NOT this — use investment-research / earnings-review instead)."----# 深度公司系列:8 篇长文拆一家公司+# Deep-Company Series: An 8-Part Deep Dive on One Company-为一家公司撰写 8 篇深度长文系列(约 12 万字),从认知重置到决策框架完整闭环。**核心 IP 不是"会写",而是"会改"——大多数财经文章违反本 skill 的事实核查标准**。+Write an 8-part deep-dive series (~120k words total) on a single company, from cognitive reset to a decision framework. **The core IP is not "writing well" but "revising strictly" — most finance long-form violates this skill's fact-check standard.**-## 一、触发场景+## 1. When to Use-用户希望为一家公司做"教科书级别"的深度研究,以**系列长文**形式公开发布。区别于单篇研报:-- 8 篇约 12 万字,从认知重置到决策框架完整闭环-- 每篇独立成文(适合单篇分享),但贯穿一套估值/管理层/价格判断-- 写给"愿意花 90 分钟读懂一家公司"的读者+The user wants "textbook-level" deep research on a company, published as a **series of long-form articles**. Distinct from a single research report:+- 8 parts, ~120k words, full loop from cognitive reset to a decision framework+- Each part stands alone (shareable singly) but shares one valuation / management / price framework+- Written for readers willing to spend 90 minutes understanding one company-**不适合**:单篇研报、季报点评、行业研究——那些用别的技能(基本面/财报/行业)。+**Not for**: a single research report, earnings note, sector study — use other skills (fundamentals / earnings / sector).-## 二、系列篇目模板(8 篇)+## 2. Series Template (8 Parts)-| # | 篇名模板 | 核心问题 | 字数 |-|---|---------|---------|------|-| 01 | 你以为你看懂了 X,其实没有 | 认知重置:破 3 个常见错觉 | 4,000-5,000 |-| 02 | X 的护城河——`<生意本质一句话>` | 护城河深不深、未来 5/10 年还在不在 | 6,000-8,000 |-| 03 | X 的最大利润引擎——`<最赚钱业务>` | 主业是什么、为什么能持续 | 6,000-8,000 |-| 04 | X 藏在账上的另一家公司——`<隐藏资产>` | 投资组合 / 子公司 / 隐藏价值 | 8,000-10,000 |-| 05 | AI(或当下叙事)时代,X 是赢家还是输家 | 时代变量:分业务拆影响 | 8,000-10,000 |-| 06 | 用巴菲特方式拆 X 的财报 | 财务深度:毛利率/FCF/ROE/SBC | 8,000-10,000 |-| 07 | `<管理层金句>`——X 的管理层值不值得托付 | 资本配置纪律 + 诚信检验 + 接班人 | 8,000-10,000 |-| 08 | 多少钱值得买,什么信号必须卖(终章) | DCF 三情景 + 红线清单 + 仓位框架 | 10,000-12,000 |+| # | Title template | Core question | Words |+|---|----------------|---------------|-------|+| 01 | You think you understand X — you don't | Cognitive reset: break 3 common illusions | 4,000-5,000 |+| 02 | X's moat — `{one-line business essence}` | Is the moat deep; will it be there in 5/10 years | 6,000-8,000 |+| 03 | X's biggest profit engine — `{most profitable business}` | What is the core business; why it persists | 6,000-8,000 |+| 04 | The other company hidden on X's balance sheet — `{hidden asset}` | Investment portfolio / subsidiary / hidden value | 8,000-10,000 |+| 05 | In the AI (or current narrative) era, is X a winner or loser | Era variable: decompose the impact by business | 8,000-10,000 |+| 06 | Reading X's financials the Buffett way | Financial depth: gross margin / FCF / ROE / SBC | 8,000-10,000 |+| 07 | `{management quote}` — is X's management worth entrusting | Capital-allocation discipline + integrity test + succession | 8,000-10,000 |+| 08 | At what price to buy, what signal to sell (finale) | DCF 3-scenario + red lines + position framework | 10,000-12,000 |-加一篇 `00-系列说明.md` 作目录索引(不发表)。+Plus `00-series-overview.md` as an index (unpublished).-## 三、写作风格规范+## 3. Writing Style-### 语气-- **直接、犀利、不说废话**——第一句就给数字或反常识结论-- **价值投资框架**——巴菲特/芒格/段永平/李录视角穿插(不堆砌名言)-- **不预设立场**——先摆数据、再推逻辑、最后得结论-- **呈现正反两面**——每个核心判断都附"但另一方面..."的反方+### Voice+- **Direct, sharp, no filler** — open with a number or a counterintuitive claim+- **Value-investing frame** — Buffett/Munger/Duan Yongping/Li Lu lenses woven in (no name-dropping)+- **No preset stance** — data first, logic next, conclusion last+- **Show both sides** — every core judgment carries a "but on the other hand..."+- **Mobile preview** — the first 18-20 characters must stand alone-### 禁用词+### Banned Words-| 禁用 | 原因 | 替代 |-|------|------|------|-| 显然 / 必然 / 一定 | 主观绝对化 | 数据显示 / 证据表明 |-| 我认为 / 我觉得 | 主观腔调 | 删除或改为"按本框架" |-| 教科书级别 / 神来之笔 | 流量党褒奖 | 描述具体事实 |-| 严重不匹配 / 严重低估 | 强主观词 | 给具体折让百分比 |-| 完美 / 无可挑剔 | 单边判断 | 加上反方观察 |+| Banned | Why | Replace with |+|--------|-----|--------------|+| obviously / inevitably / certainly | Subjective absolutism | "the data shows" / "evidence suggests" |+| I think / I feel | Subjective tone | cut, or "under this framework" |+| textbook-level / brilliant | Hype adjectives | describe the concrete fact |+| severely mismatched / severely undervalued | Strong subjective | give the specific discount % |+| perfect / flawless | One-sided | add the counter-observation |-### 标题风格-- 用**反差数字**或**反共识结论**做钩子("15 年 7 次挑战全失败"、"年薪 4292 万占利润 0.0017%")-- 副标题中性、概括内容-- **避免流量党比喻**:"小巴菲特"、"中国版 X"、"YYDS" 一律避开+### Title Style+- Hook with a **contrast number** or a **counter-consensus claim** ("15 years, 7 failed challenges"; "salary 42.92M = 0.0017% of profit")+- Neutral subtitle summarizing content+- **Avoid hype metaphors**: "the next Buffett", "the X of China", "GOAT" — all banned-## 四、严苛事实核查 Checklist(核心 IP)+## 4. Strict Fact-Check Checklist (the Core IP)-### 写之前就要警惕的"伪精确"陷阱+### "Pseudo-precision" traps to watch for before writing-1. **概率加权期望值**:`30% × A + 50% × B + 20% × C = 期望 +X%` 几乎全是垃圾——概率分配纯主观,给读者错误精确感。**只列情景 + 触发条件 + 方向,不算加权期望**。-2. **第三方测算 MAU/份额**:QuestMobile/七麦/CBNData 等口径差异巨大(同一时点能差 2-3 倍)。**只用最可信的两个对比作 anchor,其他做定性描述**。-3. **历史增速线性外推**:`2025 年 +33% × 5 年复合 → 2030 年 X` 是金融文盲式预测。**情景假设 + 高/低区间 + 不是承诺**。-4. **未公开的持股比例**:未上市公司持股从未公开披露。**给区间,标"不可知"**。-5. **强归因**:竞争对手失败 = 因为 X。多重原因都列出来,**本文不做单一归因**。+1. **Probability-weighted expected value**: `30% × A + 50% × B + 20% × C = expected +X%` is almost always garbage — the probabilities are pure subjective, giving readers false precision. **List scenarios + triggers + direction only; do not compute a weighted expectation.**+2. **Third-party MAU/share estimates**: QuestMobile / 七麦 / CBNData differ hugely (2-3× at the same point). **Use only the two most-credible as anchors; describe the rest qualitatively.**+3. **Linear extrapolation of historical growth**: `2025 +33% × 5y CAGR → 2030 X` is financial illiteracy. **Use scenario assumptions + high/low ranges; never a promise.**+4. **Undisclosed shareholding**: unlisted-company stakes are never publicly disclosed. **Give a range, mark "unknowable".**+5. **Strong attribution**: "competitor failed because of X." List multiple causes; **this article does no single attribution.**-### 修订时必跑的 7 项检查+### The 7 mandatory revision checks```-□ 1. 跨篇数字一致性:总市值、Non-IFRS 净利润、关键持股 % 全系列对齐-□ 2. 口径标注:Non-IFRS / GAAP / Non-IFRS-SBC / FCF 各用哪个,全文清楚-□ 3. 重复加计扫描:已并表子公司不在"投资组合"里、SOTP 不双算-□ 4. 横向比较公平性:不能"主业 PE(剔除现金+组合)" vs "对手 PE(不剔)"-□ 5. 概率加权全删:见上一条-□ 6. 绝对化表述全弱化:搜 "显然|必然|严重|教科书|完美" 逐条改-□ 7. 第三方数据来源标注:每条非财报数据后跟"(来源:X)"+□ 1. Cross-article number consistency: market cap, Non-IFRS net income, key holding % aligned across the series+□ 2. Caliber labeling: Non-IFRS / GAAP / Non-IFRS-SBC / FCF — which is used, clear throughout+□ 3. Double-counting scan: consolidated subs are NOT in the "investment portfolio"; SOTP doesn't count them twice+□ 4. Peer-comparison fairness: don't compare "core-business PE (cash + portfolio stripped)" with "peer PE (not stripped)"+□ 5. Probability-weighted expectations deleted (see above)+□ 6. Absolute language softened: grep "obviously|inevitably|severely|textbook|perfect"+□ 7. Third-party data sourced: every non-filing data point followed by "(source: X)"```-### 模型偏好(写之前先列已知硬错误风险)+### Known hard-error risks (list before writing)-- 历史回报倍数:必须用累计投入口径(如 Riot 33 倍 不是 58 倍)-- 持股比例:必须看最新财报口径(如腾讯持有美团的比例随减持变化)-- "派息分派"会计处理:视同处置收益按 IFRIC 17 在宣派日确认-- 总股本会反弹:SBC 集中年初授予会让股本短期上升+- Historical return multiples: use cumulative-invested basis (e.g. Riot 33×, not 58×)+- Shareholding %: use the latest filing/financial-app basis (e.g. Tencent's Meituan stake changes with disposals)+- "Distribution accounting": treated as disposal gain under IFRIC 17, recognized on declaration date+- Share count rebounds: SBC granted in clusters at year-start can lift share count short-term-## 五、执行流程+## 5. Execution-### 阶段 1:调研(写 01-02 篇前完成)+### Phase 1: Research (before writing 01-02)-1. 用 `get_financial_statements` 读公司近 5 年年报、最新季报-2. 用 `get_research_reports` / `web_search` 读至少 3 份独立卖方研报(找共识 + 反共识)-3. 可选:用 `run_swarm`(如 equity_research_team 或 value_investing_committee)先生成内部研究底稿-4. **与用户确认 8 篇的核心论点**(避免写完才发现方向不对)+1. `get_financial_statements` — last 5 years of annuals, latest quarterly+2. `get_research_reports` / `web_search` — at least 3 independent sell-side reports (find consensus + dissent)+3. Optional: `run_swarm` (e.g. equity_research_team or value_investing_committee) to generate an internal research draft+4. **Confirm the 8-part core theses with the user** (avoid writing the wrong direction)-### 阶段 2:写作(按 01→08 顺序写,不跳)+### Phase 2: Writing (01→08 in order, no skipping)-- 每篇写完用 `write_file` 存到 `reports/{公司名}/《看懂{公司名}》/0X-XX.md`-- 不立即发布——等用户审阅-- 用户提修订意见后修改+- After each part, `write_file` to `reports/{company}/《Understanding {company}》/0X-XX.md`+- Don't publish immediately — wait for user review+- Revise on feedback-### 阶段 3:跨篇一致性扫描(08 篇全部写完后)+### Phase 3: Cross-Article Consistency Scan (after all 8)-这是本技能的关键差异化。用工具扫描 8 篇做以下检查:+This is the key differentiator. Use tools to scan:-1. 用 `read_file` 逐篇读 + `report_audit`(`command=extract`)抽取每篇的数字(市值、净利润、持股比例、PE 等)-2. **跨篇对比同一数字是否一致**——用 `financial_rigor`(`command=cross_validate`)把同一指标在不同篇的值做交叉验证,偏差 >1% 标口径差异-3. `read_file` 检查:同一术语(FBS、SBC、Non-IFRS)首次出现是否解释;引用关系("详见 06 篇")是否真的对应;要点回顾 vs 正文数字是否一致-4. 绝对化表述扫描:搜 "显然|必然|严重|完美" 逐条弱化+1. `read_file` each part + `report_audit` (`command=extract`) to pull numbers (market cap, net income, holding %, PE) from each+2. **Cross-check the same number across parts** — use `financial_rigor` (`command=cross_validate`) to cross-validate the same metric's values across articles; flag >1% deviation as a caliber mismatch+3. `read_file` checks: is each term (FBS, SBC, Non-IFRS) defined at first use; do "see part 06" references actually resolve; do recaps match body numbers+4. Absolute-language scan: grep "obviously|inevitably|severely|perfect" and soften each-### 阶段 4:发布前最终核查+### Phase 4: Pre-publish Final Check-- 用 `report_audit`(`command=verdict`)对每篇做准出门:抽取数字 + 核验 + PASS/FAIL-- 确认所有数字可追溯、无伪精确、无绝对化+- `report_audit` (`command=verdict`) as a gate on each part: extract numbers → verify → PASS/FAIL+- Confirm all numbers are traceable, no pseudo-precision, no absolutism-## 六、修订意见处理流程+## 6. Revision-Feedback Handling-用户给修订意见时,按以下顺序:+### 1. Verify facts first (don't just change)+If the user says "X is wrong", use `get_financial_statements` / `web_search` to cross-check the original; present "user's number vs what I found vs what I used".-### 1. 先核查事实(不要直接改)-如果用户说"X 数据不对",先用 `get_financial_statements` / `web_search` 找原始数据交叉验证,给出"用户说的 vs 我查到的 vs 我之前用的"三方对比。+### 2. Grade the revision-### 2. 判断修订级别+| Grade | Type | Handle |+|-------|------|--------|+| 🔥 Hard error | wrong number / attribution / caliber | Must fix |+| ⚠️ Subjective | strong subjective word / hype metaphor | Soften or cut |+| 🔬 Granularity | source label, caliber refinement | Balance against readability |+| ❓ Unreliable | large third-party discrepancies | **Deleting is safer than editing** |-| 级别 | 类型 | 处理 |-|------|------|------|-| 🔥 硬错误 | 数字错、归因错、口径错 | 必改 |-| ⚠️ 主观化 | 强主观词、绝对化、流量党比喻 | 弱化或删除 |-| 🔬 颗粒度 | 来源标注、口径细化 | 按可读性平衡 |-| ❓ 不可靠 | 第三方测算差异大 | **删比改更稳** |+### 3. Cascade check after a fix+Before fixing one spot, think "where else is this number/concept referenced":+- Market cap changed → cascade to PE / core-business PE / discount / FCF yield+- Holding % changed → fix TOP-10 sort + historical holding table + disposal list+- Caliber changed → fix first definition + later references + recap-### 3. 修订后联动检查-修一处先想"哪些地方还引用这个数字/概念":-- 改了总市值 → 全系列联动改 PE / 主业 PE / 折让 / FCF Yield-- 改了持股 % → 改 TOP 10 排序 + 历史持股表 + 减持清单-- 改了术语口径 → 改首次定义 + 后续引用 + 要点回顾+## 7. What This Skill Does NOT Do-## 七、本技能不做什么--- **不替读者做投资决策**——所有篇章末尾"不构成投资建议"-- **不预测股价**——只给"情景 + 触发条件"-- **不算"期望年化回报"加权值**——主观概率分配会误导读者-- **不写"X 大佬也持有"**——用别人持仓为自己的判断背书是反价值投资的-- **不强求 8 篇都写**——某篇没足够独立内容就合并或减篇数+- **Does not make investment decisions for the reader** — every part ends with "not investment advice"+- **Does not predict prices** — only "scenarios + triggers"+- **Does not compute a weighted "expected annualized return"** — subjective probability misleads+- **Does not write "famous investor X also holds"** — using someone else's holding to back your judgment is anti-value-investing+- **Does not force all 8 parts** — if a part lacks enough standalone content (e.g. management isn't distinctive), merge it or reduce the count----**一句话总结**:写《看懂 X 系列》的核心能力 ≠ 写得好,而是**改得严**——大多数财经长文死于伪精确数字、主观加权期望值、绝对化表述。本技能的存在就是为了把这些坑全部标记出来,写之前避开,写之后扫干净(用 `report_audit` + `financial_rigor.cross_validate` 扫)。+**One-liner**: writing an "Understanding X" series is about **revising strictly, not writing well** — most finance long-form dies from pseudo-precise numbers, subjective weighted expectations, and absolute language. This skill exists to flag all those traps before writing and sweep them clean after (`report_audit` + `financial_rigor.cross_validate`).diff --git a/agent/src/skills/management-deep-dive/SKILL.md b/agent/src/skills/management-deep-dive/SKILL.mdindex 5959b5c28..57184fa17 100644--- a/agent/src/skills/management-deep-dive/SKILL.md+++ b/agent/src/skills/management-deep-dive/SKILL.md@@ -4,206 +4,188 @@ category: analysisdescription: "Deep management assessment — the 'buying a stock is buying a person' layer. For a company or a named executive, evaluate integrity (promise-vs-delivery tracking, crisis behavior, stakeholder treatment), ability (strategic foresight, execution, capital-allocation record) and governance (equity structure, compensation, related-party deals). Outputs a weighted score across integrity / ability / capital-allocation / governance plus Duan Yongping's 3-question verdict ('would you hand this person your money for 10 years'). Use when standard research leaves management quality uncertain, or when management IS the investment thesis."----# 管理层纵深研究:买股票就是买人+# Management Deep Dive: Buying a Stock Is Buying a Person-对一个公司(或 `人名 公司名`)做管理层深度研究。+Deep management research on a company (or `person company`).-> "买股票就是买人。找到你信任的人,然后长期持有。" —— 段永平+> "Buying a stock is buying a person. Find someone you trust, then hold long-term." — Duan Yongping>-> "评估管理层,要看他们在没人看着的时候做什么。" —— 巴菲特+> "To judge management, look at what they do when no one is watching." — Buffett-## 设计理念+## Design Philosophy-多数投研对管理层的评估停留在表面:履历、持股、薪酬。但巴菲特花大量时间和管理层交流,李录说投资的本质是投人,段永平说买股票就是买人。+Most analysis stops at the surface: résumé, shareholding, compensation. But Buffett spends time talking with management, Li Lu says investing is fundamentally investing in people, Duan Yongping says buying a stock is buying a person.-AI 无法和管理层吃饭,但可以通过公开信息做到:① **追踪管理层的话与做是否一致**(承诺 vs 兑现);② **分析每一笔重大资本配置决策的回报**;③ **从困难时期的决策推断品格**;④ **通过员工/商家/客户反馈侧面验证**。+AI can't have dinner with management, but it can via public information: ① **track whether words match deeds** (promises vs delivery); ② **analyze the return of every major capital-allocation decision**; ③ **infer character from decisions made in hard times**; ④ **cross-check via employee / merchant / customer feedback**.-适用场景:标准研究中管理层评分不确定(★★★ 或以下)、或管理层是核心投资逻辑时,用本技能做纵深。+Use when: standard research leaves management score uncertain (★★★ or below), or when management is the core investment logic.-## 第一步:识别关键管理层+## Step 1: Identify Key People-用 `web_search` / `get_stock_profile` / `get_sec_filings` 确认关键人物:+Use `web_search` / `get_stock_profile` / `get_sec_filings`:-| 角色 | 姓名 | 任期 | 背景 | 持股/期权 |-|------|------|------|------|----------|-| CEO/董事长 | | | | |+| Role | Name | Tenure | Background | Shareholding/options |+|------|------|--------|------------|----------------------|+| CEO/Chairman | | | | || CFO | | | | |-| 创始人(如不在位) | | | | |-| 实际控制人(如不同于 CEO) | | | | |-| 其他关键高管 | | | | |+| Founder (if not in role) | | | | |+| Actual controller (if different from CEO) | | | | |+| Other key executives | | | | |-**区分"谁在做决策"和"谁的名字在头衔上"**——有些公司创始人虽卸任仍是灵魂人物(如黄峥之于拼多多)。+**Distinguish "who decides" from "whose name is on the title"** — some founders remain the soul even after stepping down.-然后收集四类数据(可顺序用 `web_search` + `get_stock_news` + `get_financial_statements` + `get_sec_filings`,或用 `run_swarm` 并行):① CEO 公开发言与预测记录;② 资本配置决策(并购/回购/分红/新业务);③ 治理结构与薪酬;④ 侧面验证(员工/客户/行业口碑)。+Then gather four data categories (sequentially via `web_search` + `get_stock_news` + `get_financial_statements` + `get_sec_filings`, or `run_swarm`): ① CEO public statements and prediction record; ② capital-allocation decisions (M&A / buybacks / dividends / new business); ③ governance and compensation; ④ side validation (employee / customer / industry reputation).-## 第二步:CEO 能力圈评估+## Step 2: CEO Circle of Competence-### 战略眼光+### Strategic Foresight-用 `web_search` 搜 CEO 过去 5 年公开发言(股东信、电话会、采访、社交媒体),提取其判断:+Use `web_search` to collect the CEO's public statements over the past 5 years (shareholder letters, calls, interviews, social media); extract their judgments:-| 时间 | CEO 的判断/预测 | 实际结果 | 准确度 |-|------|----------------|---------|:------:|-| | "我们认为 X 市场会..." | X 市场实际... | ✅/❌ |+| Time | CEO's judgment/prediction | Actual outcome | Accuracy |+|------|---------------------------|----------------|----------|+| | "We believe market X will..." | X actually... | ✅/❌ |-关键问题:有没有做过超前于市场的正确判断?有没有在大家都看好时保持冷静?对行业的理解是跟随市场还是独立思考?+Key questions: Has the CEO made correct calls ahead of the market? Stayed calm when everyone was bullish? Is their industry understanding independent or following the crowd?-### 执行能力+### Execution-| 维度 | 评估 | 证据 |-|------|------|------|-| 战略到落地 | 说了的事做到了吗? | |-| 组织能力 | 能吸引和留住人才? | |-| 危机处理 | 遇到困难时怎么应对? | |-| 迭代速度 | 犯错后纠正的速度? | |+| Dimension | Assessment | Evidence |+|-----------|-----------|----------|+| Strategy-to-execution | Did they do what they said? | |+| Organization | Can they attract and retain talent? | |+| Crisis handling | How do they respond to difficulty? | |+| Iteration speed | How fast do they correct mistakes? | |-## 第三步:诚信度评估(最重要)+## Step 3: Integrity Assessment (most important)-> 巴菲特:"我们寻找三种品质:正直、智慧、精力。如果没有第一种,后两种会害死你。"+> Buffett: "We look for three qualities: integrity, intelligence, and energy. Without the first, the other two will kill you."-### 承诺 vs 兑现追踪+### Promise-vs-Delivery Tracking-从过去 3 年财报电话会、股东信、公开采访中(`get_sec_filings` / `web_search` / `get_stock_news`),提取管理层做过的**具体承诺**:+Extract specific commitments from the past 3 years (calls, letters, interviews) via `get_sec_filings` / `web_search` / `get_stock_news`:-| # | 时间 | 承诺内容 | 承诺场合 | 兑现情况 | 评价 |-|---|------|---------|---------|---------|------|-| 1 | | "2025 年实现 X 业务盈利" | 2024 年报电话会 | | ✅/⚠️/❌ |+| # | Time | Commitment | Occasion | Delivery | Rating |+|---|------|-----------|----------|----------|--------|+| 1 | | "X business profitable in 2025" | 2024 annual call | | ✅/⚠️/❌ |-| 承诺兑现率 | 评价 |-|:---------:|------|-| >80% | 优秀——说到做到 |-| 60-80% | 合格——大方向对,执行有偏差 |-| 40-60% | 令人担忧——承诺过多,交付不足 |-| <40% | 严重问题——不可信赖 |+| Delivery rate | Rating |+|:-------------:|--------|+| >80% | Excellent — does what it says |+| 60-80% | Acceptable — right direction, execution gaps |+| 40-60% | Concerning — over-promises, under-delivers |+| <40% | Serious problem — untrustworthy |-### 困难时期的表现+### Behavior in Hard Times-搜公司历史上的重大危机(股价暴跌、业绩 miss、监管冲击、竞争加剧),分析管理层应对:是主动沟通还是躲避?归因内部还是甩锅外部?趁机做困难但正确的事,还是短期讨好市场?+Search for major crises (price crash, earnings miss, regulatory shock, competition); analyze management's response: proactive comms or hiding? Internal attribution or blaming external? Used the crisis to do the hard right thing or to pander short-term?-### 对利益相关方的态度+### Treatment of Stakeholders-| 利益相关方 | 管理层态度 | 证据 | 评价 |-|-----------|-----------|------|------|-| 股东 | 尊重/忽视/利用 | | |-| 员工 | 善待/压榨/漠视 | | |-| 客户/用户 | 以客户为中心/短期榨取 | | |-| 商家/供应商 | 公平合作/极端压价 | | |-| 监管/社会 | 合规配合/打擦边球 | | |+| Stakeholder | Attitude | Evidence | Rating |+|-------------|----------|----------|--------|+| Shareholders | Respect/ignore/exploit | | |+| Employees | Treat well/exploit/ignore | | |+| Customers/users | Customer-first/short-term extract | | |+| Merchants/suppliers | Fair/extreme price pressure | | |+| Regulator/society | Compliant/corner-cutting | | |-> 李录:"对利益相关方的态度决定了企业的长期生命力。短期压榨能提升效率,但长期会损害生态。"+## Step 4: Capital Allocation-## 第四步:资本配置能力+Buffett's most-valued ability — **for every dollar earned, how much does management turn it into?**-这是巴菲特最看重的——**每赚一块钱,管理层能把它变成多少钱?**+Search past 5 years of capital decisions (`web_search` / `get_financial_statements`); score each:-搜索过去 5 年重大资本配置决策(`web_search` / `get_financial_statements`),逐笔评估:+**M&A record**: time / target / amount / strategic logic / after-the-fact return / score(1-5)-**并购记录**+**Buybacks** (use `financial_rigor` `command=verify_valuation` to check PE at buyback time vs now): time / amount / avg price / PE then / retrospective / score(1-5)-| 时间 | 收购标的 | 金额 | 战略逻辑 | 事后回报 | 评分(1-5) |-|------|---------|------|---------|---------|:---------:|+**Dividends**: year / amount / payout ratio / vs FCF / sustainable-**回购记录**(用 `financial_rigor` 的 `command=verify_valuation` 校验回购时与当前的 PE 等)+**New business investment**: time / area / cumulative spend / status / return / score(1-5)-| 时间 | 回购金额 | 平均回购价 | 当时 PE | 事后回看 | 评分(1-5) |-|------|---------|-----------|:------:|---------|:---------:|+### Capital Allocation Score-**分红记录**+| Dimension | Score(1-5) | Notes |+|-----------|:---------:|-------|+| M&A discipline | | Right price? Integration? |+| Buyback timing | | Buy low, stop high? |+| Dividend rationality | | Payout vs FCF? |+| New business | | Success rate? Stop-loss discipline? |+| Cash management | | Reasonable reserves? Hoarding? |+| **Overall** | | |-| 年份 | 分红金额 | 分红率 | 同期 FCF | 是否可持续 |-|------|---------|:------:|---------|:---------:|+## Step 5: Governance-**新业务投资**+### Equity Structure-| 时间 | 投资领域 | 累计投入 | 当前状态 | 回报评估 | 评分(1-5) |-|------|---------|---------|---------|---------|:---------:|+| Item | Detail | Risk |+|------|--------|------|+| Dual-class / super-voting? | | |+| Founder/controller stake? | | |+| VIE structure? | | |+| Independent directors truly independent? | | |+| Recent major-holder changes? | | |-### 资本配置评分+### Compensation-| 维度 | 评分(1-5) | 说明 |-|------|:---------:|------|-| 并购纪律 | | 是否在合理价格收购?整合如何? |-| 回购时机 | | 低估时回购、高估时停止? |-| 分红合理性 | | 分红率是否与 FCF 匹配? |-| 新业务投资 | | 成功率?止损纪律? |-| 现金管理 | | 现金储备合理?是否囤积过多? |-| **综合** | | |+| Executive | Total annual comp | % of net income | vs peers | Reasonable? |+|-----------|-------------------|-----------------|----------|-------------|-> 巴菲特标准:理想管理层有好机会时果断投资,没好机会时积极回购/分红,永远不做高价并购。+Is incentive aligned with long-term shareholders or encouraging short-term behavior?-## 第五步:治理结构评估+### Related-Party Transactions-### 股权结构+| Related party | Transaction | Amount | Arm's length? | Risk |+|---------------|------------|--------|---------------|------|-| 项目 | 详情 | 风险评估 |-|------|------|---------|-| AB 股/超级投票权? | | |-| 创始人/实控人持股? | | |-| VIE 结构? | | |-| 独立董事是否真独立? | | |-| 大股东近期增减持? | | |+## Step 6: Side Validation-### 薪酬合理性+AI can't meet face-to-face, but cross-check via public channels:-| 高管 | 年度总薪酬 | 占净利润比 | 同行对比 | 是否合理 |-|------|-----------|:--------:|:------:|:------:|+- **Employee view**: `web_search` for Glassdoor ratings, discussions (mark platforms requiring login as "user can supplement") — culture, management rating, intensity, compensation, growth.+- **Customer/merchant view**: App Store ratings, complaints, merchant forums.+- **Industry reputation**: peer and insider views on this management.-激励结构与长期股东利益一致,还是鼓励短期行为?+## Step 7: Post-CEO Scenario-### 关联交易+> Buffett: "A great company should be one that a fool can run — because eventually one will."-| 关联方 | 交易内容 | 金额 | 是否公允 | 风险 |-|--------|---------|------|:------:|------|+- If the CEO left tomorrow, would the company run normally?+- How deep is the management team? A clear successor?+- Is the competitive advantage dependent on the CEO personally or on organization/system?+- Have past management transitions been smooth?-## 第六步:侧面验证+## Step 8: Output-AI 无法面对面交流,但通过公开渠道侧面验证。**注意**:取决于公开可搜索的内容,可能不完整,标注来源和可得性。+Structure: ① Key people overview; ② Integrity (delivery rate + hard times + stakeholders); ③ Ability (foresight + execution + capital allocation); ④ Governance; ⑤ Side validation; ⑥ Overall score and verdict.-- **员工视角**:`web_search` 搜 Glassdoor 评分摘要、知乎讨论等(脉脉等需登录的标注"用户可自行补充")——企业文化、管理层评价、工作强度、薪酬满意度、发展前景。-- **客户/商家视角**:App Store 评分趋势、消费者投诉、商家论坛——产品满意度、客户服务、商家关系。-- **行业口碑**:同行和业内人士对该管理层的评价。+### Overall Score-## 第七步:CEO 离开后的情景分析+| Dimension | Weight | Score(1-5) | Weighted |+|-----------|:------:|:---------:|:--------:|+| Integrity | 35% | | |+| Strategy & execution | 25% | | |+| Capital allocation | 25% | | |+| Governance | 15% | | |+| **Total** | 100% | | |-> 巴菲特:"好公司应该是傻瓜都能经营的——因为迟早会有傻瓜来经营。"+### Duan Yongping's 3 Questions-- 如果 CEO 明天离开,公司能正常运转吗?-- 现有管理团队深度如何?有明确继任者吗?-- 竞争优势依赖 CEO 个人,还是组织/系统?-- 历史上的管理层交接是否顺利?+1. Is this person **honest**? (truthful, doesn't take advantage of shareholders)+2. Is this person **capable**? (strategic foresight + execution + capital allocation)+3. Would you hand this person your money for **10 years**?-## 第八步:输出管理层评估报告+All three "yes" = ★★★★★; first two "yes" = ★★★★; only the first "yes" = ★★★; first is "no" = ★ (don't invest).-结构:① 关键人物速览;② 诚信度评估(承诺兑现率 + 困难时期 + 利益相关方);③ 能力评估(战略眼光 + 执行 + 资本配置);④ 治理结构;⑤ 侧面验证;⑥ 综合评分与结论。+## Step 9: Save-### 综合评分+Use `write_file` to `reports/{company}-management-{YYYYMMDD}.md`. Then `report_audit` (`extract` → verify → `verdict`) as a quality gate on the numbers.-| 维度 | 权重 | 评分(1-5) | 加权 |-|------|:----:|:---------:|:----:|-| 诚信度 | 35% | | |-| 战略与执行 | 25% | | |-| 资本配置 | 25% | | |-| 治理结构 | 15% | | |-| **综合** | 100% | | |+## Key Principles-### 段永平的"买人"三问--1. 这个人是否**正直**?(诚实、不占股东便宜)-2. 这个人是否有**能力**?(战略眼光 + 执行力 + 资本配置)-3. 你愿意把钱交给这个人管 **10 年**吗?--三个"是" = ★★★★★;前两个"是" = ★★★★;只有第一个"是" = ★★★;第一个不是"是" = ★(不投)。--## 第九步:保存报告--用 `write_file` 写入 `reports/{公司}-management-{YYYYMMDD}.md`。--完成后可用 `report_audit`(`extract` → 逐点核验 → `verdict`)对报告里的数字做准出门。--## 关键原则--- **诚信是一票否决项**——能力不足可以学,品格有问题无法修。-- **看行为不看言辞**——说什么不重要,做了什么才重要。-- **在困难中看真相**——顺风时谁都是好 CEO,逆风时才见真功夫。-- **资本配置是终极考试**——赚钱容易,把赚到的钱配置好难。-- **不要爱上管理层**——保持客观,即使你欣赏的人也可能犯大错。+- **Integrity is a veto** — ability can be learned; character can't be fixed.+- **Watch behavior, not words** — what they say doesn't matter; what they do does.+- **Truth shows in hard times** — everyone's a good CEO in a tailwind.+- **Capital allocation is the ultimate exam** — making money is easy; allocating it well is hard.+- **Don't fall in love with management** — stay objective; even someone you admire can make big mistakes.diff --git a/agent/src/skills/private-company-research/SKILL.md b/agent/src/skills/private-company-research/SKILL.mdindex 025c449f9..12149f975 100644--- a/agent/src/skills/private-company-research/SKILL.md+++ b/agent/src/skills/private-company-research/SKILL.md@@ -4,157 +4,157 @@ category: analysisdescription: "Deep research framework for pre-IPO / private companies (Ant Group, SpaceX, Stripe, ByteDance...). Six analyst lenses — business model, financial forensics, competitive landscape, risk & governance, tech & IP, alternative-data signals — run in parallel via run_swarm, then cross-validated for signal consistency before any verdict. Built around the core challenge of private-company work: information is scarce, so every data point carries a confidence label (high / medium / low), inference is shown separately from fact, and 'I don't know' is a valid output. Outputs a fair-value range, exit-path analysis, and an information-gap map. Use for any unlisted company where you need to judge what the business is actually worth."----# 未上市公司研究:多维度深度研究框架+# Private-Company Research: Multi-Lens Deep Framework-对一家未上市公司(如蚂蚁、小红书、SpaceX、Stripe)做深度研究。+Deep research on an unlisted company (e.g. Ant Group, ByteDance, SpaceX, Stripe).-**最终目标**:在信息天然稀缺的条件下,尽可能还原这家公司的**真实价值**——不是市场给的估值,而是生意本身值多少钱。+**Ultimate goal**: under information scarcity, recover the company's **true value** — not the market valuation, but what the business is actually worth.-## 框架特点+## Framework Characteristics-未上市 vs 上市研究的核心差异:无标准化财报(需多源拼凑、交叉验证);估值锚定少(依赖融资轮次、可比公司法、情景推演);信息不对称大(需"拼图式"研究);退出路径不确定(IPO/并购/二级转让均有可能)。+Private vs public research: no standardized financials (multi-source patchwork + cross-validation); few valuation anchors (funding rounds, comparables, scenarios); large information asymmetry ("jigsaw" research); uncertain exit path (IPO / M&A / secondary).-## AI 研究偏见自觉(核心前提)+## AI Research Bias Self-Check (core premise)-未上市公司是 AI 研究偏见最严重的领域。警惕:+Private companies are where AI bias is worst. Watch for:-- **虚假保守**——资料少时 AI 倾向给保守/模糊结论,但资料少 ≠ 公司不好。-- **虚假精确**——为填满模板,AI 可能用"合理推测"伪装成"有据分析"。-- **对标陷阱**——强行与上市公司对标时,继承上市估值逻辑,忽略独特价值。-- **幸存者偏差**——网上能搜到的多是公司主动传播的好消息。+- **False conservatism** — with little data, AI gives conservative/vague conclusions, but scarce data ≠ bad company.+- **False precision** — to fill the template, AI disguises "reasonable guess" as "sourced analysis".+- **Comparables trap** — forcing a public-comp overlay inherits public-market logic and misses private-specific value.+- **Survivorship bias** — what's searchable online is mostly company-propagated good news.-**应对**:宁可留白说"不知道",也不用推测填满表格伪装确定性;每个数据点标注置信度(🟢高/🟡中/🔴低);区分"可验证的事实"与"AI 的推理";信息极度稀缺时切换"第一性原理模式",只回答:① 这门生意解决什么真实问题?② 为什么是这个团队?③ 成功天花板 / 失败死点?④ 当前关键验证节点?+**Counter**: prefer leaving blanks ("I don't know") over filling tables with speculation to fake certainty; label every data point with confidence (🟢high/🟡medium/🔴low); separate verifiable fact from inference; when information is extremely scarce, switch to "first-principles mode" and answer only: ① what real problem does this business solve? ② why this team? ③ ceiling if it succeeds / how it dies if it fails? ④ the key validation node at this stage?-> 反向利用信息不对称:市场对未上市公司信息少 → 定价效率低 → 恰恰可能是超额收益来源。+> Invert the asymmetry: the market knows little about private companies → pricing is inefficient → that's exactly where alpha may live.-## 执行编排+## Execution-六个维度建议**并行**研究(用 `run_swarm`,每个 worker 一个维度;或顺序用 `web_search` / `web_search` 工具族逐维研究):+Six lenses, best run **in parallel** (via `run_swarm`, one worker per lens; or sequentially via `web_search`):-| 角色 | 核心视角 |-|------|----------|-| business-decoder | 商业模式拆解 + 产品/用户分析:"这门生意的本质是什么" |-| financial-detective | 财务数据拼凑 + 估值推演:"信息缺失下还原真实财务面貌" |-| competitive-mapper | 行业格局 + 竞争 + 替代威胁:"谁在竞争,谁可能颠覆" |-| risk-governance-analyst | 风险全景 + 管理层/治理/投资人:"什么可能出错,谁在掌舵" |-| tech-ip-analyst | 技术栈/专利/研发/护城河:"技术壁垒真假与持久性" |-| signal-miner | 替代数据:招聘/专利/诉讼/App/供应链:"常规信息外的蛛丝马迹" |+| Role | Lens |+|------|------|+| business-decoder | Business model + product/user analysis: "what is this business, essentially" |+| financial-detective | Financial patchwork + valuation: "recover the true financial picture under missing data" |+| competitive-mapper | Industry + competition + substitution: "who competes, who could disrupt" |+| risk-governance-analyst | Risk全景 + management/governance/investors: "what could go wrong, who's at the helm" |+| tech-ip-analyst | Tech stack / patents / R&D / moat: "is the tech barrier real and durable" |+| signal-miner | Alternative data (hiring / patents / litigation / app / supply chain): "clues beyond the usual sources" |-team-lead(你自己)负责统筹、信息拼图、交叉验证、输出最终报告。+You (team-lead) integrate, patch the picture, cross-validate, output the final report.-## 维度 1:商业模式与用户(business-decoder)+## Lens 1: Business Model & Users (business-decoder)-- **核心生意定义**:一句话本质(段永平式:用朴素语言讲给聪明但不懂行的人)。解决什么问题?为谁创造价值?公司不存在用户会怎样?需求刚性(下行时会被砍吗)?-- **收入模式**:广告/佣金/订阅/抽成/金融/SaaS/硬件/授权;各线占比与趋势;变现效率(ARPU/Take Rate/转化率);经常性 vs 一次性占比;集中度;收入确认是否激进。-- **单位经济(U E)**:CAC(付费 vs 自然,分渠道,趋势)、LTV、LTV/CAC、回本周期、边际成本、规模经济拐点。-- **产品矩阵与飞轮**:核心+延伸+孵化;网络/数据/规模飞轮如何运转;产品迭代速度。-- **用户分析**:MAU/DAU(从 QuestMobile/Sensor Tower/SimilarWeb 推算)、S 曲线阶段、DAU/MAU、留存(次/7/30 日)、画像、口碑(App Store 评分趋势、社交舆情)。-- **护城河(6 维 ★1-5)**:网络效应、转换成本、品牌心智、数据壁垒、监管牌照、规模经济——每项给证据 + 趋势(加宽/稳定/收窄)+ 持久性。综合评级:宽/中/窄/无。+- **Core business definition**: one sentence (Duan Yongping style: plain language to a smart layperson). What problem? For whom? If the company didn't exist, what would users do? Is demand rigid (cut in a downturn)?+- **Revenue model**: ads/commission/subscription/take-rate/financial/SaaS/hardware; mix and trend; monetization efficiency (ARPU / take rate / conversion); recurring vs one-off; concentration; predictability.+- **Unit economics**: CAC (paid vs organic, by channel, trend), LTV, LTV/CAC, payback, marginal cost, scale-inflection point.+- **Product matrix & flywheel**: core + extension + incubation; network/data/scale flywheel; iteration speed.+- **Users**: MAU/DAU (from QuestMobile/Sensor Tower/SimilarWeb), S-curve stage, stickiness (DAU/MAU, retention), profile, reputation (App Store trend, social sentiment).+- **Moat (6 dimensions, ★1-5)**: network effects, switching costs, brand mind, data barrier, regulatory license, scale economies — each with evidence + trend (widening/stable/narrowing) + durability. Overall: wide/narrow/none.-## 维度 2:财务数据拼凑与估值(financial-detective)+## Lens 2: Financial Detective-未上市公司没有标准财报,多源拼凑、交叉验证,**每个数据标明来源、时间、置信度、推算方法**。+No standard financials; multi-source patchwork + cross-validation. **Every data point: source, time, confidence, derivation.**-**数据来源优先级**:🟢 招股书/监管文件、母公司年报关联披露、监管处罚文件、债券/ABS 说明书 → 🟡 工商登记、融资新闻、第三方研报、深度媒体(晚点/The Information/36 氪/Bloomberg)→ 🔴 行业推算、前员工爆料。+**Source priority**: 🟢 prospectus/regulatory filings, parent-company annual report disclosure, regulatory penalties, bond/ABS offering documents → 🟡 business registry, funding news, third-party reports, deep media (LatePost/The Information/36Kr/Bloomberg) → 🔴 industry extrapolation, ex-employee leaks.-**关键指标推算**:收入(规模/增速/结构/量×价分解)、成本(毛利/研发/销售/管理费用率,对标同业)、利润(EBITDA/净利/盈利时间线)、现金流(经营现金流/烧钱速度/现金跑道)、效率(人均收入/资本效率)。+**Key metrics**: revenue (scale/growth/mix/quantity×price), cost (gross margin/R&D/sales/G&A rates, vs peers), profit (EBITDA/net income/profitability timeline), cash flow (operating/burn rate/runway), efficiency (per-capita revenue, capital efficiency).-**交叉验证**:同一指标多来源全部列出,不同方法推算检查是否收敛,标注"孤证"数据。+**Cross-validation**: list every source for the same metric; check convergence across methods; flag single-source ("isolated evidence") data.-**融资历史**:完整时间线(轮次/金额/估值/领投),分析估值增长曲线健康度、融资间隔、是否 Down Round、老股东是否持续加注、最新轮条款推测(优先清算权/反稀释/对赌)对普通股价值的影响。+**Funding history**: full timeline (round/amount/valuation/lead investor); health of the curve, interval, down-rounds, whether existing investors keep participating; latest-round terms (liquidation preference / anti-dilution / ratchet) and their effect on common-share value.-**估值(多方法交叉)**:① 最近融资估值法(考虑优先清算权打折 20-40%);② 可比上市公司法(选 3-5 家,对比 PS/PE/EV/EBITDA,加流动性折价 20-30%);③ DCF 情景(悲/中/乐,每假设有论据);④ 终局市值倒推(5/10 年终态 → 倒推当前合理区间 → 隐含年化回报);⑤ 交易对标法(近 2 年同业并购/融资倍数)。+**Valuation (multi-method)**: ① last-round (adjust for liquidation prefs, 20-40% discount); ② comparable public comps (3-5, PS/PE/EV-EBITDA, liquidity discount 20-30%); ③ DCF scenarios (bear/base/bull, each assumption grounded); ④ terminal-value rollback (5/10y terminal state → implied IRR); ⑤ transaction comps (recent M&A/funding multiples).-**估值综合**:各方法是否收敛?差异大分析原因。区分"合理估值"和"保守估值(安全边际)"。+**Valuation synthesis**: do the methods converge? If divergent, explain. Distinguish "fair value" and "conservative (margin-of-safety) value".-## 维度 3:行业与竞争(competitive-mapper)+## Lens 3: Competitive Landscape (competitive-mapper)-- **市场**:TAM/SAM/SOM、渗透率、行业阶段(萌芽/成长/成熟/衰退)、增长驱动。-- **产业链全景**(文本图):上游→公司环节(利润池占比)→下游;议价能力;结构性变化。-- **波特五力**(★1-5):行业内竞争、新进入者、替代品、供应商、买方。-- **竞争扫描**:直接/间接/替代/潜在进入者(巨头)——份额、融资、优势、劣势、威胁等级。2-3 个最直接对手多维对比。-- **竞争动态**:近 12 月变化;从招聘/专利/产品推推断对手战略;技术(尤其 AI)与监管对格局的影响;赢家通吃 vs 多寡头。-- **情景推演**:公司胜出 / 均势共存 / 被颠覆,各自条件与概率。-- **全球对标**:海外对标公司的发展路径、估值、上市表现,及对标的局限性。+- **Market**: TAM/SAM/SOM, penetration, stage (emergence/growth/mature/decline), growth drivers.+- **Value chain** (text map): upstream → company's link (profit pool share) → downstream; bargaining power; structural shifts.+- **Porter's five forces** (★1-5): rivalry, new entrants, substitutes, supplier power, buyer power.+- **Competitor scan**: direct/indirect/substitute/potential entrants (giants) — share, funding, strengths, weaknesses, threat level. Multi-dimensional compare with 2-3 closest competitors.+- **Dynamics**: last-12-month changes; infer competitor strategy from hiring/patents/products; tech (esp. AI) and regulation effects; winner-take-all vs oligopoly.+- **Scenarios**: company wins / coexistence / disrupted — conditions and probabilities.+- **Global benchmarks**: overseas analogs, path, valuation, post-IPO performance, and benchmark limitations.-## 维度 4:风险与治理(risk-governance-analyst)+## Lens 4: Risk & Governance (risk-governance-analyst)-- **创始人/CEO**:背景、战略眼光(过去 3 年预判准确度)、执行力(承诺兑现)、格局价值观、争议事件。★1-5。-- **核心团队**:高管背景、近 2 年人才流动(谁走/谁来/净流入)、互补性、文化信号(Glassdoor/脉脉,趋势比绝对值重要)、关键人依赖度。-- **股权与治理**:创始人控制权(AB 股/一致行动/VIE)、稀释趋势、员工持股;董事会构成、关联交易、同业竞争、大小股东利益冲突。-- **投资人阵容**:领投品牌背书、产业资本协同、退出压力(基金存续期/二级抛售/对赌到期)、红旗信号(声誉不佳投资人/早期清仓/老股东不跟投)。-- **全维度风险清单**:监管/竞争/技术/人才/融资/IPO/地缘/商业化/治理/合规/宏观/ESG——每项概率×影响×严重度×可对冲性×监控指标。-- **退出路径**:A/港/美 IPO、并购、二级转让、SPAC、长期不退出——可能性、时间窗、估值、前提、障碍。-- **最坏情景(芒格逆向)**:3 种具体失败路径及概率;清算价值;聪明人为什么不投(至少 5 条);类似公司失败案例;"论文已破"的信号。+- **Founder/CEO**: background, foresight (3-year prediction accuracy), execution (promise delivery), values, controversies. ★1-5.+- **Core team**: backgrounds, 2-year talent flow (who left/joined, net), complementarity, culture signals (Glassdoor trends), key-person dependency.+- **Equity & governance**: founder control (dual-class / concerted action / VIE), dilution trend, employee equity; board, related-party, same-industry competition, majority/minority conflicts.+- **Investor roster**: lead-investor brand, strategic capital synergy, exit pressure (fund life / secondary sales / ratchet maturity), red flags.+- **Risk matrix**: regulatory / competition / tech / talent / funding / IPO / geopolitical / monetization / governance / compliance / macro / ESG — each probability × impact × severity × hedgeability × monitor.+- **Exit paths**: A/HK/US IPO, M&A, secondary, SPAC, stay-private — probability, window, valuation, preconditions, obstacles.+- **Worst case (Munger inversion)**: 3 specific failure paths + probabilities; liquidation value; why smart money doesn't invest (≥5 reasons); failed analogs; the "thesis broken" signal.-## 维度 5:技术与知识产权(tech-ip-analyst)+## Lens 5: Tech & IP (tech-ip-analyst)-- **技术栈**:从招聘/博客/开源/演讲推断;技术债信号(大量招重构岗、栈切换、故障投诉)。-- **专利**(Google Patents/CNIPA/USPTO):总数/申请中/近 2 年新增/领域分布/引用/国际布局;质量(核心专利?领域匹配?诉讼?);趋势;对手对比。-- **研发**:投入(人数/费用率,对标)、产出(论文/会议/开源/博客)、效率(研发到落地速度、商业转化率)。-- **技术人才**:核心领导者背景、人才密度(顶尖机构占比)、薪酬竞争力、流失信号、招聘方向(反映战略)。-- **技术护城河(★1-5)**:算法/模型、数据、工程、人才、生态——每项持久性。AI 时代技术壁垒半衰期可能很短。-- **AI/新技术影响**:公司是 AI 变革受益者还是被颠覆者?+- **Tech stack**: inferred from hiring/blog/open-source/talks; tech-debt signals (refactor hiring, stack switches, outage complaints).+- **Patents** (Google Patents/CNIPA/USPTO): total/pending/last-2y/field/citation/international; quality (core patents? aligned to business? litigation?); trend; vs competitors.+- **R&D**: investment (headcount/expense rate vs peers), output (papers/conferences/open-source/blog), efficiency (research-to-product, commercialization).+- **Tech talent**: core leaders' backgrounds, density (top-institution share), comp competitiveness, attrition signals, hiring direction (→ strategy).+- **Tech moat (★1-5)**: algorithm/model, data, engineering, talent, ecosystem — each with durability (AI-era half-life may be short).+- **AI/new-tech impact**: is the company a beneficiary or a target of disruption?-## 维度 6:替代数据信号(signal-miner)+## Lens 6: Alternative-Data Signals (signal-miner)-> 未上市公司常规信息有限,替代数据往往比新闻报道更接近真实经营。+> Private companies have limited conventional info; alt-data often beats news.-- **招聘**(LinkedIn/Boss/脉脉/Indeed):规模趋势、结构(研发/产品/销售/数据/国际化/合规/IR)——招 IR = IPO 信号;招合规 = 监管或 IPO;岗位 JD 技术栈 = 战略方向。-- **App/产品**(App Store/七麦/SimilarWeb):排名、评分趋势、下载量、更新频率、差评集中点、Web 流量。-- **舆情**(微博/知乎/小红书/X/Reddit):官方互动数据、自发讨论热度情感、KOL 评价、负面事件、内部人爆料。-- **工商法律**(天眼查/企查查):注册资本/实缴/股东变更/子公司(新设=新业务,注销=收缩)/经营范围变更;诉讼/仲裁/处罚/被执行记录。-- **供应链**:核心供应商(上市则查财报披露)、招标采购、合作评价。-- **数字足迹**:注册域名(新域=新业务)、子域名(api/pay 暗示架构)、商标(新品牌)。-- **行业曝光**:高管会议演讲、奖项榜单、政府/协会互动、媒体曝光频率质量。-- **二级交易信号**(如有):SharesPost/EquityZen/微信群老股,隐含估值 vs 最近融资,员工抛售期权。+- **Hiring** (LinkedIn/Boss/Indeed): scale/trend, structure (R&D/product/sales/data/international/compliance/IR — IR hiring = IPO signal; compliance = regulatory or IPO; JD tech stack = strategy).+- **App/product** (App Store/七麦/SimilarWeb): rank, rating trend, downloads, update frequency, complaint themes, web traffic.+- **Social sentiment** (Weibo/Zhihu/Xiaohongshu/X/Reddit): official engagement, organic discussion, KOL views, negative events, insider leaks.+- **Business/legal** (天眼查/企查查): registry/paid-in/equity changes/subsidiaries (new = new biz; deregistered = contraction)/scope changes; litigation/arbitration/penalties/enforcement.+- **Supply chain**: known suppliers (if listed, check their filings), procurement, partner evaluation.+- **Digital footprint**: registered domains (new = new biz), subdomains (api/pay → architecture), trademarks (new brands).+- **Industry exposure**: exec talks, awards, government/association interaction, media frequency/quality.+- **Secondary-market signals** (if any): SharesPost/EquityZen, implied valuation vs last round, employee selling.-**反常信号清单(最重要)**:与对外叙事不一致、与行业常识不符、突然变化(招聘急缩/高管密集离职)、无法解释的现象。+**Anomaly list (most important)**: things inconsistent with the company's narrative; inconsistent with industry norms; sudden changes (hiring freeze / executive departures); unexplained.-## 交叉验证(team-lead 必做)+## Cross-Validation (team-lead, mandatory)-汇总前,team-lead 必须:+Before synthesis, the team-lead must:-1. **数据冲突仲裁**:同一指标不同来源是否一致?冲突时列出全部,说明采信哪个及理由。-2. **信号一致性检验**(矩阵):业务增长 vs 招聘趋势?技术领先叙事 vs 专利/人才数据?估值水平 vs 竞争地位?管理层叙事 vs 实际行动信号?(矛盾要解释)-3. **信息拼图**:白区(已知)/灰区(有线索不确定)/黑区(完全未知)。-4. **反偏见检查**:是否"正面详、负面略"?每个正面判断是否有反面检验?+1. **Data conflict arbitration**: same metric across sources — list all, state which is adopted and why.+2. **Signal consistency matrix**: business-growth signal vs hiring trend? tech-leadership narrative vs patent/talent data? valuation level vs competitive position? management narrative vs action signals? (contradictions must be explained)+3. **Information jigsaw**: white zones (known) / gray (clues but uncertain) / black (unknown).+4. **Bias check**: is positive info detailed while negative is brief? Does every positive judgment have a reverse check?-## 最终报告结构+## Final Report Structure-1. **一句话结论**(50-100 字):生意值多少钱,为什么。-2. **公司画像速览**(含置信度列)。-3. **六维评分总表**(每维 ★1-5 + 核心判断 + 置信度 + 信息完整度),综合评分。-4. **关键数据拼图**(仅交叉验证后的,含来源数量 + 置信度)。-5. **信号一致性矩阵**。-6. **各维度分析摘要**(每维 3-5 条最重要发现)。-7. **真实价值评估**:生意本质 + 护城河评分卡(7 维)+ 估值(5 方法)+ **综合真实价值区间**(保守/合理/乐观 + 当前市场估值 + 安全边际%)。-8. **投资论点**:看多 5-7 条 vs 看空 5-7 条(每条附来源),哪方更有说服力。-9. **风险矩阵**(Top 3 + 应对)。-10. **退出路径评估**。-11. **投资决策表**(一页纸:核心逻辑 3 句 + 价值区间 + 关键假设与验证节点 + 致命风险与"论文已破"信号 + 结论 + 预期回报/时间)。-12. **信息盲区地图**(维度 / 已知 / 缺失 / 缺失影响 / 获取建议):缺失是否影响核心结论?影响则明确"在 X 缺失下,结论置信度为 Y"。-13. **持续跟踪清单**(事项/频率/来源/指标/预警阈值)。-14. **总结段落**(150-250 字)。+1. **One-line conclusion** (50-100 words): what's it worth, why.+2. **Company snapshot** (with confidence column).+3. **Six-lens scorecard** (★1-5 + core judgment + confidence + completeness), overall score.+4. **Key data jigsaw** (only cross-validated, with source count + confidence).+5. **Signal-consistency matrix**.+6. **Per-lens summary** (3-5 top findings each).+7. **Fair value assessment**: business essence + 7-dimension moat card + 5-method valuation + **fair value range** (conservative/reasonable/optimistic + current market valuation + margin of safety %).+8. **Investment thesis**: bull 5-7 (with sources) vs bear 5-7 (with sources), which side is stronger.+9. **Risk matrix** (top 3 + mitigation).+10. **Exit-path assessment**.+11. **Investment decision table** (one-pager: core logic 3 sentences + value range + key assumptions & validation nodes + fatal risks & "thesis broken" signals + conclusion + expected return/timeline).+12. **Information-gap map** (dimension / known / missing / missing-impact / how-to-get): does the gap affect the core conclusion? If yes, state "under missing X, conclusion confidence is Y".+13. **Tracking checklist** (item / frequency / source / metric / alert threshold).+14. **Summary paragraph** (150-250 words).-把报告用 `write_file` 写入 `reports/{公司}/{公司}-private-{YYYYMMDD}.md`。可用 `report_audit` 对其中的数字做准出门。+Save via `write_file` to `reports/{company}/{company}-private-{YYYYMMDD}.md`. Run `report_audit` on the numbers as a quality gate.-## 数据标注规范(严格执行)+## Data Labeling Standard (strict)-- 每个关键数据标注**来源**(具体到媒体 + 文章)、**时间**(年月)、**置信度**(🟢招股书/官方 / 🟡可信媒体研报 / 🔴推算传闻)。-- 冲突数据**全部列出**并说明差异和采信判断。-- **区分事实与推理**:事实正常字体;推理/推算用*斜体*并标注推算方法。-- 无法获取的信息明确标"数据缺失",不编造。+- Every key data point: **source** (specific to media + article), **time** (year/month), **confidence** (🟢 prospectus/official / 🟡 credible media / 🔴 estimate/rumor).+- Conflicting data: **list all** + explain difference and adoption.+- **Separate fact from inference**: fact in normal text; inference in *italics* with derivation.+- Missing info: explicitly mark "data missing"; never fabricate.-## 重要原则+## Key Principles-1. **6 维度并行**(用 `run_swarm` 同一条消息并行,或顺序)。-2. **推算要透明**——展示计算逻辑和每步假设,不凭空给数字。-3. **交叉验证**——关键数据至少 2 来源,冲突都列出。-4. **信号一致性检验**——汇总阶段必做跨维度一致性检查。-5. **结论要明确**——不回避投资/观望/回避建议,但说明置信度。-6. **中英文搜索**——未上市公司信息分布中英文媒体。-7. **诚实留白**——区分"有据分析"与"推测填充",允许"此维度数据不足,无法给出有意义结论"。-8. **替代数据不是噪音**——招聘/专利/诉讼/App 可能比新闻更接近真实经营。-9. **真实价值导向**——目标是判断生意值多少钱,不是输出好看报告。信息不足以估值时,直接说"信息不足,无法给出可靠估值"。-10. **资料少 ≠ 公司不好**——AI 分析篇幅短 ≠ 投资确定性低;信息极度稀缺时切第一性原理模式。+1. **6 lenses in parallel** (`run_swarm`, or sequential).+2. **Transparent derivation** — show the math and assumptions; don't hand-wave numbers.+3. **Cross-validate** — key data ≥2 sources; conflicts all listed.+4. **Signal-consistency check** — mandatory cross-lens check at synthesis.+5. **Clear conclusion** — don't dodge invest/watch/avoid; state confidence.+6. **Search in both EN and CN** — private-company info spans both.+7. **Honest blanks** — distinguish "sourced analysis" from "speculative fill"; "this dimension lacks data, no meaningful conclusion" is acceptable.+8. **Alt-data is not noise** — hiring/patents/litigation/app data may be closer to truth than news.+9. **True-value focus** — the goal is what the business is worth, not a pretty report. If info can't support a reliable valuation, say so.+10. **Scarce data ≠ bad company** — short AI output ≠ low certainty. Under extreme scarcity, switch to first-principles mode.diff --git a/agent/src/skills/research-discipline/SKILL.md b/agent/src/skills/research-discipline/SKILL.mdindex b1a144659..e75a90d41 100644--- a/agent/src/skills/research-discipline/SKILL.md+++ b/agent/src/skills/research-discipline/SKILL.md@@ -12,11 +12,11 @@ Run this at the **start** of any research task (screening, sector study, company| Bias | How it shows | Correction ||------|--------------|------------|-| **Leader-bias** (龙头偏好) | Search results are dominated by large-caps; you end up analyzing only the obvious names. | Deliberately search small/mid-caps and suppliers; add `small cap` / `mid cap` / `供应链` to queries. Ask: "who is NOT in the top-10 that should be here?" |-| **English-bias** (英文偏好) | You miss Japanese / Korean / Taiwanese / European players because English sources under-cover them. | For any hardware/supply-chain thesis, explicitly search JP/KR/TW markets in their own languages — they are often the actual choke-point owners. |-| **Narrative-bias** (叙事偏好) | You get pulled in by a concept label ("AI stock", "new energy") and analyze the marketing instead of the business. | Ignore the label; look at the actual product, unit economics, and financial statements. A company tagged "AI" may have no AI revenue. |-| **Confirmation-bias** (确认偏见) | Once a thesis forms, you only search for evidence that supports it. | Force a Munger inversion: for every bull point, deliberately search the bear case ("X 风险 / 问题 / 看空"). Cite at least one disconfirming data point per conclusion. |-| **Recency-bias** (时效偏见) | You rely on a cached/outdated figure because it ranks high in search. | For any material number, check its date. Prefer the last 30 days; mark anything older than a year as "possibly stale". |+| **Leader-bias** | Search results are dominated by large-caps; you end up analyzing only the obvious names. | Deliberately search small/mid-caps and suppliers; add `small cap` / `mid cap` / `supply chain` to queries. Ask: "who is NOT in the top-10 that should be here?" |+| **English-bias** | You miss Japanese / Korean / Taiwanese / European players because English sources under-cover them. | For any hardware/supply-chain thesis, explicitly search JP/KR/TW markets in their own languages — they are often the actual choke-point owners. |+| **Narrative-bias** | You get pulled in by a concept label ("AI stock", "new energy") and analyze the marketing instead of the business. | Ignore the label; look at the actual product, unit economics, and financial statements. A company tagged "AI" may have no AI revenue. |+| **Confirmation-bias** | Once a thesis forms, you only search for evidence that supports it. | Force a Munger inversion: for every bull point, deliberately search the bear case ("X risks / problems / bear case"). Cite at least one disconfirming data point per conclusion. |+| **Recency-bias** | You rely on a cached/outdated figure because it ranks high in search. | For any material number, check its date. Prefer the last 30 days; mark anything older than a year as "possibly stale". |## How to applydiff --git a/agent/src/skills/thesis-tracker/SKILL.md b/agent/src/skills/thesis-tracker/SKILL.mdindex 4d1efc1ea..26d36953b 100644--- a/agent/src/skills/thesis-tracker/SKILL.md+++ b/agent/src/skills/thesis-tracker/SKILL.md@@ -4,156 +4,157 @@ category: strategydescription: "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."----# 投资论文追踪:买入后的纪律系统+# 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-大多数投资者的流程是:研究 → 买入 → 祈祷。缺少买入后的系统化跟踪,导致:该卖时舍不得卖("再等等,会涨回来");不该卖时恐慌卖出("跌了 20%,是不是我错了");忘记当初为什么买("我买这个是因为什么来着?")。+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-检查该公司是否已存在论文文件(用 `read_file` 读 `reports/{公司}-thesis.md`):不存在 → **建立论文**(模式 A);存在 → **追踪检查**(模式 B)。+Check whether a thesis file already exists (use `read_file` on `reports/{company}-thesis.md`): not found → **Build** (Mode A); found → **Track** (Mode B).----## 模式 A:建立投资论文+## Mode A: Build the Investment Thesis-### A0:数据收集+### A0: Data Collection-用 `web_search` 获取当前股价、估值指标(PE/PB/股息率)、最新财报核心数据。如果已有该公司的研究报告,优先 `read_file` 读取。用 `financial_rigor`(`command=verify_valuation`)校验估值数据,`financial_rigor`(`command=verify_market_cap`)核验市值。+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:核心论文(必须用 200 字以内写清楚)+### A1: Core Thesis (must be writable in ≤200 words)-投资论文必须回答以下 5 个问题,每个一句话:+The thesis must answer 5 questions, one sentence each:```-我以 ___元 买入 ___公司,因为:-1. 这门生意的本质是___,我理解它的赚钱方式。-2. 它的护城河是___,而且在变宽/稳定。-3. 管理层___,值得信赖的原因是___。-4. 当前价格相当于内在价值的___折,安全边际来自___。-5. 即使我错了,下行风险可控,因为___。+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 ___.```-**5 句话写不完整 = 论文本身有问题,说明买入决策不够清晰。**+**If you can't fill 5 sentences, the thesis itself is flawed — the buy decision isn't clear enough.**-### A2:核心假设清单+### A2: Core Assumptions List-把论文拆成可验证的具体假设(通常 3-7 个。太少=思考不深,太多=论文不聚焦):+Break the thesis into verifiable assumptions (3-7 typically; too few = shallow thinking, too many = unfocused):-| # | 核心假设 | 验证方式 | 验证频率 | 当前状态 |-|---|---------|---------|---------|---------|-| 1 | 例:收入增速维持 15%+ | 季报收入增速 | 每季度 | 🟢 成立 |-| 2 | 例:毛利率稳定在 60%+ | 季报毛利率 | 每季度 | 🟢 成立 |-| 3 | 例:管理层持续回购 | 回购公告/现金流表 | 每季度 | 🟢 成立 |-| 4 | 例:竞争对手未取得突破 | 行业数据/竞对财报 | 每半年 | 🟢 成立 |+| # | Core Assumption | How to verify | Frequency | Status |+|---|-----------------|---------------|-----------|--------|+| 1 | e.g. revenue growth stays >15% | Quarterly revenue growth | Quarterly | 🟢 Holding |+| 2 | e.g. gross margin stable >60% | Quarterly gross margin | Quarterly | 🟢 Holding |-### A3:红线清单(触发任何一条 = 必须重新评估)+### A3: Red Lines (triggering any one = must re-evaluate)-| # | 红线条件 | 严重程度 | 触发后动作 |-|---|---------|---------|-----------|-| 1 | 管理层诚信出问题(造假、关联交易) | 致命 | 立即清仓 |-| 2 | 核心业务连续 2 季度收入下滑 | 严重 | 减仓 50%,重新评估 |-| 3 | 护城河被明确突破(竞对获得同等能力) | 严重 | 深度研究,考虑退出 |-| 4 | 监管根本性改变商业模式 | 严重 | 重新评估内在价值 |-| 5 | 管理层大规模非计划减持 | 警告 | 深入调查原因 |+| # | Red-line condition | Severity | Action on trigger |+|---|--------------------|----------|-------------------|+| 1 | Management integrity problem (fraud, related-party) | Fatal | Exit immediately |+| 2 | Core business revenue down 2 consecutive quarters | Severe | Trim 50%, re-evaluate |+| 3 | Moat explicitly breached (competitor reaches parity) | Severe | Deep research, consider exit |+| 4 | Regulatory change fundamentally alters the business model | Severe | Re-value intrinsic value |+| 5 | Management large unplanned disposal | Warning | Investigate |+| 6 | **Macro 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 category | Severe | Re-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 |-> 段永平:"卖出只有三个理由:1. 发现买错了;2. 公司基本面变了;3. 找到了更好的。"+> 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.-### A4:估值锚点+> Duan Yongping: "There are only three reasons to sell: 1. you got the buy wrong; 2. the fundamentals changed; 3. you found something better."-| 指标 | 买入时 | 乐观目标 | 中性目标 | 悲观情景 |-|------|-------|---------|---------|---------|-| 股价 | | | | |-| PE(TTM) | | | | |-| 市值 | | | | |-| 内在价值估算 | | | | |-| 安全边际 | | | | |+### A4: Valuation Anchors-### A5:保存论文+| Metric | At buy | Optimistic target | Neutral target | Pessimistic |+|--------|--------|-------------------|-----------------|-------------|+| Price | | | | |+| PE (TTM) | | | | |+| Market cap | | | | |+| Intrinsic value estimate | | | | |+| Margin of safety | | | | |-用 `write_file` 把论文写入 `reports/{公司}-thesis.md`,包含:建立日期、买入价格和仓位、核心论文(5 句)、核心假设清单、红线清单、估值锚点、追踪记录表(初始为空)。+### 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).----## 模式 B:追踪检查+## Mode B: Tracking Check-### B1:读取现有论文+### B1: Read the Existing Thesis-用 `read_file` 读 `reports/{公司}-thesis.md`,加载核心论文、假设清单、红线清单、上次检查记录。+Use `read_file` to load core thesis, assumptions, red lines, last check record.-### B2:收集最新数据+### B2: Gather Latest Data-用 `web_search` / `get_stock_news` / `get_financial_statements` 收集:① 最新财报(如有新季报/年报);② 近期重大事件(管理层变动、监管、竞争);③ 当前股价和估值;④ 内部人交易(大股东增减持)。+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:逐条检查核心假设+### B3: Check Each Assumption-| # | 核心假设 | 上次状态 | 最新证据 | 当前状态 | 变化 |-|---|---------|---------|---------|---------|------|-| 1 | 收入增速 15%+ | 🟢 成立 | Q4 收入增速 12% | 🟡 边际弱化 | ⚠️ |-| 2 | 毛利率 60%+ | 🟢 成立 | 毛利率 61.2% | 🟢 成立 | — |+| # | Core Assumption | Last status | Latest evidence | Current status | Change |+|---|-----------------|-------------|-----------------|----------------|--------|+| 1 | Revenue growth >15% | 🟢 Holding | Q4 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:红线检查+### B4: Red-Line Check-逐条检查红线清单,任何一条触发 → 在报告中醒目标注 + 明确行动建议。+Check each red line; any triggered → flag prominently in the report + clear action recommendation.-### B5:估值更新+### B5: Valuation Update-用 `financial_rigor`(`command=verify_valuation`)重新计算 PE/PB/ROE 等,对比买入时与上次检查:+Use `financial_rigor` (`command=verify_valuation`) to recompute PE/PB/ROE; compare against buy-time and last check:-| 指标 | 买入时 | 上次检查 | 当前 | 变化 |-|------|-------|---------|------|------|-| 股价 | | | | |-| PE(TTM) | | | | |-| 内在价值估算 | | | | |-| 安全边际 | | | | |+| Metric | At buy | Last check | Current | Change |+|--------|--------|------------|---------|--------|+| Price | | | | |+| PE (TTM) | | | | |+| Intrinsic value estimate | | | | |+| Margin of safety | | | | |-### B6:输出追踪报告+### B6: Output the Tracking Report-结构:① 论文健康度评分(满分 10);② 核心假设检查表;③ 红线检查表;④ 本期关键变化(≤ 500 字);⑤ 估值更新;⑥ 结论与行动建议;⑦ 下次检查重点。+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.-**健康度公式**:`10 - (⚫破裂假设数 × 3) - (🔴受损假设数 × 2) - (🟡弱化假设数 × 1) - (红线触发数 × 5)`,最低 1 分,最高 10 分。+**Health formula**: `10 - (⚫broken × 3) - (🔴impaired × 2) - (🟡weakening × 1) - (red-lines triggered × 5)`, min 1, max 10.-| 评分 | 含义 | 建议动作 |-|:----:|------|---------|-| 9-10 | 所有假设成立,论文比买入时更强 | 考虑加仓 |-| 7-8 | 核心假设成立,个别边际弱化 | 继续持有 |-| 5-6 | 1-2 个假设受损,但核心逻辑未变 | 持有但提高警惕 |-| 3-4 | 多个假设受损,论文基础动摇 | 考虑减仓 |-| 1-2 | 红线触发或核心假设破裂 | 强烈建议卖出 |+| Score | Meaning | Action |+|:-----:|---------|--------|+| 9-10 | All assumptions hold, thesis stronger than at buy | Consider adding |+| 7-8 | Core assumptions hold, some weakening | Continue holding |+| 5-6 | 1-2 assumptions impaired, core logic intact | Hold but raise alertness |+| 3-4 | Multiple assumptions impaired, foundation shaken | Consider trimming |+| 1-2 | Red line triggered or core assumption broken | Strongly 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:更新论文文件+### B7: Update the Thesis File-用 `write_file` 把本次检查记录追加到 `reports/{公司}-thesis.md` 的追踪记录表:+Use `write_file` to append this check to the tracking table in `reports/{company}-thesis.md`:-| 检查日期 | 健康度 | 核心变化 | 动作建议 |-|---------|:------:|---------|---------|-| 2026-04-09 | 7/10 | 收入增速放缓至 12%,但利润率改善 | 持有 |+| Check date | Health | Key change | Action |+|------------|:------:|------------|--------|+| 2026-04-09 | 7/10 | Revenue growth slowed to 12%, but margins improved | Hold |----## 关键原则+## Key Principles-- **买入前就写好卖出条件**——冷静时做的决策比恐慌时做的好。-- **论文要具体到可验证**——"公司很好"不是论文,"ROE > 25% 且趋势稳定"才是。-- **红线一旦触发就行动**——最怕"再等等看",这是亏大钱的开始。-- **论文破裂 ≠ 股价下跌**——股价跌 30% 不一定要卖,论文破裂才要卖。-- **诚实面对错误**——论文建错了就承认,不要为了面子硬撑。+- **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.diff --git a/agent/src/swarm/presets/value_investing_committee.yaml b/agent/src/swarm/presets/value_investing_committee.yamlindex c532ebf2d..0b2cca368 100644--- a/agent/src/swarm/presets/value_investing_committee.yaml+++ b/agent/src/swarm/presets/value_investing_committee.yaml@@ -1,32 +1,32 @@name: value_investing_committeetitle: "Value Investing Committee (Buffett / Munger / Duan / Li Lu)"-description: "Four adversarial master perspectives — Buffett (moat & price), Munger (inversion & risk), Duan Yongping (good business & trustworthy management), Li Lu (10-year certainty & civilizational trend) — run in parallel on one company, then a chair synthesizes consensus and contradictions into a verdict. Inspired by the ai-berkshire master-视角 framework. Use for deep value-investing deliberation on a single named company."+description: "Four adversarial master perspectives — Buffett (moat & price), Munger (inversion & risk), Duan Yongping (good business & trustworthy management), Li Lu (10-year certainty & civilizational trend, incl. demographic/consumption macro) — run in parallel on one company, then a chair synthesizes consensus and contradictions into a verdict. Inspired by the ai-berkshire master-视角 framework. Use for deep value-investing deliberation on a single named company."agents:- id: buffettrole: Warren Buffett — Moat & Pricesystem_prompt: |- 你是沃伦·巴菲特。你只投有"经济特许权"(economic franchise)的好生意,在合理价格买入,长期持有。+ You are Warren Buffett. You only invest in "economic franchise" businesses at a reasonable price, held long-term.- ## 任务- 评估 {company}({market})是不是一门好生意,以及当前价格是否提供安全边际。+ ## Task+ Assess whether {company} ({market}) is a good business and whether the current price offers a margin of safety.{upstream_context}- ## 你必须回答- 1. **能力圈**——这门生意你看得懂吗?能用一句话向一个聪明但不懂行的人讲清楚吗?- 2. **护城河**——经济特许权在哪?(品牌/网络效应/转换成本/成本优势/监管牌照)。护城河是在变宽还是变窄?- 3. **诚实管理层**——管理层是否诚实、有能力、以股东利益为先?(可 load_skill("management-deep-dive") 深入)- 4. **所有者盈余**——真正的内生现金创造能力(净利润 + 折旧摊销 - 维持性资本开支)是多少?- 5. **安全边际**——用 financial_rigor 的 three_scenario / verify_valuation 算内在价值,当前价格相对内在价值打几折?买入价是否有足够安全边际?+ ## You must answer+ 1. **Circle of competence** — do you understand this business? Can you explain it in one sentence to a smart layperson?+ 2. **Moat** — where is the economic franchise? (brand / network effects / switching costs / cost advantage / regulatory license). Is it widening or narrowing?+ 3. **Honest management** — is management honest, capable, shareholder-first? (can load_skill("management-deep-dive") for depth)+ 4. **Owner earnings** — the true internal cash-generating power (net income + D&A − maintenance capex).+ 5. **Margin of safety** — use financial_rigor's three_scenario / verify_valuation to compute intrinsic value; what discount is the current price to intrinsic value?- ## 原则- - 第一条:不要亏钱。第二条:记住第一条。- - 别人贪婪我恐惧,别人恐惧我贪婪。- - 以合理价格买入好生意,远胜于以便宜价格买入平庸生意。- - 不确定就放过(pass),能力圈外的机会不是机会。+ ## Principles+ - Rule 1: don't lose money. Rule 2: remember Rule 1.+ - Be greedy when others are greedy; be fearful when others are fearful. (inverted — be fearful when others are greedy)+ - A great business at a fair price beats a fair business at a great price.+ - If uncertain, pass. An opportunity outside your circle of competence is not an opportunity.- 用 load_skill / get_financial_statements / get_market_data / financial_rigor 取数并精确验证(不接受"待核实"跳过数字)。+ Use load_skill / get_financial_statements / get_market_data / financial_rigor to source and verify numbers precisely (no "TBD" skips).tools: [bash, read_file, write_file, load_skill, get_market_data, get_financial_statements, web_search, financial_rigor]skills: [fundamental-filter, valuation-model, quality-screen, management-deep-dive]max_iterations: 50@@ -36,27 +36,27 @@ agents:- id: mungerrole: Charlie Munger — Inversion & Risksystem_prompt: |- 你是查理·芒格。你的核心方法是**逆向思考**——"反过来想,总是反过来想"。你不问"能赚多少",你问"怎么会死"。+ You are Charlie Munger. Your core method is **inversion** — "always think backwards." You don't ask "how much can we make"; you ask "how could this die."- ## 任务- 对 {company}({market})做逆向分析:列出所有可能让它失败、归零或长期跑输的路径。+ ## Task+ Do an inversion analysis on {company} ({market}): list every path that could make it fail, go to zero, or underperform long-term.{upstream_context}- ## 你必须回答- 1. **怎么会死?**——列出至少 5 条具体的失败路径(技术替代、监管、竞争、管理层堕落、杠杆、地缘...)。每条给概率(高/中/低)和触发信号。- 2. **极端情景下的下行**——最坏情况下股东能收回多少?(清算价值 / 永久性资本损失的概率)- 3. **聪明人为什么不买?**——列出市场可能已经看到、而 bullish 叙事回避的风险。- 4. **历史教训**——类似定位/阶段的公司,有哪些失败了?为什么?- 5. **避免愚蠢**——即便不上车,也要避免哪些"明显的愚蠢"(如在高 PS 亏损期追高、忽略关联交易)?+ ## You must answer+ 1. **How could it die?** — at least 5 specific failure paths (tech substitution, regulation, competition, management decay, leverage, geopolitics...). Each with probability (high/med/low) and a trigger signal.+ 2. **Downside in the extreme case** — in the worst case, what can shareholders recover? (liquidation value / probability of permanent capital loss)+ 3. **Why don't smart people buy?** — risks the market may have seen that the bull narrative avoids.+ 4. **Lessons from history** — similar companies at this stage that failed; why.+ 5. **Avoiding stupidity** — even if you don't buy, what "obvious stupidities" must you avoid (e.g. chasing high-PS loss-makers, ignoring related-party deals)?- ## 原则- - 反过来想,总是反过来想。- - 如果我知道我会死在哪,我就永远不去那个地方。- - 宁要模糊的正确,不要精确的错误。- - 承认自己不知道的,比假装知道更重要。+ ## Principles+ - Invert, always invert.+ - If I know where I'd die, I never go there.+ - Better roughly right than precisely wrong.+ - Admitting what you don't know beats pretending you do.- 用 financial_rigor 验证任何关键数字;用 load_skill("risk-analysis") 系统化风险。+ Use financial_rigor to verify any key number; load_skill("risk-analysis") to systematize risk.tools: [bash, read_file, write_file, load_skill, get_market_data, get_financial_statements, web_search, financial_rigor]skills: [risk-analysis, financial-statement, fundamental-filter]max_iterations: 50@@ -66,27 +66,27 @@ agents:- id: duan_yongpingrole: Duan Yongping — Good Business & Trustworthy Peoplesystem_prompt: |- 你是段永平。你的投资哲学是"本分":只投自己看得懂的好生意,买股票就是买人,集中持有,长期不做短线。+ You are Duan Yongping. Your philosophy is "本分" (doing the right thing): invest only in good businesses you understand, buying a stock is buying a person, concentrate holdings, no short-term trading.- ## 任务- 评估 {company}({market})是不是一门"对的生意",以及管理层是否值得把钱交给他 10 年。+ ## Task+ Assess whether {company} ({market}) is a "right business" and whether management is worth entrusting with your money for 10 years.{upstream_context}- ## 你必须回答- 1. **这是不是好生意?**——商业模式简单吗?有没有"不做这个生意用户会很痛苦"的刚需?能不能长期赚高 ROE 而不需要持续融资?- 2. **买股票就是买人**——创始人/CEO 正直吗?有能力吗?你愿意把钱交给他管 10 年吗?(load_skill("management-deep-dive") 深入)- 3. **企业文化**——是本分文化(以用户/消费者为中心、不占合作伙伴便宜),还是短期榨取文化?- 4. **集中度**——如果你只能持有 3 只股票,这家能进你的组合吗?为什么?- 5. **价格**——好公司 + 合理价格 > 平庸公司 + 便宜价格。当前估值下,这是"好价格"吗?+ ## You must answer+ 1. **Is it a good business?** — is the model simple? Is there a real need ("users would suffer without it")? Can it earn high ROE long-term without continuous capital raises?+ 2. **Buying a stock is buying a person** — is the founder/CEO honest? Capable? Would you hand your money to them for 10 years? (load_skill("management-deep-dive"))+ 3. **Culture** — is it a "本分" culture (user/consumer-centric, fair to partners) or a short-term-extraction culture?+ 4. **Concentration** — if you could hold only 3 stocks, does this make the cut? Why?+ 5. **Price** — great company at a fair price beats a fair company at a great price. At current valuation, is this a "good price"?- ## 原则- - 买股票就是买公司,买公司就是买未来的现金流。- - 不懂不做。看不懂就放过。- - 集中投资:把鸡蛋放在少数几个篮子里,然后看好它们。- - 卖出只有三个理由:发现买错了 / 基本面变了 / 找到更好的。+ ## Principles+ - Buying a stock is buying the company; buying the company is buying its future cash flow.+ - Don't invest in what you don't understand. Pass if unclear.+ - Concentrate: put eggs in a few baskets and watch them.+ - Sell for only three reasons: you were wrong / fundamentals changed / you found something better.- 可 load_skill("thesis-tracker") 建立投资论文与红线。+ load_skill("thesis-tracker") to build a thesis and red lines.tools: [bash, read_file, write_file, load_skill, get_market_data, get_financial_statements, web_search, financial_rigor]skills: [management-deep-dive, fundamental-filter, thesis-tracker, quality-screen]max_iterations: 50@@ -96,27 +96,32 @@ agents:- id: li_lurole: Li Lu — 10-Year Certainty & Civilizational Trendsystem_prompt: |- 你是李录。你追求"十倍确定性"而非"十倍收益":在文明级别的长期趋势上,找能持续创造价值 10 年以上的公司。+ You are Li Lu. You pursue "decade-level certainty" over "10× returns": on civilizational long-term trends, find companies that will keep creating value for 10+ years.- ## 任务- 评估 {company}({market})所处的文明级趋势,以及它 10 年后是否还会存在且更强。+ ## Task+ Assess {company} ({market})'s civilizational trend and whether it will still exist — and stronger — in 10 years.{upstream_context}- ## 你必须回答- 1. **10 年后还在吗?**——这门生意 10 年后会更强、不变、还是被颠覆?确定性的来源是什么?- 2. **文明级趋势**——它处在什么长期趋势上(AI 基础设施、能源转型、消费升级、中国现代化...)?趋势的确定性有多高?(可 load_skill("bottleneck-hunter") 看它是否坐在供应链咽喉上)- 3. **复利机器**——它能不能把赚到的钱以高回报率再投资,形成持续复利?- 4. **管理层是长期主义者吗?**——在短期压力下是否仍做长期正确的事?- 5. **公允价值**——用 financial_rigor 的 three_scenario 做 10 年情景估值;以当前价买入、10 年后 25x PE 退出,年化回报是多少?-- ## 原则- - 投资的本质是预测未来 10 年这家公司的现金创造能力。- - 在有十倍确定性的方向上,不必追求十倍收益。- - 长期来看,股票回报等于企业资本回报率。- - 文明趋势 + 优秀组织 + 合理价格 = 长期复利。-- 用 load_skill("bottleneck-hunter") 判断供应链卡位;用 financial_rigor 做精确估值。+ ## You must answer+ 1. **Still here in 10 years?** — will this business be stronger, the same, or disrupted in 10 years? Where does the certainty come from?+ 2. **Civilizational trend** — what long-term trend is it on (AI infrastructure, energy transition, consumption upgrade, China modernization...)? How certain is the trend? (load_skill("bottleneck-hunter") to see if it sits on a supply-chain choke point)+ 3. **Demographic clock & consumption trend (MANDATORY for consumer/end-market names)** —+ - Is the end-market's customer base growing or shrinking? (population decline, aging, household formation)+ - Are marginal consumption patterns favorable? (consumption upgrade vs downgrade; is the cohort that buys this product expanding or contracting?)+ - Generational shift: will the next generation still buy this category, or is it a generational-erosion risk (e.g. baijiu, traditional retail, education)?+ - For consumer-dependent names, a structurally declining population or downgrading consumption is a slow but fatal headwind — weight it explicitly in your 10-year certainty. Do NOT give a high certainty score to a consumer name without addressing demographics.+ 4. **Compounding machine** — can it reinvest earnings at a high rate of return, compounding?+ 5. **Is management a long-term thinker?** — does it do the long-term-right thing even under short-term pressure?+ 6. **Fair value** — use financial_rigor's three_scenario for a 10-year valuation; buying at the current price and exiting at 25× PE in 10 years, what's the annualized return?++ ## Principles+ - The essence of investing is predicting this company's cash-generating ability 10 years out.+ - On a direction with decade-certainty, you needn't chase 10× returns.+ - Long-term, stock returns equal the return on corporate capital.+ - Civilizational trend + excellent organization + reasonable price = long-term compounding.++ Use load_skill("bottleneck-hunter") to judge the supply-chain position; financial_rigor for exact valuation.tools: [bash, read_file, write_file, load_skill, get_market_data, get_financial_statements, web_search, financial_rigor]skills: [bottleneck-hunter, valuation-model, thesis-tracker, global-macro]max_iterations: 50@@ -126,23 +131,23 @@ agents:- id: chairrole: Committee Chair — Consensus & Contradictionssystem_prompt: |- 你是投资委员会主席。四位大师(Buffett / Munger / Duan Yongping / Li Lu)已对 {company}({market})各自给出视角。你的任务不是简单拼凑,而是找出**共识**与**矛盾**。+ You are the committee chair. The four masters (Buffett / Munger / Duan Yongping / Li Lu) have each given their lens on {company} ({market}). Your job is not to stitch summaries but to find **consensus** and **contradictions**.{upstream_context}- ## 你必须输出- 1. **共识**(所有大师都同意的,最高置信度)——例如"护城河真实""管理层值得信任""估值透支"等。- 2. **矛盾**(谁和谁分歧在哪)——例如 Buffett 觉得便宜、Munger 觉得有归零风险;Duan 看好管理层、Li Lu 担心 10 年确定性。**说明分歧的根本原因**(口径差 / 时间框架差 / 风险偏好差)。- 3. **综合裁决**——在共识 + 矛盾的基础上,给出投资 / 观望 / 回避 建议,以及置信度(信息充足度)。- 4. **致命风险与"论文已破"信号**——综合 Munger 的失败路径,给出 3 个止损触发条件。- 5. **一页纸决策表**——核心逻辑 3 句 / 价值区间 / 关键假设与验证节点 / 结论。+ ## You must output+ 1. **Consensus** (all four agree; highest confidence) — e.g. "the moat is real", "management is trustworthy", "valuation is stretched".+ 2. **Contradictions** (who disagrees with whom, on what) — e.g. Buffett thinks cheap, Munger sees a path to zero; Duan likes management, Li Lu doubts 10-year certainty. **Explain the root cause of the disagreement** (caliber difference / time-horizon difference / risk-preference difference).+ 3. **Verdict** — on consensus + contradictions, give invest / watch / avoid + confidence (information sufficiency).+ 4. **Fatal risks & "thesis-broken" signals** — synthesize Munger's failure paths into 3 stop-loss triggers.+ 5. **One-page decision table** — core logic 3 sentences / value range / key assumptions & validation nodes / conclusion.- ## 原则- - 对抗张力是设计使然:Buffett 说"够便宜",Munger 问"怎么会死",Duan 说"好生意",Li Lu 问"10 年还在吗"——综合时不要回避矛盾,而要解释矛盾。- - 诚实地报告信息缺口:如果四位大师在某些维度信息不足,明确说"在 X 缺失下,结论置信度为 Y"。- - 用 report_audit(extract → verdict)对最终报告里的关键数字做准出门,确保无幻觉数字。+ ## Principles+ - Adversarial tension is by design: Buffett says "cheap enough", Munger asks "how could it die", Duan says "good business", Li Lu asks "still here in 10 years" — when synthesizing, don't smooth contradictions; explain them.+ - Honestly report information gaps: if the four masters lack information on some dimension, state "under missing X, conclusion confidence is Y".+ - Use report_audit (extract → verdict) as a quality gate on key numbers in the final report.- 输出完整 Markdown 报告并用 write_file 保存。+ Output the full Markdown report and save it with write_file.tools: [bash, read_file, write_file, report_audit]skills: [report-generate, investment-checklist]max_iterations: 50@@ -152,27 +157,27 @@ agents:tasks:- id: task-buffettagent_id: buffett- prompt_template: "评估 {company}({market})是不是一门好生意,当前价格是否提供安全边际。"+ prompt_template: "Assess whether {company} ({market}) is a good business and whether the current price offers a margin of safety."depends_on: []- id: task-mungeragent_id: munger- prompt_template: "对 {company}({market})做逆向分析——列出所有可能让它失败、归零或长期跑输的路径。"+ prompt_template: "Do an inversion analysis on {company} ({market}) — list every path that could make it fail, go to zero, or underperform."depends_on: []- id: task-duanagent_id: duan_yongping- prompt_template: "评估 {company}({market})是不是一门好生意,管理层是否值得把钱交给他 10 年。"+ prompt_template: "Assess whether {company} ({market}) is a good business and whether management is worth entrusting with your money for 10 years."depends_on: []- id: task-liagent_id: li_lu- prompt_template: "评估 {company}({market})10 年后是否还会存在且更强,所处的文明级趋势与确定性。"+ prompt_template: "Assess whether {company} ({market}) will still exist and be stronger in 10 years; the civilizational trend it's on, certainty, and the demographic/consumption macro headwinds."depends_on: []- id: task-chairagent_id: chair- prompt_template: "综合四位大师的视角,找出共识与矛盾,给出投资委员会最终裁决。"+ prompt_template: "Synthesize the four masters' lenses; find consensus and contradictions; give the committee's final verdict."depends_on: [task-buffett, task-munger, task-duan, task-li]input_from:buffett: task-buffett@@ -182,7 +187,7 @@ tasks:variables:- name: company- description: "Target company name or ticker (e.g.: 腾讯, NVDA, 茅台)"+ description: "Target company name or ticker (e.g.: Tencent, NVDA, Moutai)"required: true- name: marketdescription: "Market (e.g.: A-shares, Hong Kong, US)"