comps-analysis

comps-analysis is a skill for Claude Code, Codex from aivrar/portable-hermes-agent. It costs 13 tokens per session (7,304 once invoked), scanned A, a copy of comps-analysis, MIT.

A guide for building Excel workbooks that compare publicly traded companies for valuation. Comparable-company analysis estimates a company’s value by comparing it with similar businesses using financial and trading data.

In plain words
What is it for?
Creating .xlsx valuation models, selecting financial data sources, adding formulas and comparison tables, and checking the finished workbook.
Why use it?
It sets rules for using reliable institutional data and for producing recalculated spreadsheets with consistent formulas and sensitivity tables.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Creating .xlsx valuation models, selecting financial data sources, adding formulas and comparison tables, and checking the finished workbook.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aivrar/portable-hermes-agent/comps-analysis
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.

Any agent
npx skills add aivrar/portable-hermes-agent --skill comps-analysis
Clone the repo
git clone --depth 1 https://github.com/aivrar/portable-hermes-agent

Made for: Claude Code, Codex.

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-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/aivrar/portable-hermes-agent/comps-analysis/github.svg)](https://agentmods.dev/skills/aivrar/portable-hermes-agent/comps-analysis)
Your own site
<a href="https://agentmods.dev/skills/aivrar/portable-hermes-agent/comps-analysis"><img src="https://agentmods.dev/badge/skills/aivrar/portable-hermes-agent/comps-analysis/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-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/aivrar/portable-hermes-agent/comps-analysis"><img src="https://agentmods.dev/badge/skills/aivrar/portable-hermes-agent/comps-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,304 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 100% copy Near-identical to another mod 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.00013 $0.07304
Opus 5 $0.00006 $0.03652
Sonnet 5 $0.00003 $0.01461
Haiku 4.5 $0.00001 $0.00730

Measured 9d ago against content hash dcc2e6a91c58, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

comps-analysis 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 9d 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.

Origin

This is a copy

100% identical to comps-analysis — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

optional-skills/finance/comps-analysis/SKILL.md · 663 lines

How it starts

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

Environment

This skill assumes headless openpyxl — you are producing an .xlsx file on disk. Follow the excel-author skill's conventions for cell coloring, formulas, named ranges, and sensitivity tables. Recalculate before delivery: python /path/to/excel-author/scripts/recalc.py ./out/model.xlsx.

Comparable Company Analysis

⚠️ CRITICAL: Data Source Priority (READ FIRST)

ALWAYS follow this data source hierarchy:

  1. 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
  2. DO NOT use web search if the above MCP data sources are available
  3. ONLY if MCPs are unavailable: Then use Bloomberg Terminal, SEC EDGAR filings, or other institutional sources
  4. 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 the agent 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

Read the full file on GitHub · 663 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. 9d ago First seen · 663 lines · 13 tokens per session scan A dcc2e6a91c58

Subscribe to this mod's changes

comps-analysis is a skill published in the GitHub repository aivrar/portable-hermes-agent (216 stars, last pushed 2d ago), licensed MIT. It adds 13 tokens to every session and 7,304 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to comps-analysis, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

document-exports

Generate and TEST downloadable document exports (PDF/CSV) from a Node/Express backend — pdfkit streaming, CSV BOM, cents formatting, and the supertest/pdfkit pitfalls that silently break tests.

pedroiff0/awesome-skills · 44 tokens

comps-analysis

Build comparable company analysis in Excel — operating metrics, valuation multiples, statistical benchmarking vs peer sets. Pairs with excel-author. Use for public-company valuation, IPO pricing, sector benchmarking, or outlier detection.

cyborg-garden/hermes-agent-mt · 46 tokens

officecli-financial-model

Use this skill when the user wants to build a financial model, 3-statement model, DCF valuation, cap table, scenario analysis, or financial projections in Excel. Trigger on: 'financial model', '3-statement model', 'DCF', 'cap table', 'pro forma', 'projections', 'sensitivity analysis', 'waterfall', 'debt schedule'…

CES-Ltd/TitanX · 136 tokens

lbo-model

Build leveraged buyout models in Excel — sources & uses, debt schedule, cash sweep, exit multiple, IRR/MOIC sensitivity. Pairs with excel-author. Use for PE screening, sponsor-case valuation, or illustrative LBO in a pitch.

cyborg-garden/hermes-agent-mt · 55 tokens

excel-author

Build auditable Excel workbooks headless with openpyxl — blue/black/green cell conventions, formulas over hardcodes, named ranges, balance checks, sensitivity tables. Use for financial models, audit outputs, reconciliations.

cyborg-garden/hermes-agent-mt · 50 tokens

dcf-model

Build institutional-quality DCF valuation models in Excel — revenue projections, FCF build, WACC, terminal value, Bear/Base/Bull scenarios, 5x5 sensitivity tables. Pairs with excel-author. Use for intrinsic-value equity analysis.

cyborg-garden/hermes-agent-mt · 53 tokens