comps-analysis
What it does
This skill guides the AI agent through building a spreadsheet that compares a company with similar public companies. It is for investors and bankers who need a peer benchmark for valuation.
When to use it
- ✓When you need to value a public company against its industry peers.
- ✓When you want to see whether a company looks over or under valued compared with others.
- ✓When you are pricing an IPO or funding round and need a peer set.
Skill link
https://github.com/anthropics/financial-services/blob/main/plugins/agent-plugins/market-researcher/skills/comps-analysis/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Build a comparable company analysis for this software company against five similar public peers, with valuation multiples.”
5 new skills a week. 1 minute to read.
How it works
The agent gathers operating figures and valuation multiples for each peer, preferring connected financial data services over general web search. It then places them in a spreadsheet with statistical benchmarks.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
Where does the financial data come from?
The skill prefers connected financial data services, and says general web search should not be the main source.
Can it be used for IPO pricing?
Yes. The skill lists pricing IPOs or funding rounds as one of its uses.
Does it include an example?
Yes. The skill includes an example workbook that it uses to understand the layout.
Details
Original description by the author
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
Popularity
- GitHub stars
- 41k
- Ranking position
- #6574
- License
- Apache-2.0
- Updated
- 10/28/2026
Comments
- …
More skills from this repository
audit-xls
41kHelps your agent check a spreadsheet for formula errors, typed-in numbers, and broken links, for a range, a sheet, or a whole model.
earnings-analysis
41kHelps your agent write a short earnings update on a company's quarterly results, covering beat or miss, key numbers, and the revised view.
earnings-preview
41kHelps your agent prepare before a company reports earnings, with metrics to watch, bull and bear scenarios, and key catalysts.
model-update
41kHelps your agent update a financial model with new results, guidance, or assumptions, then flag the changes that matter most.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.