comp-ratio-analyzer

comp-ratio-analyzer is a skill for Claude Code, Codex from trycomp-io/comp-skills. It costs 145 tokens per session (1,587 once invoked), scanned A, original, MIT.

A salary comparison report that measures each employee's pay against the middle of their level's pay range. Compa-ratio means salary divided by that midpoint.

In plain words
What is it for?
Use it to find pay outliers, compare compensation by level, and produce an executive HTML report with monthly and yearly adjustment costs.
Why use it?
It shows where pay is below, near, or above the expected midpoint and estimates the cost of bringing lower-paid employees up to it. It requires a roster and salary bands with levels and midpoints.

Skill for Claude CodeCodex

Part of the comp-skills plugin — 37 skills 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 skills/trycomp-io/comp-skills/comp-ratio-analyzer
Any agent
npx skills add trycomp-io/comp-skills --skill comp-ratio-analyzer
Clone the repo
git clone --depth 1 https://github.com/trycomp-io/comp-skills

Made for: Claude Code, Codex.

Or install comp-skills, the plugin that ships this one along with the rest of its 37 skills.

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 comp-ratio-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/skills/trycomp-io/comp-skills/comp-ratio-analyzer.svg)](https://agentmods.dev/skills/trycomp-io/comp-skills/comp-ratio-analyzer)
Your own site
<a href="https://agentmods.dev/skills/trycomp-io/comp-skills/comp-ratio-analyzer"><img src="https://agentmods.dev/badge/skills/trycomp-io/comp-skills/comp-ratio-analyzer.svg" alt="Measured on agentmods" height="20"></a>
Per session 145 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,587 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.00145 $0.01587
Opus 5 $0.00072 $0.00794
Sonnet 5 $0.00029 $0.00317
Haiku 4.5 $0.00015 $0.00159

Measured 5d ago against content hash 4188dc245bc8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

comp-ratio-analyzer 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.

The scan reads SKILL.md. This mod also ships 2 executable files (eam_client.py, scripts/comp_ratio.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/comp-ratio-analyzer/SKILL.md · 129 lines

How it starts

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

Dual-mode operation (Code + Cowork)

HTML pelo design system (obrigatório). Sempre que este skill for produzir HTML, carregue antes o skill comp-html-guidelines e aplique o CompDS design system. Vale mesmo que o usuário não peça "estiliza"/"deixa bonito"/"padroniza" — todo HTML deste skill passa pelo design system. Isso não altera a metodologia abaixo; governa só a camada visual do HTML.

Detect platform at start:

  • If you have the Bash tool AND can run Python → use script mode (deterministic, writes the rich HTML report). This is the existing workflow below.
  • Otherwise (e.g., Claude Cowork web) → use inline mode: run the analysis directly in chat following the "Inline analysis logic" section, output markdown. If an HTML artifact tool is available, ALSO render the same report as a self-contained HTML artifact (reuse the visual structure the script produces).

Both modes apply the same methodology and the same privacy rules.

Inline analysis logic (Cowork mode)

Como o usuário fornece os dados

  • Precisa de DUAS entradas: (1) roster com colunas name, salary, level (opcional area); (2) bandas com colunas level, mid (mediana). Cole as duas tabelas no chat ou anexe dois CSVs.
  • Roster grande (>~50 linhas) é difícil de processar manualmente, então sugira rodar em Claude Code (script mode).
  • Salário em formato brasileiro (. milhar, , decimal) deve ser convertido pra número.

Metodologia (fixa, idêntica ao script)

  1. Para cada colaborador: precisa de salário, nível, e o nível tem que existir na tabela de bandas com mid > 0. Senão, a linha é ignorada na análise.
  2. Compa ratio = salário ÷ mid (arredonde a 3 casas).
  3. Classificação:
Faixa Compa ratio Interpretação
under <0,80 Crítico: revisão urgente
below 0,80–0,95 Abaixo do target
at 0,95–1,05 No target
above 1,05–1,20 Acima do target (ok)
over >1,20 Crítico: provável legacy/exceção
  1. Custo mensal pra equalizar = soma de (mid − salário) para TODOS com ratio < 1.0 (abaixo da mediana).
  2. Custo anual com encargos = custo_mensal × 12 × 1,555.
  3. Por nível: compa ratio médio, mínimo e máximo.
  4. Top 10 under (menores ratios) e top 10 over (maiores ratios), com gap = salário − mid.

Read the full file on GitHub · 129 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 129 lines · 145 tokens per session scan A 4188dc245bc8

Subscribe to this mod's changes

comp-ratio-analyzer is a skill published in the GitHub repository trycomp-io/comp-skills (2 stars, last pushed 3mo ago), licensed MIT. It adds 145 tokens to every session and 1,587 once invoked, about $0.0007 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-31.

Related

Other skills, from other repositories

contingencia-report

Gera relatórios estruturados de contingência jurídica para uso em balanços, auditoria e compliance. Use quando o usuário precisar classificar processos por probabilidade de perda (provável/possível/remota) conforme CPC art. 95-96 e IAS 37 / CPC 25, calcular impacto financeiro no passivo contingente, ou preparar…

autodevx/legal-skills · 107 tokens

Classificação de Risco e Provisão (CPC 25)

Classifica o risco de cada processo judicial como Provável, Possível ou Remoto conforme CPC 25 e calcula o valor de provisão contábil recomendado, com memória de cálculo auditável para reporte ao financeiro e auditoria externa.

autodevx/legal-skills · 63 tokens

Revisão de Fatura Jurídica (Billing Guidelines)

Revisa faturas de escritórios externos contra as billing guidelines da organização, identificando linhas não conformes (horas excessivas, atividades não faturáveis, profissionais não aprovados) e calculando o valor a glosar com justificativa por linha.

autodevx/legal-skills · 64 tokens

irpf-brasil

Use para declaração de IRPF guiada passo a passo, análise de pré-preenchida, cálculo de imposto, deduções, bens e direitos, rendimentos, restituição, malha fina, carnê-leão. Conduz o usuário como se estivesse declarando de verdade.

AlissonSantos1/brasil-legal-skills · 63 tokens

design-compensation-structure

Use when building or redesigning a salary band structure, total rewards framework, or compensation philosophy for an organization.

jeffreytse/grimoire-core · 27 tokens

fiscaliste

Fiscaliste IA pour la fiscalité personnelle des particuliers français : optimisation et déclaration de l'impôt sur le revenu, IFI, revenus du capital, revenus fonciers, equity salarial, crypto-actifs et PER. Couvre le calcul de l'IR (barème, quotient familial, décote, PAS, CEHR, revenus exceptionnels), la déclaration…

romainsimon/paperasse · 302 tokens