comps

comps is a command for coding agents from yuping322/financial-services-plugins-new. It costs 8 tokens per session (1,118 once invoked), scanned A, original, Apache-2.0.

A command that compares a company with similar public companies using business measures and stock-market valuation ratios. This is called comparable company analysis.

In plain words
What is it for?
Use it to compare four to six similar companies by measures such as revenue growth, margins, market value, enterprise value, EV-to-revenue, EV-to-EBITDA, and price-to-earnings.
Why use it?
It organizes peer selection, financial data, and statistical comparisons so a company’s valuation or operating performance can be assessed against its peers.

Command

Part of the financial-analysis plugin — 9 skills, 8 commands, 11 MCP servers shipped together

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.

agentmods
npx agentmods add commands/yuping322/financial-services-plugins-new/comps
Clone the repo
git clone --depth 1 https://github.com/yuping322/financial-services-plugins-new

Or install financial-analysis, the plugin that ships this one along with the rest of its 9 skills, 8 commands, 11 MCP servers.

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/yuping322/financial-services-plugins-new/comps.svg)](https://agentmods.dev/commands/yuping322/financial-services-plugins-new/comps)
Your own site
<a href="https://agentmods.dev/commands/yuping322/financial-services-plugins-new/comps"><img src="https://agentmods.dev/badge/commands/yuping322/financial-services-plugins-new/comps.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00008 $0.01118
Opus 5 $0.00004 $0.00559
Sonnet 5 $0.00002 $0.00224
Haiku 4.5 $0.00001 $0.00112

Measured 5d ago against content hash 88a71a5c60a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d ago.

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.

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. 5d ago 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 yuping322/financial-services-plugins-new (17 stars, last pushed 5mo ago), 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-08-30.