
Tam Adj Peg
- 56 installs
- 620 repo stars
- Updated July 15, 2026
- haskaomni/serenity-skill
Evaluates a growth stock's valuation with TAM-Adj-PEG, adjusting traditional PEG by growth runway, TAM size, and profit quality.
About
Extends PEG to ask how long growth can last, whether the TAM is large enough, and whether the company can convert TAM growth into durable profits. An analyst uses it to classify growth stocks as core, high-beta, turnaround, option-like, or cyclical.
- Adjusts PEG by growth runway, TAM, and quality
- Optional SEC fundamentals via edgartools
Tam Adj Peg by the numbers
- 56 all-time installs (skills.sh)
- +3 installs in the week ending Aug 2, 2026 (Skillselion tracking)
- Ranked #580 of 1,106 Finance & Trading skills by installs in the Skillselion catalog
- Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/haskaomni/serenity-skill --skill tam-adj-pegAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 56 |
|---|---|
| repo stars | ★ 620 |
| Last updated | July 15, 2026 |
| Repository | haskaomni/serenity-skill ↗ |
What it does
Evaluates a growth stock's valuation with TAM-Adj-PEG, adjusting traditional PEG by growth runway, TAM size, and profit quality.
Files
TAM-Adj-PEG
Core Idea
Traditional PEG asks:
Is the current valuation expensive relative to future EPS growth?TAM-Adj-PEG asks a broader question:
How long can this growth last, is the TAM large enough, and can the company convert TAM growth into durable profits?Use this framework for AI infrastructure, semiconductors, healthcare, SaaS, payment networks, high-growth manufacturers, bottleneck suppliers, early turnarounds, and option-like equities.
Treat results as research analysis, not investment advice. For latest/current scoring, verify valuation, estimates, TAM, margins, and company-specific data from current sources before calculating.
Required Inputs
Collect the newest available data before scoring:
- Valuation: current PE or TTM PE, forward PE, and traditional PEG if available.
- Growth: expected 2-3 year EPS CAGR, revenue CAGR, TAM CAGR, and current revenue / TAM penetration.
- Profit quality: gross margin, EBIT margin, free cash flow profile, capex intensity, and dilution risk.
- Business quality: competitive position, pricing power, customer concentration, technology iteration risk, cyclicality, and key milestones.
- Preferred sources: company IR releases/presentations, earnings calls, SEC filings, consensus estimate providers, industry TAM reports, and reputable financial data sources.
For U.S.-listed companies, use SEC filings as the baseline for reported fundamentals. edgartools is an optional helper for retrieving latest 10-K, 10-Q, 8-K, XBRL financial statements, filing text, insider transactions, and ownership filings.
If the environment does not already have it, install with pip install edgartools or uv pip install edgartools. The import package is edgar, not edgartools. SEC access requires an identity; set EDGAR_IDENTITY="Name email@example.com" in the environment or call from edgar import set_identity; set_identity("name@example.com") before requests.
Minimal usage pattern:
from edgar import Company
company = Company("AAPL")
financials = company.get_financials()
income = financials.income_statement()
cashflow = financials.cashflow_statement()Use SEC data to support:
- revenue scale, segment mix, gross margin, EBIT margin, free cash flow, capex intensity, debt/cash, dilution, and share-count trends
- customer concentration, pricing language, backlog/order commentary, supply constraints, technology risk, and cyclicality disclosures
- 8-K earnings releases or guidance disclosures when they provide the newest company-reported inputs
Do not rely on SEC data alone for forward PE, EPS CAGR, consensus revisions, current valuation, TAM size, TAM CAGR, or competitive market-share estimates. Keep reported SEC facts separate from forecasts and industry assumptions, and cite the filing form/date when using SEC evidence.
If PE or EPS CAGR is not meaningful because the company is loss-making or earnings are highly volatile, mark PE/PEG as distorted and use normalized earnings, EV/Sales, milestone scenarios, or an option-style framework.
Core Formula
Calculate:
TAM-Adj-PEG = Forward PE / (EPS CAGR x TAM Runway Factor x Quality Factor)
Adjusted Growth = EPS CAGR x TAM Runway Factor x Quality FactorUse EPS CAGR as a percentage number in the denominator. Example: if forward PE is 40 and adjusted growth is 50%, then TAM-Adj-PEG = 40 / 50 = 0.8.
Do not directly add TAM CAGR to EPS CAGR. EPS CAGR usually already reflects part of TAM expansion; TAM should mainly adjust growth duration and certainty.
TAM Runway Factor
Use TAM Runway Factor to correct for how long high growth can continue:
TAM Runway Factor = sqrt(Growth Duration / 5)Rough scoring:
| High-growth duration | Factor | Interpretation |
|---|---|---|
| 2 years | 0.6 | Short-cycle growth |
| 3 years | 0.75 | Growth exists, but runway is short |
| 5 years | 1.0 | Standard growth stock |
| 8 years | 1.25 | Long-runway compounder |
| 10 years | 1.4 | High-quality long runway |
| 15 years | 1.7 | Super long-cycle opportunity |
| 20+ years | 2.0 cap | Rare supercycle, platform, or monopoly-like asset |
Do not assign runway by sector label alone. AI-driven semiconductor bottlenecks can deserve a 15-20+ year runway when demand is structurally expanding, the company controls a hard-to-replicate choke point, and each technology generation reinforces its position. Conversely, SaaS or platform companies should not automatically receive a long runway if frontier AI models can compress workflow value, commoditize features, weaken seat-based pricing, or shift the profit pool to model/infrastructure providers.
Quality Factor
Use Quality Factor to correct for whether growth can remain in the company's income statement:
| Quality Factor | Company Type |
|---|---|
| 0.3-0.5 | Early-stage, loss-making, unproven orders, or high dilution risk |
| 0.5-0.7 | Cyclical, customer-concentrated, or high execution risk |
| 0.7-0.9 | High growth but competitive, with unstable margins |
| 0.9-1.1 | Normal high-quality growth company |
| 1.1-1.3 | Strong moat, pricing power, and customer stickiness |
| 1.3-1.5 | Monopoly-like, platform, or ecosystem asset |
| 1.5+ | Rare super-platform or AI-era bottleneck asset; use cautiously |
Evaluate nine questions:
1. Can TAM growth actually accrue to this company? 2. Does the company have pricing power? 3. Is customer concentration high? 4. Does frequent technology iteration require repeated requalification? 5. Are gross margin and EBIT margin sustainable? 6. Does growth require heavy capex? 7. Can competitors quickly catch up or become second/third sources? 8. Does growth depend on financing or share issuance? 9. Can frontier AI models erode the product's workflow value, pricing model, or distribution moat?
Result Interpretation
| TAM-Adj-PEG | Valuation View |
|---|---|
| < 0.5 | Very cheap, but verify forecasts are not overly optimistic |
| 0.5-0.8 | Clearly attractive |
| 0.8-1.2 | Reasonable to slightly cheap |
| 1.2-1.8 | Reasonable to slightly expensive; execution must continue |
| 1.8-2.5 | Expensive unless the company has a super-long runway |
| > 2.5 | Very expensive, or EPS/PE inputs are distorted |
| Not applicable | Loss-making, early-stage, or earnings too volatile; use option framework |
Special Cases
Loss-Making Companies
- Do not directly use PE.
- Mark PE/PEG as distorted.
- Use normalized EPS, EV/Sales, milestone scenarios, or option-style analysis.
- Focus on key milestones and financing/dilution risk.
Cyclical Companies
- Do not use peak-cycle EPS mechanically.
- Use normalized EPS.
- Discount Quality Factor for cyclicality.
- TAM runway can add support, but supply/demand cycle risk must be deducted.
- For AI semiconductor supercycles, separate structural demand runway from inventory, capacity, and margin-cycle risk. A semiconductor leader can receive a long TAM Runway Factor if it is a durable bottleneck; the cyclical penalty should mainly flow through normalized EPS and Quality Factor, not an automatic short-runway cap.
Turnarounds
Show two versions:
| Scenario | Treatment |
|---|---|
| Base case | Score current earnings power |
| Turnaround success | Score normalized profit 2-3 years out |
This avoids misclassifying a turnaround as a normal growth stock.
Position-Type Framework
| Type | TAM-PEG Traits | Position Framing |
|---|---|---|
| Core compounder | TAM-PEG 0.5-1.2 with high Quality Factor | Candidate for long-term core exposure |
| High-beta growth | TAM-PEG 0.8-1.5 with high growth and volatility | Medium exposure, track results closely |
| Turnaround | Current TAM-PEG high, success-case TAM-PEG lower | Small to medium exposure, milestone-driven |
| Option-like | PE/PEG distorted, large TAM, early execution | Small exposure, accept binary outcomes |
| Cyclical | Low PEG but discounted Quality Factor | Trade supply/demand cycle, avoid linear extrapolation |
Output Format
Use this structure for every ticker:
# TICKER: TAM-Adj-PEG 估值分析
公司:XXX
股票代码:XXX
1. 当前估值
- 当前 PE:
- Forward PE:
- 传统 PEG:
2. 增长拆解
- 未来 EPS CAGR:
- Revenue CAGR:
- TAM CAGR:
- 当前收入 / TAM:
- 高速增长 runway:
3. TAM Runway Factor
- 估计值:
- 原因:
4. Quality Factor
- 估计值:
- 加分项:
- 扣分项:
5. TAM-Adj-PEG
公式:
TAM-Adj-PEG = Forward PE / (EPS CAGR x TAM Runway Factor x Quality Factor)
计算:
- 修正后增长率:
- TAM-Adj-PEG:
6. 结论
- 估值档位:
- 主要上行驱动:
- 主要下行风险:
- 适合的仓位类型:Detailed Reference
Read references/original-framework.md when a task needs the full Chinese framework text, all scoring tables, or the original explanation of TAM-Adj-PEG logic.
interface:
display_name: "TAM-Adj-PEG"
short_description: "Adjust PEG by TAM runway and quality"
default_prompt: "Use $tam-adj-peg to evaluate a ticker's valuation with forward PE, EPS CAGR, TAM runway factor, quality factor, and position-type framing."
可以,把 TAM-Adj-PEG 总结成一个可复用的股票分析 skill。
TAM-Adj-PEG Skill
目标
传统 PEG 只回答:
当前估值相对于未来 EPS 增速贵不贵?
TAM-Adj-PEG 进一步回答:
这个增长能持续多久?TAM 是否足够大?公司能否把 TAM 增长真正变成利润?
适合分析:
- AI infra
- 半导体
- 医药
- SaaS
- 支付网络
- 高增长制造业
- 小型瓶颈供应商
- 早期反转股 / 期权股
---
一、核心公式
[ TAM\text{-}Adj\text{-}PEG=\frac{Forward\ PE}{EPS\ CAGR \times TAM\ Runway\ Factor \times Quality\ Factor} ]
也可以写成:
[ TAM\text{-}Adj\text{-}PEG=\frac{Forward\ PE}{Adjusted\ Growth} ]
其中:
[ Adjusted\ Growth = EPS\ CAGR \times TAM\ Runway\ Factor \times Quality\ Factor ]
---
二、输入项
每次分析一家公司时,至少收集:
| 输入项 | 说明 |
|---|---|
| 当前 PE / TTM PE | 判断市场表面估值 |
| Forward PE | 更重要,通常用未来 1-2 年 EPS |
| EPS CAGR | 未来 2-3 年 EPS 年化增速 |
| Revenue CAGR | 辅助判断增长真实性 |
| TAM CAGR | 行业总市场增速 |
| 当前收入 / TAM | 判断渗透率和 runway |
| 毛利率 / EBIT margin | 判断利润质量 |
| 竞争格局 | 龙头、二供、价格接受者、周期股 |
| 客户集中度 | 云厂、单一大客户、政府、渠道商 |
| 技术迭代风险 | 是否每一代都要重新验证 |
| 资本开支强度 | 扩产是否吞噬现金流 |
| 周期性 | 是否处在价格周期高点 |
| 关键里程碑 | 对早期公司尤其重要 |
---
三、TAM Runway Factor
用于修正“增长能持续多久”。
[ TAM\ Runway\ Factor = \sqrt{\frac{Growth\ Duration}{5}} ]
粗略打分:
| 高速增长可持续年限 | TAM Runway Factor | 解释 |
|---|---|---|
| 2 年 | 0.6 | 短周期增长 |
| 3 年 | 0.75 | 有增长,但 runway 短 |
| 5 年 | 1.0 | 标准成长股 |
| 8 年 | 1.25 | 长坡型成长 |
| 10 年 | 1.4 | 优质长坡厚雪 |
| 15 年 | 1.7 | 超级长周期机会 |
| 20 年+ | 2.0 上限 | 极少数超级周期/平台/垄断资产 |
注意:不要把 TAM CAGR 直接加到 EPS CAGR 上,因为 EPS CAGR 通常已经部分反映了 TAM 扩张。TAM 更应该影响的是 runway 和确定性。
注意:不要按行业标签机械分配 runway。AI 浪潮下的半导体瓶颈环节,如果需求是结构性扩张、公司掌握难复制的 choke point、且每一代技术迭代都强化其位置,可以给 15-20 年甚至 20 年+ 的超级周期 runway。反过来,SaaS / 平台股也不能天然享受超长 runway;如果 AI 前沿模型会压缩 workflow 价值、商品化功能、削弱 seat-based pricing,或把利润池转移到模型/基础设施层,就应下调 TAM Runway Factor 或 Quality Factor。
---
四、Quality Factor
用于修正“增长能不能留在公司利润表里”。
| Quality Factor | 公司类型 |
|---|---|
| 0.3-0.5 | 早期公司、亏损、订单未兑现、强稀释风险 |
| 0.5-0.7 | 周期股、客户集中、执行风险高 |
| 0.7-0.9 | 高增长但竞争激烈、利润率不稳定 |
| 0.9-1.1 | 正常优质成长股 |
| 1.1-1.3 | 强壁垒、强定价权、客户粘性高 |
| 1.3-1.5 | 垄断型、平台型、生态型资产 |
| 1.5+ | 极少数超级平台或 AI 时代瓶颈资产,谨慎使用 |
Quality Factor 主要看 9 个问题
1. TAM 增长能不能落到这家公司?
比如 AI 数据中心增长,不等于所有供应商都赚钱。要看它是不是瓶颈。
2. 公司是否有定价权?
有定价权的增长比纯出货量增长更值钱。
3. 客户是否集中?
单一大客户占比高,要打折。
4. 技术迭代是否频繁?
比如光模块、ASIC、消费电子零部件,每一代都要重新验证,Quality Factor 要打折。
5. 毛利率是否可持续?
如果 EPS 增长主要来自价格周期或毛利率高点,要打折。
6. 资本开支是否沉重?
如果增长需要大量 capex,估值容忍度要降低。
7. 竞争对手是否容易追上?
如果二供、三供快速进入,TAM 增长会被分走。
8. 增长是否依赖融资或增发?
早期公司如果要靠不断融资兑现 TAM,Quality Factor 必须大幅打折。
9. AI 前沿模型是否会侵蚀产品价值?
对 SaaS / 平台型公司尤其要看:AI 模型是否会替代原有 workflow、商品化功能模块、削弱按席位收费、降低切换成本,或让利润池转移到模型层 / 基础设施层。如果答案是肯定的,不能因为公司叫 SaaS 或平台就给超长 runway。
---
五、传统 PEG 和 TAM-Adj-PEG 的区别
| 指标 | 公式 | 适合回答 |
|---|---|---|
| PE | 市值 / 利润 | 当前贵不贵 |
| PEG | PE / EPS 增速 | 估值相对增速贵不贵 |
| TAM-Adj-PEG | PE / 修正后增长率 | 增长速度、持续性、质量综合后贵不贵 |
传统 PEG 容易犯两个错:
1. 低估长坡厚雪公司 例如英伟达、台积电、LLY,PE 高但增长持续性强。
2. 高估周期高点公司 例如内存、航运、部分材料股,EPS 暴涨但持续时间有限。
---
六、结果解释
| TAM-Adj-PEG | 判断 |
|---|---|
| < 0.5 | 极便宜,但要确认预测没有过度乐观 |
| 0.5-0.8 | 明显有吸引力 |
| 0.8-1.2 | 合理偏便宜 |
| 1.2-1.8 | 合理偏贵,需要继续兑现 |
| 1.8-2.5 | 偏贵,除非是超级长坡 |
| > 2.5 | 很贵,或 EPS/PE 口径失真 |
| 不适用 | 亏损、早期、盈利波动太大,需改用期权框架 |
---
七、特殊公司处理
1. 亏损公司
比如 LMND、SIVE、AAOI 早期阶段、Intel 某些阶段。
处理方式:
- 不直接用 PE。
- 标注:PE/PEG 失真。
- 用正常化 EPS 或 EV/Sales 辅助。
- 重点看关键里程碑。
格式:
| 项目 | 处理 |
|---|---|
| 当前 PE | 不适用 |
| 传统 PEG | 不适用 |
| TAM-PEG | 用正常化利润或里程碑情景估算 |
| 结论 | 期权型,不按普通成长股买 |
---
2. 周期股
比如海力士、美光、材料、航运、能源。
处理方式:
- 不能用当年 EPS 高点。
- 用 normalized EPS。
- Quality Factor 打折。
- TAM runway 可以加分,但周期性必须扣分。
- 对 AI 半导体超级周期,要把“结构性需求 runway”和“库存 / 扩产 / 毛利率周期”拆开看:如果公司是长期瓶颈,可以给较长 TAM Runway Factor;周期性主要通过 normalized EPS 和 Quality Factor 扣分,而不是机械限制 runway。
---
3. 反转股
比如 Intel、NVO 某些阶段。
处理方式:
拆成两个版本:
基准版
按当前盈利能力算。
反转成功版
按 2-3 年后正常化利润算。
例如:
| 情景 | TAM-PEG |
|---|---|
| 当前基准版 | 2.0+ |
| 反转成功版 | 0.8-1.5 |
这样可以避免把反转股误判为成长股。
---
八、标准输出模板
以后你给我一个股票代码,我可以按这个模板输出:
公司:XXX
股票代码:XXX
1. 当前估值
- 当前 PE:
- Forward PE:
- 传统 PEG:
2. 增长拆解
- 未来 EPS CAGR:
- Revenue CAGR:
- TAM CAGR:
- 当前收入 / TAM:
- 高速增长 runway:
3. TAM Runway Factor
- 估计值:
- 原因:
4. Quality Factor
- 估计值:
- 加分项:
- 扣分项:
5. TAM-Adj-PEG
公式:
TAM-Adj-PEG = Forward PE / (EPS CAGR × TAM Runway Factor × Quality Factor)
计算:
- 修正后增长率:
- TAM-Adj-PEG:
6. 结论
- 估值档位:
- 主要上行驱动:
- 主要下行风险:
- 适合的仓位类型:---
九、仓位解释框架
| 类型 | TAM-PEG 特征 | 仓位方式 |
|---|---|---|
| 核心复利仓 | TAM-PEG 0.5-1.2,Quality 高 | 可作为长期核心仓 |
| 高 beta 成长仓 | TAM-PEG 0.8-1.5,增速高但波动大 | 中等仓位,跟踪业绩 |
| 反转仓 | 当前 TAM-PEG 高,成功后下降 | 小到中仓位,看里程碑 |
| 期权仓 | PE/PEG 失真,TAM 大但兑现早 | 小仓位,允许归零/多倍 |
| 周期仓 | PEG 很低但 Quality 打折 | 看供需周期,不长期线性外推 |
---
十、最重要的判断原则
TAM-Adj-PEG 不是为了让所有高 TAM 公司看起来便宜。
它真正要区分的是:
| 公司类型 | 判断 |
|---|---|
| TAM 大、公司能捕获、利润率高 | 可以给高估值 |
| TAM 大、但竞争激烈 | 要打折 |
| TAM 大、但还没订单 | 期权,不按成长股买 |
| EPS 高增、但 TAM 不扩张 | 可能是周期高点 |
| PE 高、但 runway 很长 | 可能被传统 PEG 低估 |
| PE 低、但增长不可持续 | 可能是价值陷阱 |
一句话版:
TAM-Adj-PEG = 用 TAM 的持续性和增长质量,修正传统 PEG 对“增长”的粗暴理解。