comps

comps is a command for Claude Code from anthropics/financial-services. It costs 8 tokens per session (1,118 once invoked), scanned A, original, Apache-2.0.

A comparable-company analysis that values a business by comparing it with similar public companies. It includes business performance measures, valuation ratios, and statistical comparisons.

In plain words
What is it for?
Use it to compare a company with four to six peers for valuation, growth, efficiency, or board and investment discussions.
Why use it?
It removes the manual work of choosing peers, collecting comparison data, and summarizing the results. Valuation ratios such as EV/EBITDA compare company value with earnings before interest, taxes, depreciation, and amortization.

Command for Claude Code ✓ vendor

Written for Claude Code: argument-hint in frontmatter.

Part of the financial-analysis plugin — 3 skills, 7 commands shipped together

Good fit Use it to compare a company with four to six peers for valuation, growth, efficiency, or board and investment discussions.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/anthropics/financial-services/comps
About the project

Claude for Financial Services is a collection of agents, skills, commands, plugins, and data connectors for investment banking, equity research, private equity, and wealth-management workflows. Financial professionals use it to draft models, memos, research notes, and reconciliations for review by qualified people. The catalogue contains components from these workflows, including agents, skills, plugins, commands, and instructions.

anthropics/financial-services · 34,808 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/anthropics/financial-services

Made for: Claude Code.

Or install financial-analysis, the plugin that ships this one along with the rest of its 3 skills, 7 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for comps

README.md
[![agentmods](https://agentmods.dev/badge/commands/anthropics/financial-services/comps/github.svg)](https://agentmods.dev/commands/anthropics/financial-services/comps)
Your own site
<a href="https://agentmods.dev/commands/anthropics/financial-services/comps"><img src="https://agentmods.dev/badge/commands/anthropics/financial-services/comps/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for comps

Your own site · 80×15
<a href="https://agentmods.dev/commands/anthropics/financial-services/comps"><img src="https://agentmods.dev/badge/commands/anthropics/financial-services/comps.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,118 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00008 $0.01118
Opus 5 $0.00004 $0.00559
Sonnet 5 $0.00002 $0.00224
Haiku 4.5 $0.00001 $0.00112

Measured yesterday against content hash 88a71a5c60a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

comps scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • comps — 100% identical, 0 lines differ
plugins/vertical-plugins/financial-analysis/commands/comps.md · 110 lines

How it starts

The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Comparable Company Analysis Command

Build an institutional-grade comparable company analysis with operating metrics, valuation multiples, and statistical benchmarking.

Workflow

Step 1: Gather Company Information

If a company name or ticker is provided, use it. Otherwise ask:

  • "What company would you like to analyze?"

Step 2: Load Comps Analysis Skill

Use skill: "comps-analysis" to build the analysis:

  1. Clarify the analysis purpose:

    • "What's the key question?" (valuation, efficiency, growth comparison)
    • "Who is the audience?" (IC, board, quick reference)
    • "Do you have a preferred format or template?"
  2. Identify peer group (4-6 comparable companies):

    • Similar business model
    • Similar scale/market cap range
    • Same industry/sector
    • Geographic comparability
  3. Gather data (prioritize MCP sources if available):

    • Operating metrics: Revenue, Growth, Gross Margin, EBITDA, EBITDA Margin
    • Valuation: Market Cap, Enterprise Value, EV/Revenue, EV/EBITDA, P/E
    • Additional metrics based on industry (Rule of 40 for SaaS, etc.)
  4. Build the analysis:

    • Operating Statistics section with company data + statistics (Max, 75th, Median, 25th, Min)
    • Valuation Multiples section with same statistical summary
    • Notes & Methodology documentation

Step 3: Create Excel Output

Generate Excel file with:

  • Header block (analysis title, companies, date, units)
  • Operating Statistics & Financial Metrics section
  • Valuation Multiples section
  • Statistical summary for each metric
  • Notes section documenting sources and methodology

Step 4: Deliver Output

Provide:

  1. Excel file (.xlsx) - the comps analysis
  2. Summary highlighting:
    • Peer group selection rationale
    • Key insights (who trades at premium/discount)
    • Median multiples for reference

Output Format Reference

┌─────────────────────────────────────────────────────────────────┐
│ [SECTOR] - COMPARABLE COMPANY ANALYSIS                          │
│ [Company 1] • [Company 2] • [Company 3] • [Company 4]          │
│ As of [Date] | All figures in USD Millions                      │
├─────────────────────────────────────────────────────────────────┤
│ OPERATING STATISTICS & FINANCIAL METRICS                        │
├──────────┬─────────┬─────────┬──────────┬─────────┬────────────┤
│ Company  │ Revenue │ Growth  │ Gross    │ EBITDA  │ EBITDA     │
│          │ (LTM)   │ (YoY)   │ Margin   │ (LTM)   │ Margin     │
├──────────┼─────────┼─────────┼──────────┼─────────┼────────────┤
│ [Data rows for each company]                                    │
│                                                                 │
│ Maximum  │ =MAX    │ =MAX    │ =MAX     │ =MAX    │ =MAX       │
│ 75th %   │ =QUART  │ =QUART  │ =QUART   │ =QUART  │ =QUART     │
│ Median   │ =MEDIAN │ =MEDIAN │ =MEDIAN  │ =MEDIAN │ =MEDIAN    │
│ 25th %   │ =QUART  │ =QUART  │ =QUART   │ =QUART  │ =QUART     │
│ Minimum  │ =MIN    │ =MIN    │ =MIN     │ =MIN    │ =MIN       │
├─────────────────────────────────────────────────────────────────┤
│ VALUATION MULTIPLES                                             │
├──────────┬──────────┬──────────┬──────────┬───────────┬────────┤
│ Company  │ Mkt Cap  │ EV       │ EV/Rev   │ EV/EBITDA │ P/E    │
├──────────┼──────────┼──────────┼──────────┼───────────┼────────┤
│ [Data rows + statistics]                                        │
└─────────────────────────────────────────────────────────────────┘

Read the full file on GitHub · 110 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 110 lines · 8 tokens per session scan A 88a71a5c60a7

Subscribe to this mod's changes

comps is a command published in the GitHub repository anthropics/financial-services (34,808 stars, last pushed yesterday), licensed Apache-2.0. It adds 8 tokens to every session and 1,118 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-12.