comps-analysis
它能做什么
这个技能引导 AI 智能体制作一个电子表格,将一家公司与类似的上市公司进行比较。适合需要用同行基准进行估值的投资者和银行家。
适用场景
- ✓当你需要将一家上市公司与其行业同行进行估值的时候。
- ✓当你想看一家公司相对于其他公司是被高估还是被低估的时候。
- ✓当你在为 IPO 或融资轮定价,需要一组同行公司的时候。
技能链接
https://github.com/anthropics/financial-services/blob/main/plugins/agent-plugins/market-researcher/skills/comps-analysis/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请为这家软件公司制作可比公司分析,对比五家类似的上市同行,并列出估值倍数?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会为每家同行收集经营数据和估值倍数,优先使用已连接的财务数据服务,而不是一般的网络搜索。然后它把这些数据放入电子表格,并计算统计基准。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Comparable Company Analysis
⚠️ CRITICAL: Data Source Priority (READ FIRST)
ALWAYS follow this data source hierarchy:
- FIRST: Check for MCP data sources - If S&P Kensho MCP, FactSet MCP, or Daloopa MCP are available, use them exclusively for financial and trading information
- DO NOT use web search if the above MCP data sources are available
- ONLY if MCPs are unavailable: Then use Bloomberg Terminal, SEC EDGAR filings, or other institutional sources
- NEVER use web search as a primary data source - it lacks the accuracy, audit trails, and reliability required for institutional-grade analysis
Why this matters: MCP sources provide verified, institutional-grade data with proper citations. Web search results can be outdated, inaccurate, or unreliable for financial analysis.
Overview
This skill teaches Claude to build institutional-grade comparable company analyses that combine operating metrics, valuation multiples, and statistical benchmarking. The output is a structured Excel/spreadsheet that enables informed investment decisions through peer comparison.
Reference Material & Contextualization:
An example comparable company analysis is provided in examples/comps_example.xlsx. When using this or other example files in this skill directory, use them intelligently:
DO use examples for:
- Understanding structural hierarchy (how sections flow)
- Grasping the level of rigor expected (statistical depth, documentation standards)
- Learning principles (clear headers, transparent formulas, audit trails)
DO NOT use examples for:
- Exact reproduction of format or metrics
- Copying layout without considering context
- Applying the same visual style regardless of audience
ALWAYS ask yourself first:
- "Do you have a preferred format or should I adapt the template style?"
- "Who is the audience?" (Investment committee, board presentation, quick reference, detailed memo)
- "What's the key question?" (Valuation, growth analysis, competitive positioning, efficiency)
- "What's the context?" (M&A evaluation, investment decision, sector benchmarking, performance review)
Adapt based on specifics:
- Industry context: Big tech mega-caps need different metrics than emerging SaaS startups
- Sector-specific needs: Add relevant metrics early (e.g., cloud ARR, enterprise customers, developer ecosystem for tech)
- Company familiarity: Well-known companies may need less background, more focus on delta analysis
- Decision type: M&A requires different emphasis than ongoing portfolio monitoring
Core principle: Use template principles (clear structure, statistical rigor, transparent formulas) but vary execution based on context. The goal is institutional-quality analysis, not institutional-looking templates.
User-provided examples and explicit preferences always take precedence over defaults.
Core Philosophy
"Build the right structure first, then let the data tell the story."
Start with headers that force strategic thinking about what matters, input clean data, build transparent formulas, and let statistics emerge automatically. A good comp should be immediately readable by someone who didn't build it.
⚠️ CRITICAL: Formulas Over Hardcodes + Step-by-Step Verification
Environment — Office JS vs Python:
- If running inside Excel (Office Add-in / Office JS): Use Office JS directly (
Excel.run(async (context) => {...})). Write formulas viarange.formulas = [["=E7/C7"]], notrange.values. No separate recalc step — Excel handles it natively. Userange.format.*for colors/fonts. - If generating a standalone .xlsx file: Use Python/openpyxl. Write
cell.value = "=E7/C7"(formula string). - Same principles either way — just translate the API calls.
- Office JS merged cell pitfall: Do NOT call
.merge()then set.valueson the merged range (throwsInvalidArgument— range still reports its pre-merge dimensions). Instead write the value to the top-left cell alone, then merge + format the full range:ws.getRange("A1").values = [["TECHNOLOGY — COMPARABLE COMPANY ANALYSIS"]]; const hdr = ws.getRange("A1:H1"); hdr.merge(); hdr.format.fill.color = "#1F4E79"; hdr.format.font.color = "#FFFFFF"; hdr.format.font.bold = true;
Formulas, not hardcodes:
- Every derived value (margin, multiple, statistic) MUST be an Excel formula referencing input cells — never a pre-computed number pasted
常见问题
财务数据从哪里来?
技能优先使用已连接的财务数据服务,并表示一般网络搜索不应作为主要来源。
它可以用于 IPO 定价吗?
可以。技能将为 IPO 或融资轮定价列为其用途之一。
它包含示例吗?
包含。技能附有一个示例工作簿,用于理解其版式。
详情
作者的原始描述
Build institutional-grade comparable company analyses with operating metrics, valuation multiples, and statistical benchmarking in Excel/spreadsheet format. **Perfect for:** - Public company valuation (M&A, investment analysis) - Benchmarking performance vs. industry peers - Pricing IPOs or funding rounds - Identifying valuation outliers (over/under-valued) - Supporting investment committee presentations - Creating sector overview reports **Not ideal for:** - Private companies without comparable public peers - Highly diversified conglomerates - Distressed/bankrupt companies - Pre-revenue start
热度
- GitHub 星标
- 41k
- 排名
- #6574
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/28
评论
- …